Repository navigation
Coalesce renderer worktree change refreshes - #6020
Conversation
|
Ready to review this PR? Stage has broken it down into 3 individual chapters for you:
Chapters generated by Stage for commit d1f61f7 on Jun 22, 2026 1:31am UTC. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between bf3ed403c6a73771ea9e4793c7d22effab95c452 and d1f61f7. 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughA new 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: ce3afedf-ff90-463c-9b8a-f5b55e01b852
📥 Commits
Reviewing files that changed from the base of the PR and between 9534c75 and bf3ed403c6a73771ea9e4793c7d22effab95c452.
📒 Files selected for processing (3)
src/renderer/src/hooks/useIpcEvents.tssrc/renderer/src/hooks/worktree-change-refresh-queue.test.tssrc/renderer/src/hooks/worktree-change-refresh-queue.ts
bf3ed40 to
d1f61f7
Compare
Co-authored-by: Neil <[email protected]>
Summary
Reproduction / verification
worktree-change-refresh-queue.test.tsreproduces the suspected pre-crash trigger by enqueueing repeated same-repo worktree change events while the first refresh is still in flight.rendererprocess_gone/reason=killed/exit_code=1crash inside this CLI session, so the remaining Windows manual validation is to rerun the OneDrive worktree-create/sidebar-switch loop from the handoff on this branch.Tests
pnpm vitest run --config config/vitest.config.ts src/renderer/src/hooks/worktree-change-refresh-queue.test.tspnpm typecheck:webpnpm exec oxlint src/renderer/src/hooks/worktree-change-refresh-queue.ts src/renderer/src/hooks/worktree-change-refresh-queue.test.ts src/renderer/src/hooks/useIpcEvents.ts