Skip to content

style: apply oxfmt to files that landed unformatted - #20415

Merged
nwparker merged 1 commit into
stablyai:mainfrom
fbartho:chore/oxfmt-drift
Sep 19, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
fbartho:chore/oxfmt-drift

Conversation

@fbartho

@fbartho fbartho commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

ELI5

The repository has a code formatter, oxfmt. Five files on main are not formatted the way it wants. This runs the formatter on those five files.

What Changed

pnpm exec oxfmt --check fails on main for 5 files.

Changes:

  • docs/reference/windows-process-enumeration.md
  • src/main/runtime/relay/relay-control-client-options.ts
  • src/main/runtime/relay/relay-control-protocol.ts
  • src/main/runtime/relay/relay-origin-pool.ts
  • tests/e2e/relay-region-compatibility.unit.test.ts

The diff is formatter output only: line wrapping, one block re-indented to its enclosing scope, and markdown emphasis markers normalized to underscores. Running oxfmt --write on these 5 paths and running it repository-wide produce byte-identical diffs.

Why

oxfmt --check currently fails on main, so any contributor who runs the formatter locally sees unrelated files rewritten under their change.

Linked Issue

None.

Visual Proof

N/A — the diff changes whitespace and markdown emphasis markers, with no runtime or rendered behavior affected.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

No tests added: the change carries no behavior. pnpm exec oxfmt --check . passes on this branch, pnpm tc passes, pnpm exec oxlint is clean on the 4 touched source files, tests/e2e/relay-region-compatibility.unit.test.ts passes, and the src/main/runtime/relay suite passes.

AI Disclosure

Claude Opus 5.

Review

Whitespace and markdown emphasis only, verified by reading the full diff. No identifier, expression, control flow, or string literal changes. Cross-platform, SSH/remote, mobile, and backwards compatibility are unaffected because no emitted behavior changes. No security or performance surface.

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

No issues in security, cross-platform support, remote SSH, mobile, backwards compatibility, or performance.

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

Author

X: @fbartho. I prefer Mastodon: @[email protected].

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Pure formatter output across five files, restoring oxfmt --check . to green on main. I confirmed pnpm exec oxfmt --check passes on all five paths locally.

  • docs/reference/windows-process-enumeration.md — emphasis markers normalized *x* → _x_; renders identically.
  • relay-control-client-options.ts — multi-line type import collapsed to one line.
  • relay-control-protocol.ts — graceMs zod chain wrapped across lines; same chain, same order.
  • relay-origin-pool.ts — over-indented let rebound corrected to its enclosing scope; two activateTarget(...) calls collapsed to one line.
  • relay-region-compatibility.unit.test.ts — one assertion collapsed onto one line.

No identifier, expression, control flow, or string-literal changes; no runtime or rendered behavior affected.

Pullfrog  | View workflow run | Using openrouter/deepseek/deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: a771d0a4-17a0-4bf4-ad6e-bd792ba819ea

📥 Commits

Reviewing files that changed from the base of the PR and between e1bac25 and 1a8726f.

📒 Files selected for processing (5)
  • docs/reference/windows-process-enumeration.md
  • src/main/runtime/relay/relay-control-client-options.ts
  • src/main/runtime/relay/relay-control-protocol.ts
  • src/main/runtime/relay/relay-origin-pool.ts
  • tests/e2e/relay-region-compatibility.unit.test.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

The pull request applies formatting-only changes across relay runtime code, a compatibility test, and Windows process enumeration documentation. It reformats imports, a Zod schema chain, function calls, Markdown emphasis, and an assertion. No runtime behavior, validation constraints, control flow, test logic, or public declarations changed.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 1a872

This formatting-only cleanup is ready to merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes applying oxfmt formatting to previously unformatted files, which matches the main change.
Description check ✅ Passed The description is complete and explains the scope, rationale, testing, visual proof, risks, and checklist status. The Linked Issue section says "None" even though the template requests an issue link,…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 4…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit 924f8e5 into stablyai:main Sep 19, 2026
2 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.

2 participants