Repository navigation
古いツールが書いた manifest の項目でも、通常の Push で強制 Push の版を埋める - #103
Merged
Merged
Conversation
LastForcedVersion が null の項目の上に通常の Push をするときは、前の項目の版で 強制 Push があったと見なしてその版を書く。通常の Push はその版を Pull 済みか マージ済みの PC だけが通すので、古いツールの強制 Push があったとしてもその版以前にある。 null のまま引き継ぐと、全 PC のツールを更新してもマージが中止し続けていた。 Closes #93 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WFzzsAUmJanw4sPZhWYKoo
limit7412
marked this pull request as ready for review
November 28, 2026 04:24
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by 回路 · project thread
Closes #93
概要
LastForcedVersionが null の項目 (この項目を知らない古い版のツールが書いたもの) の上に通常の Push をするとき、null を引き継ぐ代わりに前の項目の版を書きます。前の項目の版で強制 Push があったと見なす扱いです。これまでは全 PC のツールを更新しても null のままで、マージは毎回中止していました。なぜ安全か
通常の Push を通すのは、前の項目の版を Pull 済みかマージ済みの PC だけです (manifest の保存も、その版のままであることを条件にしています)。古いツールの強制 Push があったとしても前の項目の版以前にあるので、新しい版はその版の内容を取り込んでいると言えます。
その結果、マージの判定は次のようになります。
#90 のレビューでは「0 にすると古いツールの強制 Push の有無を後から確かめられなくなる」として null を引き継いでいました。0 にすると、古い要約を持つ PC が誤ってマージできてしまうのが問題でした。前の項目の版を書く場合は、確かめられない範囲 (その版以前) をすべて強制 Push があったものとして扱うので、この懸念は当たりません。null のままのときにマージを中止していた PC は、すべて引き続き中止します。
変更
ManifestStore.NextLastForcedVersionに、新しい項目のLastForcedVersionを決める処理をまとめ、VRCX と Friend Connect の Push の両方から使う。ToolManifestEntry.LastForcedVersionのドキュメントを新しい扱いに合わせる。確認
この環境には .NET SDK が無く、ネットワークの制限で入れられなかったため、ビルドとテストは CI (windows-latest) の結果で確かめます。
Generated by Claude Code