feat(cloud-agent-next): support multiple chats per worktree - #5751
feat(cloud-agent-next): support multiple chats per worktree#5751eshurakov wants to merge 9 commits into
Conversation
f4e47ab to
19b0f14
Compare
3368f8d to
1a882bb
Compare
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Executive SummaryClearing Overview
Issue Details (click to expand)WARNING
Files Reviewed (2 files)
Fix these issues in Kilo Cloud Previous Review Summaries (2 snapshots, latest commit 8ec8242)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 8ec8242)Status: 1 Issue Found | Recommendation: Address before merge Executive SummaryClearing Overview
Issue Details (click to expand)WARNING
Files Reviewed (36 files)
Fix these issues in Kilo Cloud Previous review (commit 1a882bb)Status: No Issues Found | Recommendation: Merge Files Reviewed (177 files)
Reviewed by grok-4.6 · Input: 141K · Output: 6.7K · Cached: 261.9K Review guidance: REVIEW.md from base branch |
| return; | ||
| } | ||
| if (this.pendingRuntimeCleanup()) return; | ||
| if (queued.deliveryRetryScope !== undefined) { |
There was a problem hiding this comment.
WARNING: Clearing deliveryRetryScope before ensureReady/attach lets interrupt quarantine a shared runtime
interruptExecution only skips shared-runtime cleanup when the live queued record still has deliveryRetryScope === 'message'. This block writes undefined before the first await, so a concurrent interrupt during ensureReady or the uncontained re-attach sees undefined !== 'message' and quarantines wrapperInstanceId. After session_busy the waiting sibling already has that wrapper id, so cancelling it tears down the accepted peer on the same worktree. Keep the message scope until recordDeliveryFailure overwrites it, or treat undefined like 'message' unless unresolvedDispatch is set.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Summary
0234_amused_sasquatch, preserving main migration 0233, concurrent-index boundaries, and the ownership backfill.Native PR stack
Stack #5752:
main -> #5670 hidden-summit -> #5623 glossy-gull -> #5552 eager-hollow -> #5751 dreamy-marsh.All source/test changes are committed and pushed. Untracked PLAN.md is unchanged and excluded.
Automated verification
Real local runtime and browser verification
Remaining limits
0204_brainy_baron_strucker.sql(51 passed, 1 failed); generated-schema consistency and bootstrap pass.Kept draft for review of these remaining rollout/verification limits.