Repository navigation
fix(test): Gateway E2E no longer stalls on x64 - #119787
Conversation
|
@clawsweeper review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Land-ready proof for exact head Root cause: the generic E2E config still owned the full real TUI PTY file on x64 after the dedicated TUI shard became its canonical owner. That file now takes about 15 minutes and the generic file-level reporter stays silent long enough for the five-minute watchdog to kill a healthy run. The fix removes only that duplicate route on every architecture; the dedicated serial/verbose TUI config retains the file and built-CLI proof. Production LOC: +0/-0. Test/tooling: +4/-7. No runtime, config, protocol, dependency, docs, changelog, or model-bearing surface changed. Proof:
Known gap: the broad generic E2E baseline has unrelated failures outside the two changed files. This patch makes those failures observable instead of masking them behind a false watchdog exit. ClawSweeper exact-head review is still in progress and will be read before merge. |
|
ClawSweeper exact-head review infrastructure gap for
The independently completed gates remain: exact hosted CI 31060947899 green, exact changed-gate Testbox 31059300043 green, dedicated owner proof 24/24, focused routing proof 2/2 plus catalog checks, terminal before/after aggregate proof, and fresh AutoReview clean at 0.99. |
|
Merged via squash.
|
|
Jahid |
…cope * origin/main: (24 commits) fix(backup): skip transient gateway lock databases (openclaw#119782) test(agents): use canonical auth session fixtures (openclaw#119821) fix(memory): keep QMD file hints after stale docid misses (issue openclaw#113041) (openclaw#113515) test(doctor): align fast-path repair contracts (openclaw#119812) perf(agents): index subagent recovery ownership (openclaw#119793) fix(gateway): keep chat startup off catalog discovery (openclaw#119742) fix(test): keep TUI PTY suites in their owner lane (openclaw#119787) docs: correct dashboard auth precedence (openclaw#119785) docs: document control ui owner handoff fix: grant host-authorized control ui owner access fix(worktrees): preserve registered roots during orphan cleanup (openclaw#119709) fix(matrix): prevent shared client key collisions (openclaw#119667) fix(diagnostics-otel): propagate exported span context (openclaw#112283) fix(worker): isolate state observer failures (openclaw#117507) fix(qa): attest realized profile executions (openclaw#119761) fix(gateway): finish successful sessions after timestamp races (openclaw#119752) fix(agents): fence restart recovery lifecycle (openclaw#119776) fix(ui): preserve chat history and active run timing (openclaw#119729) improve(ollama): reduce inactive startup cost (openclaw#119745) improve(gateway): defer inactive plugin runtime imports (openclaw#119733) ...
Closes #119775
What Problem This Solves
Fixes an issue where maintainers and agents running the Gateway E2E aggregate on x64 would get a false five-minute no-output failure instead of a terminal test verdict. The generic aggregate still scheduled the full real TUI PTY backend suite, which now takes about 15 minutes and reports progress only through its dedicated TUI configuration.
Why This Change Was Made
The generic E2E configuration now excludes both TUI PTY suites on every architecture. The dedicated TUI PTY configuration remains their canonical owner and retains the local real-backend suite, its verbose per-test reporter, serial execution, and exact built-CLI coverage. The existing configuration regression test now enforces that architecture-independent boundary.
This removes the stale duplicate route instead of increasing the watchdog, retrying tests, or weakening assertions.
User Impact
There is no product runtime change. Gateway E2E runs can now reach a truthful terminal result on x64, while the complete real TUI PTY suite remains covered in its purpose-built lane.
Production LOC: +0/-0. Test/tooling: +4/-7.
Evidence
tbx_01kza07mctzz4rcm0r089z9ghf, run https://github.com/openclaw/openclaw/actions/runs/31052388184.pnpm test:e2e:gatewaypassed 514 assertions across four files, then the wrapper killed the silent process group after 300 seconds with exit 143.OPENCLAW_TUI_PTY_INCLUDE_LOCAL=1 OPENCLAW_TUI_PTY_USE_BUILT_CLI=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.tui-pty.config.ts src/tui/tui-pty-local.e2e.test.tspassed 24/24 in 887.90 seconds while reporting progress between long cases.src/infra/vitest-e2e-config.test.tspassed 2/2. Catalog probes proved the dedicated TUI config still listssrc/tui/tui-pty-local.e2e.test.tsand the generic E2E config does not.tbx_01kza6zrj0txsv4tmwz86v1gbv, run https://github.com/openclaw/openclaw/actions/runs/31059300043, passed formatting, typechecks, dependency/architecture guards, dead-code checks, script declarations, and core/scripts lint in 23m42s.Known gap: the current broad E2E baseline has unrelated failures outside these two files. This PR neither masks nor changes them; it restores the aggregate's ability to report them instead of dying silently first.