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) |
Private tracker failover previously announced to a replacement before awaiting old-peer cleanup. Move the callback into serialized tracker tier selection so it completes before any replacement announce. Cleanup failure or cancellation stops failover; successful cleanup is reused across failed candidates until an announce succeeds.
Stacked on #212; advances #162. Two regressions fail before this fix: a held cleanup must prevent replacement contact, and failed cleanup must not contact the replacement. Another test verifies that multiple failed candidates close the old peer set only once. Existing private preference, tracker ID isolation, and lifecycle behavior remain covered.
This fixes tracker exchange ordering for v1 and v2 discovery. The session callback still owns peer/queued-endpoint cleanup; comprehensive concurrent incoming admission and public v2 policy integration remain separate work.
Validation: 533 JVM and 512 executed iOS simulator tests, zero failures/errors/skips; native-runtime guard and both pinned v1 conformance scenarios passed.