Skip to content

ci: alarm on scheduled-workflow failures via auto-managed issue - #58

Merged
spdotdev merged 1 commit into
mainfrom
ci/scheduled-failure-alarm
Aug 28, 2026
Merged

spdotdev merged 1 commit into
mainfrom
ci/scheduled-failure-alarm

Conversation

@spdotdev

Copy link
Copy Markdown
Owner

A failing scheduled workflow sends no notification anywhere by default — that's how the android nightly instrumented run stayed red unnoticed from 2026-07-24 to 2026-08-28 (fixed in inventory-android#57).

This adds a report job to the scheduled workflow: a failed scheduled run opens (or bumps) a nightly-failure/scheduled-failure labeled tracking issue, and the next green run closes it — so red surfaces in GitHub notifications the first day instead of rotting. Push/PR failures are unaffected (already visible on the PR).

Script logic dry-run tested with a stubbed gh; YAML validated.

https://claude.ai/code/session_01DgpTaTHThASmowZxsvHPfn

A failing scheduled workflow sends no notification anywhere by default —
that's how the android nightly stayed red unnoticed from 2026-07-24 to
2026-08-28. A failed scheduled run now opens (or bumps) a labeled
tracking issue and the next green run closes it, so red surfaces in
notifications the first day.

Claude-Session: https://claude.ai/code/session_01DgpTaTHThASmowZxsvHPfn
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@spdotdev
spdotdev merged commit 82d3688 into main Aug 28, 2026
4 checks passed
@spdotdev
spdotdev deleted the ci/scheduled-failure-alarm branch August 28, 2026 16:40
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