Repository navigation
Conversation
Codex Review SummaryThis 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. |
|
Superseded by #237 (Tracker lifecycle, editing and discovery privacy) in the consolidated eight-PR stack for #162. The replacement preserves this PR's code and subsequent fixes; its description links the original head and review discussions. The only additional consolidation fix is the CI-discovered listener cancellation regression, documented on the replacement. All eight replacements have passed their required CI checks. Closing without merging. This branch and its discussions remain available for reference. Review index: #162 (comment) |
Revoke private tracker-authorized hosts before joining and draining old peers. Incoming authorization and queue insertion now share a short mutex with revocation, ensuring an old-host enqueue cannot occur after the reset drain. Incoming admission remains nonblocking and rejects on lock contention; the engine closes rejected handles.
Stacked on #213; advances #162. The session regression fails before the fix: while an old peer is held in cancellation cleanup, another connection from that host is still accepted. It now rejects old hosts during and after reset, admits the replacement tracker host, and releases all session buffer credit on shutdown. Existing pause/resume/checkpoint behavior is also tested.
This repairs the existing v1 session's private admission path. Public v2 session registration and its corresponding discovery provenance/admission integration remain separate roadmap work.
Validation: 534 JVM and 513 executed iOS simulator tests, zero failures/errors/skips; native-runtime guard and both pinned v1 conformance scenarios passed.