Skip to content

feat(windows): Team Library's sign-out step - #4663

Merged
datlechin merged 1 commit into
feat/windows-team-libraryfrom
feat/windows-team-signout
Nov 28, 2026
Merged

datlechin merged 1 commit into
feat/windows-team-libraryfrom
feat/windows-team-signout

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • Split out of feat(windows): Team Library saved queries and team keys #4658: Team Library's part of Sign out on Windows.
  • Before the keys erase, sign out lists Team Library edits not uploaded yet: Upload and sign out, Discard and sign out, or Cancel. Edits that could not be listed are asked about too.
  • Once signed out, the account's Team Library data is deleted for the owner read before the sign-out, through SyncHost.LeaseAsync, which keeps the ended sign-in's service open.
  • TeamSignOut, TeamSignOutQuestion, SyncLease, the sign-out dialog and its strings.

Open from Codex round 3 on #4658, not fixed yet:

  • SettingsView.SignOutAsync: with Team Library lapsed and a failed start, the in-memory unsent list is empty, so no question is asked; if the key erase then starts the engine, the delete removes pending edits unasked.
  • With a lease whose engine failed to start, Upload only re-reads Owner and never retries the start, so the question repeats after the failure clears.
  • If a resumed upload reopens Sync while the question is open, the lease keeps the old service's state-file lock and the key erase on the new service fails with sync.state.busy; the erase should use the leased service's key flows.

Test plan

  • TeamLibraryTests sign-out cases and SyncHostTests.ALeaseKeepsTheServiceOfASignInThatEndedUntilItIsReleased; CI's Windows jobs.

@datlechin
datlechin marked this pull request as ready for review November 28, 2026 00:59
@datlechin
datlechin merged commit 3154298 into feat/windows-team-library Nov 28, 2026
10 of 13 checks passed
@datlechin
datlechin deleted the feat/windows-team-signout branch November 28, 2026 01:00
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