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) |
Adds explicit budget ownership for retained tracker configuration. Admission occurs before URL parsing and snapshot allocation; invalid input releases credit, and exhausted admission returns null. Accounting covers string backing and per-entry structure overhead within the existing input bounds.
Owned handles can transfer their reservation without releasing it. The old handle becomes invalid, close is idempotent, and the transfer destination is allocated before ownership moves. Old and proposed configurations can coexist while an edit is validated or installed; discarding a failed proposal preserves the old owner.
Stacked on #217; advances #162. Tests cover snapshots, ownership transfer, failure cleanup, occupied budgets, coexistence, and worst-case accounting. This is the ownership prerequisite for retained/persistent tracker edits; integrating it into edit persistence remains separate work.
Validation at
8fd9fa984b75c35748494896a16edd40bc77024a: 559 JVM and 538 executed iOS simulator tests, zero failures/errors/skips; native-runtime guard and both pinned v1 conformance scenarios passed.