Skip to content

Conversation

@G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Sep 16, 2025

This updates the cleaning logic to not do anything if updating is not allowed, in which case we instead mark if the snapshot needs updating (aka if it's dirty).

While the actual fix is just a few lines, I've also renamed a few variables and added some comments to make it easier (imo) to understand the logic - I'm happy to change or revert any of those if desired 🙂

Closes #134
Resolves #133

@G-Rath
Copy link
Contributor Author

G-Rath commented Sep 16, 2025

I've opened #137 to address the linting failure

Copy link
Owner

@gkampitakis gkampitakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking care of this and the time spent to properly document it and on the issue to explain to me what's the problem 🙇

@gkampitakis gkampitakis merged commit 037cb97 into gkampitakis:main Sep 17, 2025
4 checks passed
@G-Rath G-Rath deleted the gkampitakis/dirty2 branch November 25, 2025 17:57
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.

[Bug]: sorting is not done for new snapshots

2 participants