Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe tests now expect OMP resume commands to use the resolved session transcript path. The fresh-launch environment test now awaits the asynchronous augmentation result before asserting the empty environment. Priority: ⬇️ Low 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description explains the test changes, rationale, and validation results. However, it does not follow the required template fully: it omits the required Linked Issue entry in the Resolution Add the required template sections. Include a valid linked issue using ✨ Finishing Touches📝 Generate docstrings
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 |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — test-only contract alignment for OMP resume-by-transcript-path (no production code touched).
- OMP resume argv expects the recorded transcript path —
omp-transcript-metadata.test.tsnow expects['omp', '--resume', file]when the session carries atranscriptPath, matchinggetAgentResumeArgv'sompResumeFilePath || transcriptPath || idprecedence. - Relay augmenter is awaited —
omp-fresh-launch-environment.test.tsaddsawaitto the augmenter call, which can return aPromise<Record<string, string>>. The previous assertion compared a Promise to{}. - Child recovery resumes the root transcript —
omp-child-session-recovery.unit.test.tsexpects/sessions/root.jsonl(the root'sgetSessionFile) instead of theROOT_SESSIONid, pinning the #16353 behavior.
I ran the three focused files locally: 15 tests pass. The assertions are exact against the production branches, so they fail if the runtime regresses to id-based resume. The legacy id fallback stays covered by omp-transcript-metadata.test.ts:105-116 and agent-session-resume.test.ts:86,171-199.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
|
Fresh CI run 35436460489 completed. All PR-specific checks and runtime/typecheck passed; the only failing test shard is the pre-existing pane-title scan-budget test ( at ). This stack PR does not touch that area, so I am leaving it unmerged rather than weakening the budget test. |
|
Fresh CI run 35436460489 completed. All PR-specific checks and runtime/typecheck passed; the only failing test shard is the pre-existing pane-title scan-budget test (expected 2081 to be less than 1740 at src/renderer/src/components/terminal-pane/pane-title-update-global-scan-budget.test.tsx:397). This stack PR does not touch that area, so I am leaving it unmerged rather than weakening the budget test. |
|
Superseded by the merged current-main transcript-path contract in #21661; this stale test-only stack is no longer needed. |

ELI5
OMP now remembers the transcript file it should resume. Three tests still expected the old behavior (resume by session ID), so CI reported failures even though the runtime fix was correct. The relay test also treated an asynchronous environment hook as synchronous. These assertions now match the shipped contracts.
What changed
Proof
@/lib/setup-script-promptimport.oxlint, React Doctor, andoxfmtpassed.mainand are unrelated to this test-only patch's implementation behavior.No visual proof applies: this is test-contract maintenance for already-shipped OMP resume behavior.
Relationship
This follows merged PR #20634 and makes its recorded-transcript-path behavior enforceable in CI.