Skip to content

chore(format): format the files main's new formatting check rejects - #30929

Merged
Jinwoo-H merged 1 commit into
mainfrom
fix-main-format
Oct 19, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
fix-main-format

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​635 $\color{#cf222e}{\Huge{\mathbf{−}}}$​270 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​365
Prod 13 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​216 $\color{#cf222e}{\Huge{\mathbf{−}}}$​122 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​94

Summary

Before: since #30863 made the static job fail on unformatted files, every PR fails static analysis and typecheck at oxfmt --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 in NativeChatStructuredSession.tsx, pushing it to 401 lines (limit 400), so that file also shares one paneActive local (props.isVisible && props.isFocusedGroup) between the font-size and find hooks. Same expressions, no behaviour change.

Why this over alternatives: a max-lines disable or bump is not allowed here; reverting #30863 would hide real drift.

Testing

  • oxfmt --check .: clean
  • pnpm exec oxlint on the changed files: clean
  • pnpm 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 pass

CI-only fix; merged without waiting on the backed-up queue per owner instruction.

#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.
@Jinwoo-H
Jinwoo-H merged commit 3f9e4ec into main Oct 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant