Repository navigation
fix(tooling): reject misformatted added files in changed checks - #104605
Merged
Merged
Conversation
Contributor
Author
|
Land-ready.
Known proof gaps: none. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 12, 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
Fixes an issue where developers running
pnpm check:changedcould pass remote Testbox validation with a newly added misformatted file, then fail CI's full-repo oxfmt shard. This affected the added test files seen in #104478, #104582, and #104438.Why This Change Was Made
The changed gate now runs oxfmt against the same committed, staged, unstaged, and untracked path set used for lane selection. Unmatched paths remain harmless for deleted or unsupported files, and an explicit option boundary protects dash-prefixed repository paths.
User Impact
Developers now get the CI formatting failure during
pnpm check:changed, before pushing or waiting for the full CI format shard. No runtime product behavior changes.Evidence
*.test.tspath but exited 0 because no formatting command was planned.format changed filesand named the added probe; after formatting, the full changed gate exited 0.corepack pnpm test test/scripts/changed-lanes.test.ts— 92/92 tests passed on Blacksmith Testboxtbx_01kx94hs7tn98e72er7g77bwpa.OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 corepack pnpm check:changed— passed on the same Testbox, with oxfmt checking all four changed files..agents/skills/autoreview/scripts/autoreview --mode local --stream-engine-output— clean after addressing the dash-prefixed path finding.