Repository navigation
fix(e2e): release lanes misread web search, consent timeouts, Windows temp paths and session status - #160346
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: blocked before merge. Reviewed September 28, 2026, 5:51 AM ET / 09:51 UTC. ClawSweeper reviewWhat this changesThe branch updates release checks to identify the web-search agent request, allow more time for consent updates, normalize Windows temporary paths, and route a Telegram session-status probe through structured tools, with regression tests. Merge readiness⛔ Blocked before merge - 3 items remain Keep this PR open. Current main retains the four release-harness failures, and the cited merged PRs address surrounding product behavior rather than these checks. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw release validation drives installed CLI commands and agent turns, then checks their requests, process results, and runner environment. QA Lab supplies mock model responses; the scripts turn observations into pass or failure evidence. flowchart LR
A[Release scenarios] --> B[Gateway and installed CLI]
C[Runner environment] --> B
B --> D[Requests and command results]
D --> E[QA mock and script checks]
E --> F{Expected behavior?}
F --> G[Release evidence]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +158, Other +47. Total +205 across 8 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the normalization at the release-harness boundary and qualify a real Windows published-updater upgrade and fresh install with the inherited runner environment. Do we have a high-confidence way to reproduce the issue? Yes for the marker-selection, timeout, and structured-dispatch paths: current-main source and the targeted regressions give concrete checks. The Windows 8.3-path failure still lacks an observed after-fix native run. Is this the best way to solve the issue? Yes: each repair stays with its release-harness owner and reuses the existing timeout wrapper or tool dispatcher. Windows path normalization needs platform qualification before its claimed outcome is established. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2c97229f4c88. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
… temp paths and session status (openclaw#160346) Fixes four release-lane harness bugs that failed 2026.9.7 Full Release Validation independently of the product: - openai-web-search-minimal selects the agent request by model and exact success prompt instead of the first request quoting the marker (Activity recaps quote it since openclaw#147441). - plugin-update consent package updates use the existing 900 s update-lane budget; timeouts are reported as timeouts with stdout/stderr/ledger paths before JSON parsing. - Windows packaged upgrade lanes pass the long spelling of the inherited TEMP/TMP/TMPDIR to published updaters (the immutable 2026.9.5 driver mis-compares 8.3 short paths; fixed on main by openclaw#151157). - The QA mock calls session_status through dispatcher-aware capability detection, so the Telegram current-session scenario works under default Tool Search. Each regression fails on the original harness code and passes with the fix (Testbox).
What Problem This Solves
Fixes four release-lane harness bugs that failed 2026.9.7 Full Release Validation (release-checks 36381536769) independently of the product:
plugins/runtime services/openai-web-search-minimal:assert-success-requestpicked the first mock request containing the success marker. Since Activity recaps (feat: show rolling session recaps in Activity #147441) quote the user prompt, that is a recap with no tools, not the agent turn.plugin-update(and plugin prereleasekitchen-sink-rpc--plugin-update): the consent scenario ran a full package update under the generic 300 s CLI cap. The timeout's empty stdout was misreported as "did not return JSON (exit 124)".packaged upgrade(Node 24 and 26): the published 2026.9.5 updater compares a native-realpath receipt against the runner's 8.3 shortTEMP(C:\Users\RUNNER~1\...) and fails with "directory changed during durable directory operation". Main fixed that updater bug in fix(windows): preserve scheduled task owner through stop #151157, but the published driver cannot be patched.current-session status tool context: the QA mock only calledsession_statuswhen it was directly declared. Default Tool Search hides it behind structured dispatch, so the turn never produced the OK reply.User Impact
No product change. These lanes test the intended behavior again, and a timed-out consent update now reports as a timeout, with stdout/stderr/ledger paths.
Why This Change Was Made
TEMP/TMP/TMPDIRto the long spelling of the same existing directory for published-updater lanes. The physical directory is unchanged.canCallScenarioToolcheck.Evidence
tbx_01m3kn76nc6t1pm1hgrr8ea8jx(fixed) and a second one-shot lease (original code: 2, 2, 1, 1 failures respectively).node scripts/run-vitest.mjs <file> --maxWorkers=1walls:openai-web-search-minimal-assertions.e2e.test.ts6.6 s (8 tests),plugin-update-consent-scenario.test.ts3.8 s (17),openclaw-cross-os-release-checks-upgrade-lane.test.ts3.4 s (21),mock-openai/server.tool-surface.test.ts66.6 s (6, dominated by existing cold module load).