Repository navigation
docs(plan): close the P0 alerting item, and correct its diagnosis - #126
Merged
Merged
Conversation
#122 fixed container-mode failure alerting, so PLAN's P0 section — "broken safety net" — is now empty. Leaving it as-is overstates the repo's risk. Worth more than a strikethrough: the item's stated diagnosis was wrong. Missing `gh` was real but never reached. The step invoked its script through `${{ github.action_path }}`, which expands to the runner's path, and in a container job the action is mounted at /__w/_actions/... — so bash got a nonexistent path and exited 127 before the script ran. A third bug nobody had noticed broke alerting on hosted runners too: `gh issue create --label` validates labels client-side and no consumer has `build-failure` or `automated`. Each remedy the item proposed would have fixed only one of the three, and the suggested container test asserting `gh` is on PATH is now moot. Recording that so the next person reading a closed item does not inherit the wrong model. P1 item 2 is closed the same way, with the correction that the execution reports were not absent before — only undiscoverable, buried in the full _build artifact. Refs #83, #122 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates PLAN.md to close and correct the diagnosis of the former P0 “broken safety net” alerting item, reflecting the fixes delivered in #122 and documenting why earlier proposed remedies would have been incomplete.
Changes:
Copilot review. Closing the backlog row left two other places still asserting the opposite, which is the exact failure mode this repo keeps hitting — a document that contradicts itself one section apart. "Current state" said container-mode alerting was broken and pointed at "the P0 item below", which the same PR had just marked empty. Replaced rather than deleted: there IS still a gap in that area — a setup-environment failure alerts nobody, because all-passed ends up unset rather than 'false' and every guard skips (#123). The #83 disposition row was wrong twice over. It claimed the script-not-found 127 was already fixed; it was not — that was the PRIMARY bug, and #122 fixed it. And it listed the gh gap and missing reports as remaining, both of which #122 closed. Corrected to record what the three bugs actually were, so a reader does not inherit the old model. "Last updated" bumped to August 2026. The "Backlog (July 2026 review)" heading stays: it names when the review happened, which is accurate provenance rather than staleness, and individual items carry their own closure notes. Refs #83, #122, #123 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Found by sweeping the file rather than by review. Backlog item 14 proposes hardening create-failure-issue.sh, but #122 deleted that script outright; every concern it listed is structurally gone under actions/github-script. My own corrected #83 row also pointed at item 14 as remaining work, which was wrong. Also fixes a reference to "the P0 item above" that dangled once P0 emptied. Refs #83, #122 Co-Authored-By: Claude Opus 5 (1M context) <[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.
PLAN's P0 — broken safety net section is now empty: #122 fixed container-mode failure alerting. Leaving the item open overstates the repo's current risk to anyone reading the plan.
The diagnosis was wrong, and that's worth recording
A strikethrough alone would leave the next reader with the wrong model. The item said:
Missing
ghwas real, but it was never reached. The step invoked its script through${{ github.action_path }}, which expands to the runner's path; in acontainer:job the action is mounted at/__w/_actions/..., so bash got a nonexistent path and exited 127 before the script ran. And a third bug nobody had noticed broke alerting on hosted runners too:gh issue create --labelvalidates labels client-side, and no consumer hasbuild-failureorautomated.Each proposed remedy would have fixed exactly one of the three. Installing
ghin both images — the option the wording steers toward — fixes neither the path nor the labels, and would have meant rebuilding and republishing two multi-GB images to observe no change at all. The suggested container test assertingghis on PATH is now moot, since nothing shells out togh.P1 item 2 is closed the same way, with its own correction: the execution reports were not absent before, only undiscoverable — buried inside the full
_buildartifact, and genuinely absent only whenupload-artifactwas off.This PR is also the gate's first live skip test
Deliberate. It touches only
PLAN.md, which is on the gate's ignore list, so the run should skip all 14 action jobs whileAction harness: all checksstill reports green — the branch that makes the check safe to require, and the one shape not yet exercised on a real PR.Under the old
paths:filters this PR would have produced no workflow run at all, and a required check would have hung forever. That was demonstrated twice this week, on #119 and #121.I checked the diff against the gate's
IGNOREDpattern before pushing, andPLAN.mdmatches. Worth confirming on the run itself: expectevery changed path is on the ignore listfrom the gate, and✅ no harness-relevant paths changed — all 14 jobs skippedfrom the summary.Refs #83, #122, #116
🤖 Generated with Claude Code