Skip to content

syncsetup: a window that takes its released chat back is a writer again - #2186

Merged
santoshkumarradha merged 3 commits into
app/v3from
c40/take-recovery-lost
Nov 2, 2026
Merged

santoshkumarradha merged 3 commits into
app/v3from
c40/take-recovery-lost

Conversation

@santoshkumarradha

@santoshkumarradha santoshkumarradha commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

What changes for a person

A computer starts to continue a chat from this one, and the move fails (for example, it cannot install the chat) and releases it. This window should then be able to keep working: the next message takes the released chat back. Before, the window took the hold back but still refused every message and tool with "another device continued this chat; this window now only shows it".

Root cause

The ownership check that met the other computer marked this window's hold as lost. On the next send, Drive.ConfirmWork read the released lease and reacquired it, and it cleared the viewer line, but it left the lost flag set, and Gate refuses while lost is set. The lost flag came with the dev merge (#2099) next to this older reacquire path, which only knew the viewer line. Reacquiring now clears both, as resumeViewer already does.

Validation

Limits

None known.

🤖 Generated with Claude Code

When another computer takes a chat and then releases it (a failed install),
this window's ownership check first meets the other holder and marks the hold
lost. The next send reads the released lease, ConfirmWork reacquires it and
clears the viewer line, but it left lost set, and Gate still refused every
tool and send with 'another device continued this chat'. The lost flag came
with the dev merge (#2099) next to an older reacquire path that only knew the
viewer line. Reacquiring now clears both, as resumeViewer already does.
@santoshkumarradha
santoshkumarradha marked this pull request as ready for review November 2, 2026 12:48
@santoshkumarradha
santoshkumarradha merged commit bd74b48 into app/v3 Nov 2, 2026
1 check passed
@santoshkumarradha
santoshkumarradha deleted the c40/take-recovery-lost branch November 2, 2026 13:11
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