Repository navigation
fix(parser): add force close on the pool - #9334
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: usebruno/bruno/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (192)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Resolve the in-flight mount shutdown race and add regression coverage for forced termination.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (2)
What changed in this PR
Adds forced worker-pool termination during Electron shutdown so active parsing cannot delay application exit.
Changes:
- Adds forced termination support to the worker pool.
- Propagates shutdown options through mount management and IPC.
- Enables forced termination during application quit.
| File | Summary |
|---|---|
packages/bruno-electron/src/services/pool/index.js |
Supports forced worker-pool termination. |
packages/bruno-electron/src/services/mount/manager.js |
Forwards force mode during shutdown. |
packages/bruno-electron/src/ipc/mount.js |
Passes shutdown options through IPC. |
packages/bruno-electron/src/index.js |
Requests forced cleanup before quitting. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


Description
Since we don't force quit the workerpool on quit it waits for existing parsing to finish which can hold other items from closing.
JIRA: Pending
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.
Summary by CodeRabbit
New Features
Updates
request-start-timeis no longer sent.