Skip to content

fix(0223): no duration alarm for supply, whose run length is a budget - #318

Merged
stkrolikiewicz merged 1 commit into
developfrom
fix/0223_supply-duration-alarm-budgeted-worker
Sep 15, 2026
Merged

stkrolikiewicz merged 1 commit into
developfrom
fix/0223_supply-duration-alarm-budgeted-worker

Conversation

@stkrolikiewicz

Copy link
Copy Markdown
Collaborator

Summary

  • Found while preparing the deploy of fix(0223): say what OK means on worker alarms; give supply liveness #317, before it reached production: supply's Duration.Maximum is ~240.5 s every single run, because its Horizon walk stops at DEFAULT_TIME_BUDGET_SECS = 240 (task 0084) against a 300 s timeout — exactly the 80% threshold addWorkerHealthAlarms uses. Deployed as merged, supply-duration-near-timeout would have latched on its second evaluation and been re-surfaced by the 0214 digest every day: the failure 0223 exists to remove, self-inflicted.
  • WorkerHealthAlarmProps.noDurationAlarm?: string — set to the reason — skips the duration alarm for a worker whose run length is a budget rather than a symptom. Same pattern as WORKERS_WITHOUT_HEALTH_ALARMS: the exception is data with a reason, not a comment. Liveness (-no-invocations) is unaffected.
  • Alarm strip 54 → 53; verify-dashboard passes. Nothing else changes.

#317 is merged but not yet deployed; this goes out with it in one Observability deploy.

…dget

Measured before the first deploy of #317: supply's Duration.Maximum is
~240.5 s every run, because its Horizon walk stops at
DEFAULT_TIME_BUDGET_SECS = 240 (task 0084) against a 300 s timeout — exactly
the 80% threshold the duration alarm uses. Deployed as merged, the new
supply-duration-near-timeout alarm would have latched on its second
evaluation and been re-surfaced by the 0214 digest daily: the failure 0223
exists to remove, self-inflicted.

addWorkerHealthAlarms gains noDurationAlarm, set to the reason, which skips
the duration alarm and leaves liveness untouched. Alarm strip 54 -> 53.
@stkrolikiewicz
stkrolikiewicz merged commit fe50cf9 into develop Sep 15, 2026
4 checks passed
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.

1 participant