Repository navigation
fix(sync): Keep Theirs keeps a team connection's password, and an edit never drops one it did not touch - #4706
Merged
Conversation
…t never drops one it did not touch
This was referenced Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
publish_team_connection_edittakeschanges: [TeamSecretChangeArg](set or cleared, per kind) in place of the full set (TeamSecrets::Edit). A secret not named keeps the team's envelope. On a move it is sealed again when this device opens it for the copy's current destination, else left as it is. A secret the edited copy stops using loses its envelope.core/ARCHITECTURE.mdpoints to it. Windows bindings regenerated; the Windows app has no team-copy edit and resolves conflicts through the core.ConnectionEditorStoreTeamCopyTests(a moved edit names no secret; unreadable team secrets no longer refuse a typed password) andTeamLibrarySecretsTests.editPublishesUnderTheTeamsId.Test plan
core_engine team_secrets::a_conflict_over_the_destination_keeps_the_team_s_password_until_the_choice_and_keep_theirs_keeps_theirsfails on main (no member and not the owner opens the password after Keep Theirs) and passes here.an_edit_names_only_what_the_person_set_or_cleared.ConnectionEditorStoreTeamCopyTests/unfilledPasswordIsKept(the F35 save, with the field unfilled or unreadable) and the updated suites.verify.sh core tablepro-sync1040/1040,core tablepro-ffi525/525, macOS Team Library suites 111/111, lint clean,cargo clippy --locked -p tablepro-sync -p tablepro-sync-testing -p tablepro-ffi --all-targets -- -D warningsclean.