ci: run the scheduled dependency check daily - #183
Merged
Merged
Conversation
The check resolves dependencies fresh on every run, so its only job is to find a breaking release before a contributor does. A weekly cadence means up to seven days between a release and the report; on this repo the window was long enough that faststream 0.7.6 landed, broke the build, and was found by hand rather than by the cron. The repo is public, so the extra runs cost no Actions minutes, and the failure reporter already dedupes: the first failure opens one issue and later ones comment on it, which now reads as a daily cadence rather than a weekly one. Dropped "weekly" from the label description and the issue body, which the schedule no longer matched.
Benchmark gate✅ gate passed
Gated (fails the build): |
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.
scheduled.ymlmoves from0 6 * * 1to0 6 * * *.Why
CI has no committed lockfile (
uv.lockis gitignored), so every run resolves dependencies freshagainst the live index. That makes the scheduled job's only distinct value its timer: it finds a
breaking release before a contributor trips over it. A weekly cadence puts up to seven days between
the release and the report.
That window was not hypothetical here. faststream 0.7.6 shipped, broke
ty checkand five tests,and was found by hand in #182 rather than by the cron. Tomorrow's Monday run would have caught it,
a day late and by coincidence.
The repo is public, so the extra runs consume no Actions minutes.
Noise
The failure reporter already dedupes: the first failure opens one issue, subsequent failures comment
on it. Daily means a persistent failure adds a comment a day instead of one a week, which is the
intended signal rather than noise. A fixed failure stops immediately.
Also dropped "weekly" from the
scheduled-failurelabel description and the issue body, which theschedule no longer matched.
gh label create --forcein the reporter updates the live labeldescription on the next failing run.
Not changed
The check itself.
_checks.ymlis shared with PR CI and is untouched.