Repository navigation
docs: correct the statements the #143 spike disproved - #211
Conversation
The #143 spike (canary runs 36378684976, 36378695414 and 36378719592) showed three things the docs said otherwise: - A gate can check out the candidate and call `uses: ./actions-repo/<action>`, which works in container jobs. So PLAN 0b's "no parameterised-ref design is possible" is wrong, and of 0a's reasons the canary cannot be the gate, only Dependabot is repo-level. - On any event other than pull_request, the preview actions skip change detection, the deploy and the comment without logging it, and still succeed. So a manual dispatch does not exercise the preview deploy (PLAN, Consumers in production), and the preview READMEs' "a notification is logged when deployment is skipped" holds only for Dependabot and fork PRs. - A nested `./` resolves against the workspace. So build-jupyter-cache's sibling chain can be covered before a release by rewriting its nested uses: lines, which TESTING.md and the harness header comment called impossible. PLAN 0c, the #135 row and a new #143 row record what this means for the plan. Whether to re-scope #135 and #136 stays open on #143. The harness change is to a comment only. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SUGTRULyyM87pug2MckrXo
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Several corrected claims depend on the state of the separate canary repository (its publish.yml job-level if:, ci.yml triggers, and cold-build network reads) that cannot be verified from this repository, so final human confirmation is warranted.
Review effort: Balanced
Findings: None
What changed in this PR
This PR corrects several documentation statements that the #143 spike disproved, and records what the spike means for the release-gating plan (#138/#135/#136). It touches only docs and one workflow header comment — no action logic changes. The corrections cover the preview actions' skip-without-logging behaviour on non-pull_request events, and the feasibility of a candidate-checkout gate design (uses: ./actions-repo/<action>) that the earlier docs had called impossible.
Changes:
- Rewrites the preview READMEs' Security sections to explain that on any non-
pull_requestevent both actions silently skip the deploy/comment and still succeed with an emptydeploy-url. - Updates
PLAN.mditems 0a–0c, the canary claim, the disposition table (#135/#143 rows), andLast updated, plusTESTING.mdand thetest-actions.ymlheader comment, to reflect that rewriting the four siblinguses:lines to local paths can cover thebuild-jupyter-cachechain pre-release. - Adds two
[Unreleased]Documentation entries toCHANGELOG.md.
| File | Description |
|---|---|
preview-netlify/README.md |
Corrects Security section: skip-notification only for Dependabot/fork PRs; silent skip with empty deploy-url on other events. |
preview-cloudflare/README.md |
Same correction, noting both deploy-url and deployment-url are empty. |
docs/dev/PLAN.md |
Updates 0a/0b/0c, canary claim, disposition table, and Last updated to record the spike's findings. |
docs/dev/TESTING.md |
Corrects the build-jupyter-cache sibling-chain row: coverable via local-path rewrite, not "impossible by construction". |
.github/workflows/test-actions.yml |
Header comment mirrors the TESTING.md correction (comment-only). |
CHANGELOG.md |
Two Documentation entries under [Unreleased]. |
Verification notes: the preview action code confirms the deploy/comment steps are gated on github.event_name == 'pull_request', so non-PR events leave deploy-url/deployment-url empty with no skip-log; the "four uses: lines" claim matches the one setup-environment@v0 and three build-lectures@v0 call sites in build-jupyter-cache/action.yml; PLAN.md tables retain consistent cell counts; the preview READMEs contain no generated-doc markers, so the manual edits won't disturb generate-docs.py. I found no issues to flag.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…chapters #211 added a paragraph to the preview-netlify and preview-cloudflare READMEs: on any event other than pull_request, the actions skip change detection, the deploy and the comment without logging it, and succeed with empty outputs. This branch turns those READMEs into generated signposts, so they are regenerated with scripts/generate-docs.py, and the paragraph's facts move into both chapters' Behaviour sections. The CHANGELOG and PLAN conflicts were two entries added at the same place: both are kept, newest first. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FeKTxWtkzVMyPbqeSgM2Tb
#214 and this branch each put a new first entry on PLAN's "Last updated" line. Both are kept, this branch's first since it lands last, followed by #214's and then #211's. #214's #102 row and this branch's item 10 row do not overlap. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FeKTxWtkzVMyPbqeSgM2Tb
Corrects the docs that the #143 spike showed to be wrong, and records what the spike means for the release-gating plan (#138). The spike's evidence is in its findings comment, from canary runs 36378684976 (push), 36378695414 (workflow_dispatch) and 36378719592 (pull_request).
Only docs and a comment change: no action code, and no decisions made.
What changes
preview-netlify/README.md,preview-cloudflare/README.mdpull_request, both actions skip change detection, the deploy and the PR comment without logging it, and still succeed with an emptydeploy-url. The section now says so, and tells callers to checkdeploy-url.docs/dev/PLAN.mduses: ./actions-repo/<action>, which works in container jobs. With fouruses:lines rewritten, it also reachesbuild-jupyter-cache's sibling chain, whichv0-nextcannot. The row keepsv0-nextand notes what the checkout design does not test: how consumers fetch the actions.@v0pin are set per workflow; the spike ran candidate code at a pinned digest from the canary. The row now says where the gate lives is open on Spike: settle the two gate-mechanism assumptions before building for them #143, and that the fixture it needs isn't in the canary yet (its cold builds fetch intersphinx inventories).publish.yml's job-levelif:accepts only tag pushes, so a scheduled or dispatched run would skip its only job.ci.ymlwould skip the preview deploy.Last updated: a new entry.docs/dev/TESTING.md, and the header comment in.github/workflows/test-actions.ymlbuild-jupyter-cache's sibling chain is impossible "by construction". A nested./resolves against the workspace, so rewriting those fouruses:lines to local paths before the step runs would cover it. The spike did exactly that in the canary.action.yml.CHANGELOG.md[Unreleased]→ Documentation.Not in this PR
@v0and:latest, and that its builds need no network. That README lives in another repository, and how to rewrite its "not the release gate" section depends on the Spike: settle the two gate-mechanism assumptions before building for them #143 decision.v0-next, whether Release gate fixture: content and hygiene for the canary's gate.yml #136 stays a separate repo, and the preview-actions fix.Checks run locally
python3 scripts/generate-docs.py --checkpasses. The preview READMEs have no generated blocks yet; their chapters come with docs(manual): chapters for the remaining seven actions, and delete QUICK-REFERENCE.md #190..github/workflows/test-actions.ymlstill parses. The gate'suses: ./<action>detection counts the same five actions, since comment lines never match its anchored pattern.PLAN.md's tables still has the same number of cells as its header.🤖 Generated with Claude Code
https://claude.ai/code/session_01SUGTRULyyM87pug2MckrXo
Generated by Claude Code