docs: cron intervals are requested cadence, not a guarantee - #934
Open
tend-agent wants to merge 1 commit into
Open
docs: cron intervals are requested cadence, not a guarantee#934tend-agent wants to merge 1 commit into
tend-agent wants to merge 1 commit into
Conversation
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.
Both adopter-facing descriptions of the scheduled workflows state their cron intervals as if GitHub honours them. It does not — GitHub runs
scheduletriggers on a best-effort basis and drops ticks under load — so an adopter reading "Every 15 minutes" over-estimates how quickly the notifications safety net comes back around. This adds one sentence to the README's workflow table preamble and to the## Workflowssection ofdocs/tend.example.yaml(mirrored into the install-tend reference by thesync-install-tend-referenceshook). No behavior change; no numbers that will age.The hedge is placed on the general "scheduled workflows" preamble rather than on the
notificationsrow, because the drift is not workflow-specific: the same stretch that produced the measurements below also delayed tend's own hourlyreview-reviewerscron by 40 minutes on this repo.Evidence
Measured on
PRQL/prql, whosetend-notifications.yamlcarries the generatedcron: "*/15 * * * *".review-reviewershas recorded thecreated_at-to-created_atgap between consecutivetend-notificationsruns every hour since early July: 148 measures, 113 of them out of band (out of band = >18.0 min, i.e. 1.2× the 15 min nominal). That is 76% of all measures, across weeks, on an unmodified generated workflow.This window's two measures continue a stretch of the widest gaps the counter has recorded:
githubstatus.com/api/v2/incidents/unresolved.jsonreturned[]throughout, so this is ordinary scheduler behavior rather than an incident.Gate assessment
review-reviewershas carried parked for ~150 windows behind an explicit five-consecutive-out-of-band-measures trigger; the trigger reached six at the end of this window and the prior entry recorded that the next run should act rather than re-park it.The counter tracked here is environmental, not a bot-behavior defect — the runs themselves are healthy (each new tick is an ~11 s deterministic pre-check that finds an empty inbox and skips the agent entirely). What was wrong was only the documentation's implied cadence, which is what this PR fixes. With this landed the counter is discharged and stops being carried.
Evidence log: https://gist.github.com/192514ea2c36586f9b7f842a482d62ab