Skip to content

style: format a test file so main passes the formatting check - #31378

Merged
Jinwoo-H merged 1 commit into
mainfrom
fix/format-pty-connection-split-spawn-spec
Oct 21, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
fix/format-pty-connection-split-spawn-spec

Conversation

@Jinwoo-H

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

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​106 $\color{#cf222e}{\Huge{\mathbf{−}}}$​105 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1
Prod 0 0 0 0

Summary

Main fails the `oxfmt --check` step in "Static analysis and typecheck" after #30442 merged one unformatted test file, so every open PR's CI fails that step. This PR runs the formatter on that one file. Formatting only; no code or test logic changes.

Before / after

  • Before: `node node_modules/oxfmt/bin/oxfmt --check .` reports `src/renderer/src/components/terminal-pane/pty-connection-split-spawn.spec.ts`.
  • After: "All matched files use the correct format."

Why this approach

The smallest fix that restores the shared check; the file's content is unchanged apart from the formatter's re-indentation.

…check after #30442)

Claude-Session: 10569c9a-a0a1-4fc9-8469-0edfb7aed125
@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Review in 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: bfb8b9b5-6f65-4c8b-9895-a20c84ff9103
📥 Commits

Reviewing files that changed from the base of the PR and between f7c0740 and 2369b1a.

📒 Files selected for processing: 1
  • src/renderer/src/components/terminal-pane/pty-connection-split-spawn.spec.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

📝 Walkthrough

The parameterized startup and fallback test was reformatted. Its scenarios, setup, assertions, timing, connection behavior, and fallback conditions remain unchanged.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 2369b

No actionable merge risk remains.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description explains the formatting problem, the affected file, the before-and-after behavior, and the reason for the approach. It does not include the required linked issue, testing details or ch… Add the required template sections. Include an actual linked issue after “Fixes #”, state “N/A” with a reason for visual proof, document testing and platforms, complete the testing and checklist items, and provide the required review, AI di…
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly identifies the formatting-only change to a test file and explains that it fixes the formatting check.
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.
Full details: Description check

Explanation

The description explains the formatting problem, the affected file, the before-and-after behavior, and the reason for the approach. It does not include the required linked issue, testing details or checklist status, visual-proof statement such as N/A, AI disclosure, review section, or cross-platform and compatibility notes.

Resolution

Add the required template sections. Include an actual linked issue after “Fixes #”, state “N/A” with a reason for visual proof, document testing and platforms, complete the testing and checklist items, and provide the required review, AI disclosure, upstream-boundary, and compatibility information.

✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

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