chore: speed up slow test coverage#108563
Merged
Merged
Conversation
steipete
force-pushed
the
codex/test-performance-more-3
branch
from
July 16, 2026 02:52
367b21f to
87cd184
Compare
Contributor
Author
|
Land-ready on exact head Proof:
Known proof gaps: none for this test-only patch. CI configuration and production code remain unchanged. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 16, 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
Maintainer-requested test performance work. Several unit and Control UI tests spent seconds loading unrelated runtime graphs, advancing every intermediate fake-clock timer, or sleeping for fixed delays even though the behavior had a precise completion signal.
Why This Change Was Made
The tests now isolate the dependency actually under test, keep the real process-level rejection-containment proof while removing its redundant negative child process, shorten a real timer schedule without weakening its reset requirement, fast-forward long fake-clock gaps, and replace fixed browser sleeps with causal request, state, bridge, mutation, or rendering barriers. CI configuration and production behavior are unchanged.
User Impact
No user-visible behavior change. Developers and CI get faster test feedback with the same behavioral and security coverage.
Evidence
auth-profiles.doctor.test.ts54,344ms -> 163ms;exec.no-output-timer.test.ts2,261ms -> 1,027ms; callback fatal proof file 4,579ms -> 3,945ms on the fresh box (1,126ms warm).check:changedcompleted successfully before the final synchronization refinements; every final refinement then received focused remote proof and the final targeted gates above.origin/main: clean, no actionable findings.