Skip to content

Retry a failed profile folder move without rewriting saved settings - #206

Open
glwhappen wants to merge 2 commits into
ProxyShard:mainfrom
glwhappen:fix/team-profile-folder-save-retry
Open

glwhappen wants to merge 2 commits into
ProxyShard:mainfrom
glwhappen:fix/team-profile-folder-save-retry

Conversation

@glwhappen

Copy link
Copy Markdown

After an editor saves the profile settings, its separate Folder move can fail. The recovery path used to put the newly read revision on the old form. A retry of only the move could then overwrite settings a teammate saved in the meantime. A failed recovery read also closed the editor.

The editor now uses the freshly read settings as its baseline and keeps the intended Folder move pending. If that read fails, the editor keeps the last settings it successfully wrote and leaves the move available to retry. An edit sends the settings write only when the settings changed.

This stacks on #191. The follow-up changes are in 0aca50d.

Chrome regressions exercise a teammate's edit during the refused move, an unavailable follow-up read, and both retries. Each verifies that the teammate's setting survives and the settings write only happens once.

This branch has not been deployed

No deployments
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