Repository navigation
fix(test): align Goal pause note checks with cause-neutral interruptions - #198336
Conversation
#198276 intentionally made Goal cancellation notes cause-neutral because an RPC cancellation can also come from authority revocation. Update the shared Stop/resume integration expectation missed by that change; retain the exact note and all pause, abort, resume-once, replay, and transcript assertions. The old #198208 observer case passes in job 131944723588; its two Goal failures report this note mismatch instead. Runtime replay remains pending in a prepared checkout; formatting, syntax lint and P0-P2 autoreview pass. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesUpdates the shared Goal Stop/resume test expectation to the cause-neutral pause note already emitted by main. Example: Stop automatic pursuit of a Goal, then resume it.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR: it correctly repairs a stale integration expectation without weakening the Stop/resume checks or reverting intentional runtime behavior; no actionable findings. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherGateway integration cases send Goal cancellation and resume RPCs through production handlers, then inspect persisted lifecycle state with model execution mocked. flowchart LR
A[Goal integration case] --> B[Gateway RPC handlers]
B --> C[Session lifecycle owner]
C --> D[Persisted Goal state]
D --> E[Pause and resume assertions]
Technical reviewBest possible solution: Merge the focused expectation correction once the existing required CI gate passes. Do we have a high-confidence way to reproduce the issue? Current-main source directly shows the producer emitting the neutral note while both parameterized Stop/resume cases expect the old text; no local execution was performed. Is this the best way to solve the issue? This is the smallest complete fix: align the existing independent expectation with the approved producer contract and preserve the remaining behavioral coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against af10e5594d38. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 13, 2026, 10:39 AM ET / 15:39 UTC. |
|
Merged via squash.
|
…law#198336) openclaw#198276 intentionally made Goal cancellation notes cause-neutral because an RPC cancellation can also come from authority revocation. Update the shared Stop/resume integration expectation missed by that change; retain the exact note and all pause, abort, resume-once, replay, and transcript assertions. The old openclaw#198208 observer case passes in job 131944723588; its two Goal failures report this note mismatch instead. Runtime replay remains pending in a prepared checkout; formatting, syntax lint and P0-P2 autoreview pass. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
What Problem This Solves
Two Goal Stop/resume integration cases fail on main because their exact persisted-note expectation still says “Paused after Stop” after #198276 intentionally changed it to “Paused after an interruption.”
User Impact
No user-visible or runtime change; test expectation only.
Why This Change Was Made
RPC cancellation can also come from authority revocation, so #198276 deliberately made the lifecycle projection cause-neutral. Update its missed shared integration consumer, retaining the exact note assertion and all pause, abort, resume-once, replay and transcript assertions. Do not revert the producer repair.
Evidence
Worked on by
Work sessions
Linked for team reference; these sessions aren’t public.