Repository navigation
test(sessions): align storage failure footer with app naming - #199408
Conversation
Update the independent expected log footer to match the OpenClaw app name introduced in #199226. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: fc107def-7185-8cbf-9f25-dfe4d297cb7a
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesUpdates the expected storage-failure footer from “Control UI” to “OpenClaw app” without changing production behavior. Example: A session run fails with SQLITE_BUSY.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes the smallest correct repair to a stale test expectation after the approved naming change; no actionable defects were found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherSession failure recording classifies an error, obtains user-facing copy from the shared renderer, and submits a transcript notice; this test captures that notice before persistence. flowchart TD
Error[Session run error] --> Recorder[Failure recorder]
Recorder --> Copy[Shared failure copy]
Copy --> Notice[Transcript notice]
Notice --> Capture[Test capture]
Capture --> Assertion[Independent content assertion]
Technical reviewBest possible solution: Retain this one-line independent expectation update and complete the existing PR CI gates. Do we have a high-confidence way to reproduce the issue? Source establishes the exact footer mismatch for writer-claim rebound and SQLITE_BUSY; the author reports matching red/green results, and no target code was executed during this review. Is this the best way to solve the issue? The single literal update is the smallest complete fix: it follows the existing copy owner while preserving an independently written expectation and all surrounding assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c8caba299e65. Provenance checked
TestingProof path: unit tests only. 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 14, 2026, 10:45 PM ET / November 15, 2026, 03:45 UTC. |
|
Merged via squash.
|
…w#199408) * test(sessions): align storage failure footer with app naming Update the independent expected log footer to match the OpenClaw app name introduced in openclaw#199226. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * test(sessions): align storage failure footer with app naming Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: fc107def-7185-8cbf-9f25-dfe4d297cb7a --------- Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Related: #199226
What Problem This Solves
Fixes: two session failure-notice tests fail after the approved app-name migration because their expected footer still says “Control UI” instead of “OpenClaw app.”
User Impact
No product behavior changes. Restores the test contract for storage-failure notices without changing production recovery guidance or receipt handling.
Why This Change Was Made
#199226 intentionally renamed the shared failure-copy footer. Update the single independently written expected footer in
src/sessions/session-run-error.test.tsto match that naming contract. Preserve the complete content assertion, both storage failure classes, retained diagnostic/run ID, context exclusion and all sibling cases.Evidence
41f2b981d240: precisely the two storage-failure rows differ by the old app name.669576890a1f, Node 24.22.1 and repository-pinned Bun, frozen dependencies:Contributor credit: @obviyus and @steipete.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by