Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
|
Thermo-nuclear code-quality review (Oracle-coordinated read-only swarm) Verdict: BLOCKED pending a parser-routing fix in the stacked base. Merge-blocking finding: the inherited change at rust/src/core/jsonl_scanner/codex/helpers.rs:326 treats any raw occurrence of "turn_context" as an event candidate. In rust/src/core/jsonl_scanner/codex/parser.rs:73-88, that makes bare_candidate false; if fast-event parsing then returns None, a valid type-less usage record is silently dropped. Example: { "model": "turn_context", "usage": { "prompt_tokens": 120, "completion_tokens": 30 } }. This is a lexical heuristic crossing a mutually exclusive parser-routing boundary and can lose usage data. Concrete remedy: make candidate detection key/value exact and whitespace-tolerant, or keep the bare-usage path eligible when fast-event parsing fails; add a regression test for the example shape. The fix belongs in the stacked #488 base so #489 and #490 inherit the repaired routing. The OpenCodex numeric boundary and cache parser-version changes themselves had no high-confidence thermo blocker. |
|
Superseding thermo correction — PASS for this PR’s own diff. The earlier receipt correctly identified a real failure at the stacked head but assigned the cause to this PR. Oracle’s final adjudication confirms the blocker is inherited from #488’s parser classifier change; the OpenCodex numeric and cache changes in this PR have no independent thermo blocker. This PR remains operationally blocked until the repaired #488 base flows through the stack. |
|
Thermo follow-up: final dependency receipt. Oracle's final thermo adjudication passes #489's own diff. Its only remaining concern was inherited from the #488 base parser classifier; that base is now repaired in No #489 code change was required. Oracle post-fix verdict: PASS for the own diff, merge after #488 and after a fresh hosted-check read-back. |
25b75b0
into
port/micro-0.57.0-codex-whitespace
What changed
Ports upstream v0.57.0 commit
b1e27d266a8e1a0db991be7cf40526f12e6a4e1d(fix: reject unrepresentable numeric usage safely (#3486)) into the Windows OpenCodex spend path.2^64boundary before theu64cast while preserving exact JSON integeru64::MAX.1to the OpenCodex parse cursor and forces a full reparse for missing or mismatched versions.CACHE_SCHEMA_VERSION = 2; this is parser compatibility gating, not a cache container format change.Scope
rust/src/spend_contract/opencodex.rsrust/src/spend_contract/opencodex/cache.rsThis is a stacked micro-PR after #488, with base branch
port/micro-0.57.0-codex-whitespace. It does not change the app version, release files, CI, or later upstream versions.Validation
cargo fmt --all -- --check— passedgit diff --check— passedcargo check --manifest-path rust/Cargo.toml --tests— attempted, but blocked before test execution because this host has no MSVCcl.exe;where.exeresolves Git'susr/bin/link.exe, so rustc fails in linking.Upstream reference
b1e27d266a8e1a0db991be7cf40526f12e6a4e1dv0.56.8...v0.57.0