Repository navigation
fix: avoid cold-build timeouts in Control UI E2E - #184458
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
steipete
marked this pull request as ready for review
October 26, 2026 09:34
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash.
|
This was referenced Oct 26, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Prevents the production stale-build recovery fixture from timing out when a path-scoped PR selects Control UI E2E without selecting
build-artifacts.User Impact
CI-only change. The recovery test keeps its existing assertions and deadlines; product behavior is unchanged.
Why This Change Was Made
Without prebuilt assets,
gateway.entrypoint()runs a cold runtime build throughscripts/run-node.mjsinside the helper's 120-second subprocess budget. In #179223, job 121458903277 passed the fixture in 116.197 seconds, while job 121469335096 and job 121475507271 killed the cold build at 120 seconds. The artifact producer was skipped.Reuse the shard's existing Vitest discovery to prepare the runtime before starting Vitest, only when that shard selects the production recovery fixture. The test helper then consumes the completed build. Delegated production-artifact fixtures remain excluded as before.
CI cost: no new jobs, shards, or runners. The same cold build moves earlier in the existing step; unrelated shards do no runtime preparation, and test discovery is shared with the existing WebKit requirement check.
Evidence
git diff --checkpass.VITEST=1 node scripts/run-node.mjs --helpbefore the single production recovery test. Cold runtime preparation succeeded in 736.947 seconds; the unchanged test passed against a real Gateway, with the recovery assertion completing in 3.260 seconds (Vitest duration 291.92 seconds including harness and UI setup). This is local Mac timing, not a CI build-time measurement. Node 26.12.1; admission load 21.29 for preparation and 23.22 for the test, with more than 36 GiB internal free space.build-artifacts, so the local run above supplies the no-prebuilt proof. Exact-head CI run 40300650173 passed; the native exact-head watcher reports GREEN.