Repository navigation
fix(test): auto-reply suite fails on main after the item-conflict recovery message changed - #199846
Conversation
#199757 changed the item-conflict recovery message shown to users but left this suite asserting the previous wording, so the test fails on main and on any PR whose changed lanes include auto-reply.
|
🦞👀 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 auto-reply test to expect the current item-conflict recovery message. Example: The provider-failure test receives an OpenAI item_conflict error.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Regression provenanceRegression provenance — verified: source commit Merge readiness✅ Ready for maintainer review Keep open: this PR corrects a confirmed stale test expectation, preserves the existing regression coverage, and has passing exact-head CI; no actionable findings remain. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe auto-reply error handler converts classified provider failures into reply payloads and lifecycle error notices; this PR updates the test expectation at that boundary. flowchart LR
A[Provider failure fixture] --> B[Agent turn execution]
B --> C[Failure copy renderer]
C --> D[Final reply payload]
C --> E[Lifecycle error notice]
D --> F[Regression assertions]
E --> F
Technical reviewBest possible solution: Land the focused expectation update while retaining both reply and lifecycle-notice assertions. Do we have a high-confidence way to reproduce the issue? The source establishes the exact expected-versus-rendered string mismatch, and the author supplies a matching failing run; this read-only review executed no tests. Is this the best way to solve the issue? Changing the independent expected literal is the smallest complete repair and preserves the existing production owner and meaningful boundary assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 47c5db59fd62. 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 15, 2026, 6:52 PM ET / 23:52 UTC. |
|
Merged via squash.
|
…penclaw#199846) openclaw#199757 changed the item-conflict recovery message shown to users but left this suite asserting the previous wording, so the test fails on main and on any PR whose changed lanes include auto-reply.
Related: #199757, #198070
What Problem This Solves
Fixes: the auto-reply provider-failure suite fails on
main, and on any pull request whose changed test lanes include auto-reply, since #199757 changed the item-conflict recovery message.User Impact
User impact: none. This is a test-only change. Contributors whose pull requests touch auto-reply stop getting a red
openclaw/ci-gatefrom a test their change did not affect.Why This Change Was Made
#199757 reworded the message a user sees when the AI service cannot recover saved conversation state, and updated the copy module's own test. The auto-reply suite still asserted the previous wording, so
preserves item-conflict recovery in the Control UI reply and saved noticecompared the old sentence against the new one. This change updates that one expected string to the current message. No runtime code changes.Evidence
Before, on unmodified
mainat3900bb2366e8:The same failure in CI on #198070, which does not change this message or this test: https://github.com/openclaw/openclaw/actions/runs/43771187207/job/132987825732
After, on this branch (
mainat3d4bd2a708bcplus this commit):The format check on the changed file and
git diff --checkpass. The broader gates were not run locally; this pull request's CI covers them.