Skip to content

feat(windows): the sync service opens at launch for every signed-in account - #4735

Merged
datlechin merged 39 commits into
mainfrom
lane/g1-sync-at-launch
Nov 30, 2026
Merged

datlechin merged 39 commits into
mainfrom
lane/g1-sync-at-launch

Conversation

@datlechin

@datlechin datlechin commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • SyncHost opens the sync service at launch, and again after each sign-in change, for every signed-in account whatever the provider, as the macOS app does (Dat's ruling, 2026-11-30). Off TablePro Sync the core runs the team scopes alone, so Team Library changes and approvals arrive with no page open. Signed out, only a PC on TablePro Sync opens it at launch.
  • Windows ADR 0029's One host bullet says so, and core ADR 0109 drops its "Until feat(windows): the sync service opens at launch for every signed-in account #4735" line: every app opens the service at launch for a signed-in account.
  • Tests changed on purpose: SyncHostTests.APcOnTableProSyncOpensAtStartAndOneThatIsOffWaitsForFirstUse becomes ASignedInPcOpensTheServiceAtStartWhateverItsProvider plus ASignedOutPcOpensTheServiceAtStartOnlyOnTableProSync; ASignInChangeOpensNothingThatWasNeitherOpenNorWanted becomes ASignOutOpensNothingThatWasNeitherOpenNorWanted; AServiceThatDidNotOpenSaysWhyAndTheNextUseTriesAgain now expects the launch open's failure in the log too, and AnUploadConfirmedUnderAnotherSignInGoesNowhere expects the launch's service to get no call.

Test plan

# Conflicts:
#	windows/src/TablePro.App/Strings/en-US/Resources.resw
# Conflicts:
#	windows/docs/decisions/README.md
#	windows/src/TablePro.App/Services/Workbench.Sync.cs
… service opens, and Sign Out clears the owner it deleted
… on the Mac, and the card names the plan from the licenses
…ver reaches the core once a sign-in overtook it
# Conflicts:
#	core/docs/decisions/README.md
# Conflicts:
#	core/docs/decisions/README.md
#	windows/AGENTS.md
#	windows/docs/decisions/0031-team-library-and-team-keys.md
#	windows/docs/decisions/README.md
#	windows/src/TablePro.App.Model/AccountPanel.cs
#	windows/src/TablePro.App/MainWindow.xaml
#	windows/src/TablePro.App/MainWindow.xaml.cs
#	windows/src/TablePro.App/Services/AccountSetup.cs
#	windows/src/TablePro.App/Services/Workbench.Sync.cs
#	windows/src/TablePro.App/Views/SettingsView.License.cs
#	windows/src/TablePro.Interop/Account.cs
# Conflicts:
#	core/docs/decisions/README.md
#	windows/AGENTS.md
#	windows/docs/decisions/0029-tablepro-sync.md
#	windows/docs/decisions/README.md
#	windows/src/TablePro.Interop/TableProCore.cs
# Conflicts:
#	core/crates/ffi/src/credential_manager.rs
#	core/docs/decisions/README.md
#	windows/src/TablePro.App/MainWindow.xaml
# Conflicts:
#	windows/docs/decisions/README.md
# Conflicts:
#	windows/tests/TablePro.App.Model.Tests/SyncHostTests.cs
@datlechin
datlechin changed the base branch from lane/g1-windows-sync-parity to main November 30, 2026 03:11
@datlechin
datlechin merged commit 1d61172 into main Nov 30, 2026
1 of 3 checks passed
@datlechin
datlechin deleted the lane/g1-sync-at-launch branch November 30, 2026 04:38
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