chore(format): align oxfmt local/CI behavior#12579
Merged
vincentkoc merged 3 commits intoopenclaw:mainfrom Feb 19, 2026
Merged
Conversation
Contributor
Author
|
@greptileai can you review please if its all good to go then say so. Small change |
Contributor
Author
|
Rebased branch for merge conflicts, ready to merge again. |
bfc1ccb to
f92900f
Compare
Contributor
Author
|
Just a small note for Barnacle and reviewers, this is still an open issue! |
anschmieg
pushed a commit
to anschmieg/openclaw
that referenced
this pull request
Feb 19, 2026
* chore(format): align oxfmt local/CI behavior
yneth-ray-openclaw
pushed a commit
to yneth-ray-openclaw/openclaw
that referenced
this pull request
Feb 19, 2026
* chore(format): align oxfmt local/CI behavior
vignesh07
pushed a commit
to pahdo/openclaw
that referenced
this pull request
Feb 20, 2026
* chore(format): align oxfmt local/CI behavior
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.
Why
Formatter behavior can differ between local and CI runs, which causes avoidable red CI and slows review throughput. This PR makes formatter behavior explicit and adds a quick local diff workflow so contributors can reproduce CI formatting outcomes immediately.
Closes #9836
Note: lobster-biscuit
Split Context
This PR was split from closed umbrella PR #9761: #9761.
Detailed Changes
.oxfmtrc.jsonc:tabWidth: 2useTabs: falsedocker-compose.ymltoignorePatternspackage.jsonscripts:format:diffasoxfmt --write && git --no-pager diffRelated Links and Issues
Greptile Overview
Greptile Summary
This PR makes
oxfmtformatting behavior consistent between local and CI by explicitly settingtabWidth: 2anduseTabs: falsein.oxfmtrc.jsonc, and by ignoringdocker-compose.yml.It also adds a developer convenience script
format:diffthat runsoxfmt --writeand immediately shows the resultinggit diff, helping contributors reproduce CI formatting outcomes locally.Confidence Score: 5/5
Context used:
dashboard- CLAUDE.md (source)dashboard- AGENTS.md (source)