Repository navigation
fix: TUI source smoke no longer fails without a build - #120221
Conversation
|
Land-ready proof for exact head
Production LOC is +0/-0; test code is +5/-2. No config, protocol, storage, model-id, dependency, or runtime behavior changes. Strict source-blind proof is not claimed because the single-thread campaign inspected implementation before the runtime run. @clawsweeper review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Merged via squash.
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix: TUI source smoke no longer fails without a build This is item 3/3 in the current shard. Shard 6/8. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Closes #120220
What Problem This Solves
Fixes an issue where developers running the documented source-mode TUI PTY smoke command would wait roughly sixteen minutes and receive two false failures when the checkout had not already produced
dist/entry.jsordist/entry.mjs.Why This Change Was Made
Two cases invoke the repository launcher outside the source-backed TUI runner: one explicitly verifies config repair through the built CLI, and the manifest-provider auth flow resumes through the same launcher boundary. They now share the existing
OPENCLAW_TUI_PTY_USE_BUILT_CLI=1opt-in that CI sets only after building the exact head. Source-mode smoke keeps all source-backed coverage and skips only these packaged-launcher cases.Production LOC: +0/-0. Test code: +5/-2. No config, protocol, storage, or runtime behavior changes.
User Impact
There is no product runtime change. Developers get a trustworthy source-mode TUI smoke result instead of deterministic missing-build noise, while built CI continues to exercise both launcher-dependent flows.
Evidence
f4387b7a5effd63fe2c0f05495175b9eacd12cec: 84/86 TUI PTY cases passed; the two launcher-dependent cases failed after 975 seconds becauseopenclaw.mjshad no build output. Cross-surface run: https://github.com/openclaw/openclaw/actions/runs/31168697912Strict source-blind validation was not claimed because this one-thread campaign had already inspected the implementation before runtime validation.