Skip to content

fix(storage): updateConnection logs a failed restore instead of swallowing it (#1778) - #1791

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
fix/update-connection-log-failed-restore
Oct 25, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
fix/update-connection-log-failed-restore

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Closes #1778.

Contract (the first option from the issue): the restore stays best effort and the original error is still the one rethrown, but a failed restore is no longer silent. The row restore and the secrets restore are separate steps now, each logged with the connection id via logIgnored, so a state of 'old row, new password' can be explained from the log. Test: a refused restore after a refused write reports the first error and logs the second. Not run locally, CI will.

The other option (secrets first, row after) only moves the possible inconsistency to the other side, so it is not done here.

@github-actions github-actions Bot added the bug Something isn't working label Oct 25, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit a32e1ad into dev Oct 25, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant