Repository navigation
fix(usage): preserve source-aware cache evidence across attempts - #7485
Closed
yuanyuanlove wants to merge 1 commit into
Closed
yuanyuanlove wants to merge 1 commit into
yuanyuanlove wants to merge 1 commit into
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
✅ Deterministic PR hygiene checks passed. |
Contributor
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This PR stays in draft until every box above is ticked. |
Owner
|
Thank you for the work here. We're closing this to keep the review queue manageable: it conflicts with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
No routing, compression, provider policy or performance claim is included. This is an accounting correctness change, independent of the optional continuation-diagnostics enhancement.
Verification
All implementation, tests and compilation ran in an isolated Linux cloud workspace with Bun 1.4.3. No live model/provider calls were made; transport fixtures use synthetic upstreams.
bun run typecheck,bun run privacy:scan,bun run structure:checkpassed.bun test tests/test-layout.test.ts tests/test-layout-tooling.test.ts tests/ci-workflows/file-size-ratchet.test.ts tests/lab/core-lab-boundary.test.ts: 61 passed; no ratchet caps raised.bun build src/cli/index.ts --target bunand nativebun build src/cli/index.ts --compilesucceeded. The compiled CLI's isolated--versionsmoke returnedopencodex 2.91.0. This is backend/CLI compilation, not a GUI or release-package build.ASTRO_TELEMETRY_DISABLED=1 OPENCODEX_DOCS_OFFLINE=1 bun run buildfromdocs-site: 585 pages, 83,068 internal links checked.git diff --checkpassed. A disposable union with the independent optional-diagnostics branch passed focused tests, type/privacy/structure/layout/ratchet checks and native compilation; two adjacent diagnostic/doc conflicts were resolved there by retaining both changes, not in either independent PR branch.Remaining coverage: keep this draft.
test:changedcould not start its selected tests because its automatic missing-GUI-dependency installation was blocked in the validation environment. Two broader existing server/compaction slices attempted inherited proxy transports before their global fetch mocks, so those runs were stopped and are not claimed passing. The full suite, packaged GUI and native macOS/Windows execution were not run. The repository's focused-validation resource/scope exception is used; current-head CI and maintainer review are still required.Related open work reviewed for overlap: #7436 (committed-child/Kiro usage evidence), #7473 (prompt-cache-key source semantics), #7308 (prefix/renewal behavior). No commits from those or existing contributor branches are included.
Checklist
Publication baseline
This unchanged 47-file candidate was validated on
d82b2173eb1c5ffb28bc145f20e24a5466910b73. Before publication,devadvanced tocf9965c3f647c45901498358e2d25ddd5df74e07via #7480 (dependency-security updates to the root/GUI manifests and lockfiles only). Those four files do not overlap this PR. The focused results above describe this tested candidate, not a rerun against the updated dependencies; current-base CI is still required.Companion optional diagnostics draft: #7479.
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.