Repository navigation
fix(ci): let the e2e failure reporter find its own repository - #858
Merged
Merged
Conversation
`report-failure` calls `gh issue list/comment/create` but deliberately does
not check out the repo, since it only touches the API. `gh` infers the
target repository from git remotes, so with no checkout every call died at
failed to run git: fatal: not a git repository
and the job whose entire purpose is to announce a failing nightly announced
nothing. `GH_REPO` names the repository explicitly, which is cheaper than
adding a checkout this job has no other use for.
The job only runs on failure, so it was never exercised until the first
nightly failure on 2026-09-13 — and then failed on every run since. Eight
consecutive e2e failures went unreported, which is why this was found by
someone noticing the workflow was red rather than by the mechanism built to
say so.
Co-Authored-By: Claude Opus 5 <[email protected]>
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 silence, not the failure
The nightly
e2eworkflow has failed on every scheduled run since 2026-09-13 — eight consecutive nights. Nobody was told, because the job that exists to tell us was failing too.report-failurecallsgh issue list/comment/createbut deliberately does not check out the repo, since it only touches the API.ghinfers the target repository from git remotes, so with no checkout every call died at:GH_REPO: ${{ github.repository }}names it explicitly, which is cheaper than adding a checkout this job has no other use for.Why it was never caught
The job is
if: failure() && github.event_name == 'schedule', so it had never run until the first nightly failure on 2026-09-13. Its first execution was also its first failure, and it has failed identically every night since.That is the uncomfortable part: this was found by a human noticing the workflow was red, not by the mechanism built to say so. A reporter that only runs on failure is only ever exercised in the case you cannot afford it to be broken.
Scope
This fixes the reporting, not the underlying e2e failure.
mesh-http,gateway-httpandudsare still failing (build,waypointandreplicatorpass) and are being investigated separately — the first failing run followed the Gateway API v1.6.1 → v1.6.2 bump in #751, which is the leading suspect but not yet confirmed.Verification
Cannot be verified before merge: the job only runs on
scheduleand only on failure, so no PR run exercises it. Since e2e is currently failing nightly, the next scheduled run after merge will exercise it — and should file the issue that eight nights should already have filed. If it does not, that is a second bug and this PR did not fix it.🤖 Generated with Claude Code