Open
Conversation
added 16 commits
March 9, 2026 22:20
this used to corrupt the local state (password entities remained in DB but files/dirs were removed from git and disk)
SimplyDanny
reviewed
Mar 12, 2026
Collaborator
SimplyDanny
left a comment
There was a problem hiding this comment.
More tests are always appreciated. Thanks for that!
As for the bare Git repository: You can also clone from non-bare repos. That might be easier to maintain.
Author
Git really doesn't like checking in another git repository inside of it. Except for submodules.
Which one would you prefer? And let me know if you have any better ideas. If you go for 1 or 2, can you make some branches please? 😅
|
added 5 commits
March 12, 2026 23:23
Author
|
I've addressed your comments and hopefully fixed the pipeline. We should autosquash the fixup commits before merging, they are just a reviewing aid. |
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.
I am looking into making some larger changes (#705 in particular...), so I wanted to improve the test coverage first to avoid introducing new issues. Making a separate PR to avoid PR bloat, and because the increased test coverage should hopefully be more valuable than hurt, even if the rest of the work never makes it in for some reason.
The bulk of the changes are unit tests in the relevant areas, and should therefore not affect the functionality of the app.
I have made some small changes to the app code when needed or when I ran into what seemed like bugs while making the tests. Plus small refactors (PersistenceController.init, making some functions private).
One notable change to the tests: I've added some repository fixtures. As in, clonable git repos in passKitTests. They are bare repos, so not obvious to review, unfortunately. But they remove the need to have internet when running the PasswordStoreTest. Let me know if you'd prefer keeping a real world test with the remote GitHub repo.
I recommend to review individual commits.