Repository navigation
Conversation
Publish the exact locally tested candidate tree. See the draft PR for focused validation, remaining native/operational coverage and acceptance holds.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
✅ Deterministic PR hygiene checks passed. |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
This is a fork-only draft requested by the owner. Unlike the prior turn-lifetime proposal, this does not hold cancelled client-turn slots until upstream completion. It is a count bound on unresolved refresh consumers, not a global retained-byte bound or an unconditional refresh-duration guarantee. A nonsettling refresh can occupy finite refresh capacity, so independent operational review of the 256-consumer limit remains required.
Revision
Base:
f5f73ff3970b3b238c4e2fade29ba3f64914f637.Published head:
ad6a49ef255493a6fa1db11ce29f5fca7bfcf2f5.Exact tested/published tree:
080372791545407b96f6a0a4c204e445452a9553.Changed files:
src/oauth/index.tssrc/server/responses/request-transport.tstests/oauth/oauth-refresh-generic-lock.test.tsstructure/runtime.mdThe fresh source artifact was pinned to this base; tests used the repository-selected test runner Bun 1.4.3, not an older source snapshot. Auxiliary source-export, transport and publication files are absent from the candidate tree.
Verification — actual Linux / Bun 1.4.3
Focused aggregate: 165 passed, 0 failed, 1,851 assertions across eight files.
bun test --isolate --timeout 30000 tests/oauth/oauth-refresh-generic-lock.test.ts tests/oauth/oauth-refresh.test.ts tests/oauth/oauth-status-privacy.test.ts tests/codex-integration/active-turn-disconnect.test.ts tests/codex-integration/active-registry-admission.test.ts tests/test-layout.test.ts tests/test-layout-tooling.test.ts tests/ci-workflows/file-size-ratchet.test.ts bun node_modules/typescript/bin/tsc --noEmit bun scripts/privacy-scan.ts bun scripts/structure-ssot.ts git diff --checkRoot typecheck, privacy, structure and whitespace checks passed. The existing home/credential isolation and synthetic credential stores remain enabled; no real refresh credentials or live providers were used.
New coverage retains cancelled-but-pending resolver consumers under the separate gate, rejects excess consumers while reporting no retained client turns, exercises settlement and rejection cleanup, allows a fresh different credential under refresh pressure, and invokes the production Responses handler to verify retryable capacity refusal with no inference send. Existing disconnect and admission suites are included unchanged.
Red control: with the original resolver implementation restored and the new regression assertions retained, the selected three-case run produced 1 pass and 2 failures; the fresh-credential control already passed. Restoring the correction made the final aggregate above pass. This is deterministic accounting evidence, not a full end-to-end memory-exhaustion benchmark.
Publication run
38492130949checked patch SHA-256, original preimages, the exact changed-file set and the complete resulting tree before atomically creating two new fork refs. No patched application code or dependency installation ran with its write token. This is transport verification, not another application test run.Remaining gates
Full repository/import-connected coverage, live-provider refresh behavior, a complete HTTP/WebSocket resource-exhaustion run and native Windows/macOS acceptance were not executed. Focused coverage is the repository resource exception for this isolated executor. Current-head hosted CI and independent security/operational review remain required. Pending, skipped and older-head checks are not passes.
No upstream PR, merge, installation, deployment, live credential changes or Security Cloud finding closure is performed. Keep the finding open until a correction is integrated and verified.
Checklist
Review readiness checklist
Summary by CodeRabbit