Skip to content

fix(test): Gateway E2E no longer stalls on x64 - #119787

Merged
steipete merged 1 commit into
mainfrom
codex/autoqa-tui-e2e-routing-20260805
Aug 6, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/autoqa-tui-e2e-routing-20260805

Conversation

@steipete

@steipete steipete commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

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

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.

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 6, 2026
@steipete
steipete marked this pull request as ready for review August 6, 2026 00:50
@steipete

steipete commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@steipete

steipete commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready proof for exact head d713a71c6f1538672f7716ed05eb3d8b0b037070.

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:

  • Pre-fix Testbox 31052388184: 514 assertions passed, then the aggregate died after 300 silent seconds with exit 143.
  • Owner control on the same checkout: the dedicated TUI config passed the local file 24/24 in 887.90s with per-test progress.
  • Focused candidate: config regression 2/2; file-list probes prove the TUI owner still includes the local suite and the generic E2E config does not.
  • Patched aggregate Testbox 31057032000: reached a terminal verdict after 34m56 instead of stalling. It exposed unrelated current-main aggregate failures; 1,371 tests passed.
  • Exact changed gate Testbox 31059300043: all selected formatting, typecheck, architecture/dependency/dead-code guards, declarations, and lint passed in 23m42s.
  • Exact hosted CI 31060947899: green.
  • Fresh post-format AutoReview: clean, no accepted/actionable findings, 0.99.
  • Public model identifier gate: PASS.

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.

@steipete

steipete commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

ClawSweeper exact-head review infrastructure gap for d713a71c6f1538672f7716ed05eb3d8b0b037070:

  • Review run 31060952994 completed its review shards.
  • The sole Publish review artifacts job remained queued on ubuntu-latest without a runner from 00:58 UTC through the review lease expiry at 01:24:21 UTC.
  • The latest ClawSweeper comment is therefore still the exact-head start placeholder. It contains no finding and no Rank-up moves: list.
  • No ClawSweeper approval is claimed, and no move is being skipped silently.

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.

@steipete
steipete merged commit 6e4d387 into main Aug 6, 2026
178 checks passed
@steipete
steipete deleted the codex/autoqa-tui-e2e-routing-20260805 branch August 6, 2026 01:28
@steipete

steipete commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@mdjahid11978-design

Copy link
Copy Markdown

Jahid

vincentkoc added a commit to VACInc/openclaw that referenced this pull request Aug 6, 2026
…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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Gateway E2E aggregate stalls on duplicate TUI PTY local lane

2 participants