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. |
3934a3d to
04bbde6
Compare
55c8e16 to
f957d62
Compare
|
Superseded by #231 (Contracts, verification infrastructure and resource limits) 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) |
Retained metadata previously had a standalone byte counter and survived in the cache until its owner became unreachable. Cache entries now hold reservations in the shared budget until eviction, replacement, or shutdown. Results that cannot be admitted remain usable by the caller without being cached.
Stack: based on #165 (
torrent-v2-01-budgets). This is the retained-cache admission slice of roadmap #162 step 01.Validation: cache/budget tests cover LRU eviction, replacement, over-budget results, parent pressure, repeated close, canceled shared fetches, owner teardown, and structured-scope completion. Full torrent conformance and the native runtime dependency guard pass with both pinned reference clients.
Caller-owned metadata, session indexes, platform allocations, production profiles, and total-memory/performance gates remain pending. The cache weight is a conservative accounting allowance, not a process RSS measurement.