Skip to content

Split main window service attachments - #17151

Merged
nwparker merged 19 commits into
mainfrom
ra/max-lines-bottom-8-attach-services
Aug 30, 2026
Merged

nwparker merged 19 commits into
mainfrom
ra/max-lines-bottom-8-attach-services

Conversation

@nwparker

@nwparker nwparker commented Aug 29, 2026 •

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

Summary

  • extract runtime notifier and renderer lifecycle wiring into a focused module
  • extract deferred updater setup and updater IPC handlers while preserving facade exports
  • keep central service attachment order unchanged and remove the resolved max-lines baseline entry

Validation

  • pnpm tc
  • pnpm tc:node
  • pnpm run check:code-quality:changed
  • pnpm check:max-lines-ratchet
  • pnpm test src/main/window/attach-main-window-services.test.ts src/main/window/updater-package-recovery-ipc.test.ts src/main/window/runtime-renderer-notification-sender.test.ts src/main/window/renderer-document-navigation.test.ts

Stacked on #17149.

@greptile-apps

greptile-apps Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Greptile Summary

The PR splits main-window updater and runtime lifecycle wiring into focused modules while preserving the existing attachment order and facade exports.

  • Moves deferred auto-updater setup and updater IPC registration into main-window-updater.ts.
  • Moves runtime notifier, renderer navigation, and window cleanup wiring into runtime-window-lifecycle.ts.
  • Removes the resolved max-lines baseline exception for the attachment facade.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
src/main/window/attach-main-window-services.ts Retains the central service attachment sequence while delegating updater and runtime lifecycle responsibilities.
src/main/window/main-window-updater.ts Extracts the existing deferred updater initialization and updater IPC handlers without observable behavioral changes.
src/main/window/runtime-window-lifecycle.ts Extracts runtime notification, renderer reload, terminal relay, and window cleanup wiring without observable behavioral changes.
config/max-lines-baseline.txt Removes the now-unneeded max-lines exception for the reduced attachment facade.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[attachMainWindowServices] --> U[scheduleMainWindowAutoUpdaterSetup]
  A --> R[registerRuntimeWindowLifecycle]
  U --> S[Auto-updater setup and updater IPC]
  R --> N[Runtime notifier and renderer lifecycle]
  A --> O[Remaining main-window services]
Loading

Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile

@nwparker
nwparker changed the base branch from ra/max-lines-bottom-7-external-manager to main August 30, 2026 03:08
@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 1 minute.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5d52521d-ef3e-47be-96cc-c15ebdb88dab

📥 Commits

Reviewing files that changed from the base of the PR and between 7b5bed9 and 1ad3ba8.

📒 Files selected for processing (4)
  • config/max-lines-baseline.txt
  • src/main/window/attach-main-window-services.ts
  • src/main/window/main-window-updater.ts
  • src/main/window/runtime-window-lifecycle.ts

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 ecee14b into main Aug 30, 2026
4 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Split speech session lifecycle

* Split terminal output scheduler pipeline

* Split mobile browser pane modules

* Prune resolved max-lines suppressions

* Split pane tree equalization logic

* Extract mobile troubleshoot screen styles

* Split external automation manager

* Split main window service attachments

* Fix F3-speech for stablyai#17123

* Fix F1-cycle for stablyai#17131
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