Repository navigation
refactor: consolidate auto-reply command tests - #109342
Merged
Merged
Conversation
steipete
force-pushed
the
codex/consolidate-auto-reply-command-tests
branch
from
July 16, 2026 21:14
8f17f52 to
3efcdc7
Compare
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 17, 2026
zooqueen
pushed a commit
to zooqueen/openclaw
that referenced
this pull request
Sep 11, 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
The
auto-reply-reply-commandsCI stripes repeatedly re-evaluate the same large static module graph because the non-isolated runner resets evaluated modules after every test file. The commands bucket had 54 command test entry files, making one of the slowest CI jobs pay that reset cost many times.Why This Change Was Made
This maintainer-directed refactor consolidates six mock-compatible sibling clusters into shared test entry points, reducing the bucket from 54 to 44 command test files while preserving the original describe names. Large export companions remain non-entry test-support modules so they share one runner reset without adding max-lines suppressions. The plugin pair remains separate: autoreview identified inherited config-mock contamination, so that candidate was intentionally reverted.
AI-assisted with Codex. The implementation and test behavior were reviewed before landing.
User Impact
No product behavior changes. Developers and CI should spend less time re-evaluating the auto-reply command module graph.
Evidence
commands-subagents*, export, info, core, status, and context). Run: https://github.com/openclaw/openclaw/actions/runs/29533028283pnpm check:changedpassed on Blacksmith Testbox in 18m57s, including formatting, max-lines ratchet, core and core-test typechecks, all core lint shards, and static guards.patch is correct, 0.91).