Skip to content

fix(runtime): main lints and typechecks again after #32018 - #32168

Merged
Jinwoo-H merged 1 commit into
mainfrom
jinwoo/fix-main-tab-close-max-lines
Oct 23, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
jinwoo/fix-main-tab-close-max-lines

Conversation

@Jinwoo-H

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

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

Main has been red since #32018. Every PR's static analysis job fails on main's code.

Checks: pnpm tc:node is clean. oxlint is clean on the touched files. The renderer-owned-tab-properties and session-tabs tests pass, apart from two headless-browser-group-persistence tests and session-tabs-empty-worktree-publication.spec.ts, which fail the same way on unmodified main.

…and main typechecks again

#32018 pushed headless-terminal-tab-close.ts over the 300-line lint limit,
and its new test passed sleepWorktree to RuntimeNotifier after #31564 removed
it. setMobileSessionTabProps moves unchanged into RuntimeHeadlessTabProperties,
which already owns the helpers it calls and directly extends the close class.
@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1968fe65-8cf4-4de5-b37f-71f01084a395
📥 Commits

Reviewing files that changed from the base of the PR and between c089ca5 and 8aa111a.

📒 Files selected for processing: 3
  • src/main/runtime/renderer-owned-tab-properties.test.ts
  • src/main/runtime/session-tabs/headless-tab-properties.ts
  • src/main/runtime/session-tabs/headless-terminal-tab-close.ts
💤 Files with no reviewable changes: 2
  • src/main/runtime/renderer-owned-tab-properties.test.ts
  • src/main/runtime/session-tabs/headless-terminal-tab-close.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

setMobileSessionTabProps is added to RuntimeHeadlessTabProperties and removed from OrcaRuntimeWithCloseHeadlessMobileTerminalTab, along with the related abstract hooks. The method handles ownership checks, tab-property persistence, custom-title updates, and snapshot updates. A test fixture also removes the sleepWorktree notifier mock.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 8aa11

The tab-property method remains available to the inspected runtime callers. No issue identified here prevents merging after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the lint and typecheck failures, the code changes, and the reported test results. However, it omits most required template sections, including ELI5, Linked Issue, Visual Proof… Complete the required template sections. Add an actual linked issue under “Linked Issue” using Fixes #... or the applicable issue reference. Add N/A with a reason under “Visual Proof” if there is no visual or interaction change. Complet…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: restoring lint and typecheck success after #32018.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files.
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 lint and typecheck failures, the code changes, and the reported test results. However, it omits most required template sections, including ELI5, Linked Issue, Visual Proof, structured Testing checkboxes, AI Disclosure, Review, Notes, and Checklist.

Resolution

Complete the required template sections. Add an actual linked issue under “Linked Issue” using Fixes #... or the applicable issue reference. Add N/A with a reason under “Visual Proof” if there is no visual or interaction change. Complete the Testing section and checklist, including the automated commands and known failures. Add the required compatibility, security, performance, and review notes.

✨ Finishing Touches
📝 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