Repository navigation
Use hash-based change detection for feeds and entries - #433
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #433 +/- ##
==========================================
- Coverage 94.15% 94.14% -0.01%
==========================================
Files 110 110
Lines 14190 14181 -9
Branches 1041 1039 -2
==========================================
- Hits 13360 13351 -9
Misses 752 752
Partials 78 78 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
lemon24
requested changes
Nov 15, 2026
Owner
There was a problem hiding this comment.
We should also remove FeedForUpdate.updated and EntryForUpdate.updated (cleaning up the hash logic was specifically so we can remove them). (This also entails updating the relevant queries in reader._storage._feeds and reader._storage._entries.)
Thank you!
Owner
|
Merged, thank you for the PR! |
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.
Fixes #431
Summary of Changes:
new.updated != old.updated) from bothshould_update_feed()andshould_update_entry().lastBuildDatetimestamps no longer trigger misleading update comparisons when actual content hasn't changed.'updated'fromEntryData._hash_exclude_so entry timestamp changes are naturally captured via the hash mechanism without bypassing the hash update limits.tests/test_reader.py. All 2,200+ unit tests continue to pass cleanly.