Repository navigation
ci(e2e): auto-file an issue when the nightly run fails - #591
Merged
Merged
Conversation
The suite sat red for three consecutive nights (07-23..07-25) before anyone noticed. A scheduled run that fails notifies nobody and leaves no artifact, so a real regression -- the mesh-DNS decoupling breaking the multi-cluster harnesses (#589) -- stayed invisible until it was found by chance. Adds a report-failure job that opens, or comments on, a single rolling issue naming the failed jobs and linking the run. Two deliberate choices: it is scoped to `schedule`, because PR runs already surface failures in the PR and auto-filing those would be noise; and it reuses one open issue rather than filing per night, since three duplicate issues is exactly how people learn to ignore them -- the failure mode this is meant to prevent. Dedupe is by title rather than label so the job never depends on a label existing. `issues: write` is scoped to this job instead of widening the workflow's top-level `contents: read`. Refs #589. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR
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.
The nightly e2e sat red for three consecutive nights (07-23..07-25) before it was noticed. A scheduled run that fails notifies nobody and leaves no artifact, so a genuine regression — the mesh-DNS decoupling breaking the multi-cluster harnesses (#589) — stayed invisible until found by chance. That silence is a bigger problem than the bug itself.
Change
A
report-failurejob that opens (or comments on) a single rolling issue naming the failed jobs and linking the run.Design choices
schedule. PR runs already surface failures in the PR; auto-filing those would be pure noise.issues: writescoped to this job, rather than widening the workflow's top-levelcontents: read.Verified locally: the awk extraction of failed jobs from the
needs.*.resultcontext, and thegh issue list --search 'in:title ...'dedupe query (returns empty cleanly via// empty). YAML parses and the job graph is correct.Refs #589.
🤖 Generated with Claude Code