Repository navigation
docs(plan): refresh after v0.12.0 closed the July 2026 audit; finish PLAN item 15 - #187
Conversation
…PLAN item 15 v0.12.0 delivered the rest of the #110 audit (#105-#109, #99), so the plan catches up: - Current state: eight actions, v0.12.0 is the latest release and v0 points at it (a53dbe4); a close-out bullet for the audit and its staged release. - Consumers: the two follow-ups outside this repo. Six consumers still pass publish-gh-pages' cname (now a warning, no effect), and the canary should gain a permanent preview-cloudflare step against qe-preview-canary. - Backlog: items 7 (asset-url) and 8 (Netlify token into env:) done; item 5's note that the wrangler capture was still fatal is resolved by #174; item 10 absorbed by the user manual (#178); item 13 drops a stale "no open PRs"; item 15 records what is done and keeps #107's --path-output residual; new item 18 records the ${{ }} expressions still expanded inside run: scripts. - Dispositions: #105-#109, #99 and #110 closed; #135's staging note generalised to any release that changes action behaviour. PLAN item 15's last two small fixes: - scripts/check-latex-versions.sh runs under set -euo pipefail, so a failed apt-get update fails the run instead of reporting from a stale index. The per-package lookup keeps || true: grep exits 1 for a package apt does not know, which under pipefail would abort before the NOT FOUND branch. - restore-jupyter-cache/README.md's status sample matches the action's output: no "Age Information" block (never printed), the "Directory Sizes" block it does print, the "Save Cache" line, and the Cache Hit / Matched Key shape of a read-only prefix restore. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gmq1LGR87Md5rq4RJshmMp
- PLAN: the exact pins are a release behind since v0.12.0; only lecture-python.myst (on @v0) sees the cname warning today; the canary can test a candidate when staged by hand; item 18 lists every caller-supplied input still expanded in run: (adds html-copy-pdf, html-copy-notebooks, save-cache); item 14's `||` is escaped so its row stops splitting; the dispositions header says which rows were updated when. - restore-jupyter-cache README: the sample's sizes and file count add up, du prints 6.0M, placeholders match the README's {env-hash} notation, and the prose qualifies the never-exact claim to the generated key and says the report's Cache Hit is actions/cache's exact-match flag, not the action's cache-hit output. - CHANGELOG: "delivered" rather than "closed", and the LaTeX script gains (not keeps) its `|| true`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gmq1LGR87Md5rq4RJshmMp
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gmq1LGR87Md5rq4RJshmMp
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The only functional change is a verified one-line shell hardening in a workflow_dispatch-only script, and the remaining documentation edits accurately match the code they describe.
Review effort: Balanced
Findings: None
What changed in this PR
This is a documentation-maintenance PR that refreshes docs/dev/PLAN.md after the v0.12.0 release closed the July 2026 maintenance audit (#110), and finishes the two small remaining fixes tracked under PLAN item 15. It fits the repo's CONTRIBUTING.md convention of updating the plan whenever a tracked issue closes, and completes a shell-hardening fix plus a README accuracy fix.
Changes:
- Harden
scripts/check-latex-versions.shwithset -euo pipefail(so a failedapt-get updatefails the run instead of reporting stale versions), guarding the per-packagegrepwith|| trueso unknown packages still reach theNOT FOUNDbranch. - Correct the
restore-jupyter-cache/README.mdcache-status sample to match the action's real output (removes the never-produced "Age Information" block, adds "Directory Sizes"/"Save Cache", and shows the read-only prefix-restoreCache Hit/Matched Keyshape). - Refresh
docs/dev/PLAN.md(current state, consumers, backlog dispositions, new item 18) and add[Unreleased]CHANGELOG.mdentries.
| File | Description |
|---|---|
scripts/check-latex-versions.sh |
Adds set -euo pipefail and a || true guard on the per-package version lookup. |
restore-jupyter-cache/README.md |
Rewrites the cache-status sample and adds explanatory prose to match the action's actual output. |
docs/dev/PLAN.md |
Updates current state (8 actions, v0.12.0), consumer follow-ups, backlog dispositions, and adds item 18. |
CHANGELOG.md |
Adds [Unreleased] Documentation and Fixed entries for the above changes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
v0.12.0 delivered the rest of the July 2026 audit (#110: #105–#109, #99), and
v0now points at it (a53dbe4). This bringsdocs/dev/PLAN.mdup to date with that release and finishes PLAN item 15's two remaining small fixes.CONTRIBUTING.md's doc-update matrix asks for a PLAN update whenever a tracked issue closes.docs/dev/PLAN.mddeploy-cloudflare, deploy-cloudflare: publish private sites to a Cloudflare Worker behind Access, and prove they are gated #163);v0points at it;publish-gh-pages'cname:, which has no effect on the deploy. Onlylecture-python.myst, on@v0, sees the new warning today;preview-cloudflare@v0step againstqe-preview-canary.asset-url, fix(actions): #107 correctness batch and #109 code items #173) and 8 (Netlify token intoenv:, fix(preview-*): surface deploy errors, pin the CLIs by lockfile, keep the Netlify token off argv (#105) #174) are done;||is escaped, so its table row stops splitting;--path-outputresidual;${{ }}expressions still expanded insiderun:scripts. None is exploitable today, but it is the pattern the repo otherwise avoids.PLAN item 15 leftovers
scripts/check-latex-versions.shnow runs underset -euo pipefail. A failedapt-get updateused to be ignored, so the script reported versions from a stale package index; now it fails the run. The per-package lookup gains|| true, becausegrepexits 1 for a package apt does not know, and underpipefailthat would abort before theNOT FOUNDbranch.restore-jupyter-cache/README.md: the cache status sample now matches what the action prints:Save Cacheline it does print are added;Cache Hit/Matched Keyshape is the one a read-only prefix restore produces.CHANGELOG entries are under
[Unreleased].Verification
check-latex-versions.shwas run against stubapt-get/apt-cache/sudo/lsb_release:NOT FOUNDfor a package apt does not know;set -euo pipefailwithout the|| trueaborts at that package (exit 1);apt-get updatenow fails the script (exit 100).A review agent also ran it against a real Ubuntu 24.04 apt index.
The README sample was checked line by line against the "Cache status report" step in
restore-jupyter-cache/action.yml.Every claim in the PLAN edits was fact-checked against the code, the git history and the CHANGELOG by independent review agents. Their corrections are in the second commit.
Every table row in the edited files has the same pipe count as its header.
scripts/check-latex-versions.shis outside the harness ignore list, so the full harness runs on this PR. The workflow that uses the script isworkflow_dispatch-only.🤖 Generated with Claude Code
https://claude.ai/code/session_01Gmq1LGR87Md5rq4RJshmMp
Generated by Claude Code