feat: add PIN config conflict detection and resolution#218
Merged
Conversation
Add timestamp-based conflict resolution for PIN configuration files synced via password-store git. This prevents merge conflicts when multiple machines independently modify PIN state. Changes: - Add modified_at timestamp to SerializablePinConfig - Track last synced config state in PassPinStorage - Implement conflict detection before save (pull and compare) - Implement timestamp-based resolution (newer wins) - Use version as tie-breaker for same timestamps
Author
Maintainability Review SummaryApplied Now
Recommendations (defer)
Do Not Pursue
|
Author
|
✅ CI Fix Applied Fixed CI failure. The Clippy job was failing due to two issues in
Committed and pushed: Commit: Waiting for CI to re-run... |
Author
|
✅ CI Fix Applied The CI failure for commit
The fix is already committed and pushed to Commit: Waiting for CI to re-run... |
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
Changes
modified_attimestamp toSerializablePinConfigfor conflict resolutionPassPinStorageHow it works
Resolves: #217