Repository navigation
Conversation
📝 WalkthroughWalkthroughAdds 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
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 |
fa3412e to
53eec2a
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
bf9e8c7 to
fab6ad9
Compare
Restack + review guide (community, awaiting maintainer)Rebased onto latest What this PR still uniquely doesOn Main has no Files
Depends on
Tests (local)
Ready for upstream review; community author cannot merge. |
fab6ad9 to
0cb2a65
Compare
|
Closing as part of fork PR backlog cleanup. Long-conflicted against current main; reopen or recreate if still needed. |
fix(terminals): remap stale worktree ids on restore
Summary
When hydrating a workspace session, remap persisted terminal worktree IDs onto the current worktree catalog by normalized path + execution host, so restored tabs keep daemon PTY identity after worktree ID regeneration (app update, SSH reconnect rediscovery, etc.).
Residual / status (2026-07-23)
main; 1 commitSolution
reconcileWorkspaceSessionWorktreeIds(...)before hydrate validity filteringTest plan
Reviewer note
Community PR — cannot merge. Safe independent land.
ELI5
Restored terminal tabs could lose their daemon PTY after worktree IDs changed (app update, SSH rediscovery). On hydrate, old worktree IDs are remapped by path and host so sessions reattach to the right place.