Repository navigation
chore(format): format the files main's new formatting check rejects - #30929
Merged
Merged
Conversation
#30863 made the static job fail on unformatted files; 22 files that landed around it were never run through oxfmt. Formatter output only, plus one shared paneActive local in NativeChatStructuredSession.tsx so formatting does not push that file past max-lines.
This was referenced Oct 20, 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.
Summary
Before: since #30863 made the static job fail on unformatted files, every PR fails
static analysis and typecheckatoxfmt --check .: 22 files that landed around it (mostly #30396's native-chat usage-limit work) were never formatted.After:
oxfmt --check .passes on main.Mechanism:
oxfmt --write .over the repo; only those 22 files change. Formatting re-expanded one hand-squeezed line inNativeChatStructuredSession.tsx, pushing it to 401 lines (limit 400), so that file also shares onepaneActivelocal (props.isVisible && props.isFocusedGroup) between the font-size and find hooks. Same expressions, no behaviour change.Why this over alternatives: a
max-linesdisable or bump is not allowed here; reverting #30863 would hide real drift.Testing
oxfmt --check .: cleanpnpm exec oxlinton the changed files: cleanpnpm tc: clean (all 4 projects)pnpm test --maxWorkers=2 src/renderer/src/components/native-chat/ src/main/claude/claude-usage-limits.test.ts src/main/codex/codex-usage-limits.test.ts: 367 files, 3980 tests passCI-only fix; merged without waiting on the backed-up queue per owner instruction.