Repository navigation
test(gateway): isolate CLI announce continuity probe - #143576
Conversation
|
🦞👀 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. Reviewed September 10, 2026, 1:31 AM ET / 05:31 UTC (Revision 2). ClawSweeper reviewWhat this changesMoves the CLI live-test announcement probe after continuity and cache checks, and waits for readable transcript entries before checking reply order. Merge readiness✅ Ready for maintainer review Keep open with no actionable findings. The updated validation evidence addresses the prior review concern, and the focused repair remains absent from the inspected main branch. Priority: P3 Review scores
Verification
How this fits togetherThe Gateway live-test suite sends requests through a real local CLI backend to check session continuity, cache reuse, and child-task announcements. Its transcript checks verify that the parent reply appears before the child's completion update. flowchart TD
A[Isolated Gateway test] --> B[CLI continuity and cache turns]
B --> C[Separate announcement session]
C --> D[Child completes while parent waits]
D --> E[Release parent reply]
E --> F[Wait for readable transcript]
F --> G[Assert parent before completion]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +10. Total +10 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep consecutive-turn checks isolated from independent sessions while retaining strict parent-before-completion assertions against readable canonical history. Do we have a high-confidence way to reproduce the issue? A source-backed reproduction path exists through the original Claude continuity/cache sequence, but no independent current-main execution was performed during this read-only review. Is this the best way to solve the issue? Yes. The patch separates unrelated test sessions and waits for the asserted observable state while preserving the existing ordering and cache invariants. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 54ede4571c83. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
fc8befe to
b9b688a
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Summary
Release-validation evidence
The original Full Validation failure came from interleaving the independent announce session between consecutive continuity/cache turns. Authenticated isolated Docker validation confirmed the cache lane passes after relocation. The ordinary lane then exposed that delivery metadata can become durable before the CLI transcript flushes the completion turn; the proof now waits for both entries and still requires parent-before-completion order.
Failing parent: https://github.com/openclaw/openclaw/actions/runs/34418806238
Validation
pnpm test:docker:live-cli-backend:claude:cache(passed; 1 live test, 50.8s)pnpm test:docker:live-cli-backend:claude(passed after transcript barrier; 1 live test, 35.7s)