Skip to content

Fix automatic update checks across month boundaries - #809

Merged
kaikramer merged 1 commit into
kaikramer:mainfrom
ShiroKSH:fix-auto-update-interval
Aug 3, 2026
Merged

Fix automatic update checks across month boundaries#809
kaikramer merged 1 commit into
kaikramer:mainfrom
ShiroKSH:fix-auto-update-interval

Conversation

@ShiroKSH

@ShiroKSH ShiroKSH commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Calculate automatic update-check intervals from total elapsed calendar days.
  • Add regression coverage for the configured 14-day boundary and a month transition.

Root cause

The prior calculation used the residual day component after whole months. A check last run on July 1 could therefore be skipped on August 1, despite 31 elapsed days.

Validation

  • Focused CheckUpdateAction test
  • Full Gradle test suite

@kaikramer
kaikramer merged commit 09403aa into kaikramer:main Aug 3, 2026
6 checks passed
@kaikramer

Copy link
Copy Markdown
Owner

Thank you very much for fixing that bug!

@kaikramer kaikramer added this to the 5.7.0 milestone Aug 3, 2026
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.

2 participants