Skip to content

docs(plan): refresh after v0.12.0 closed the July 2026 audit; finish PLAN item 15 - #187

Merged
mmcky merged 3 commits into
mainfrom
claude/sweet-goldberg-d9pyll
Sep 25, 2026
Merged

mmcky merged 3 commits into
mainfrom
claude/sweet-goldberg-d9pyll

Conversation

@quantecon-services

Copy link
Copy Markdown
Collaborator

v0.12.0 delivered the rest of the July 2026 audit (#110: #105–#109, #99), and v0 now points at it (a53dbe4). This brings docs/dev/PLAN.md up 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.md

PLAN item 15 leftovers

  • scripts/check-latex-versions.sh now runs under set -euo pipefail. A failed apt-get update used to be ignored, so the script reported versions from a stale package index; now it fails the run. The per-package lookup gains || true, because grep exits 1 for a package apt does not know, and under pipefail that would abort before the NOT FOUND branch.
  • restore-jupyter-cache/README.md: the cache status sample now matches what the action prints:
    • the made-up "Age Information" block is gone;
    • the "Directory Sizes" block and the Save Cache line it does print are added;
    • the Cache Hit / Matched Key shape is the one a read-only prefix restore produces.

CHANGELOG entries are under [Unreleased].

Verification

  • check-latex-versions.sh was run against stub apt-get / apt-cache / sudo / lsb_release:

    • it completes and prints NOT FOUND for a package apt does not know;
    • a plain set -euo pipefail without the || true aborts at that package (exit 1);
    • a failing apt-get update now 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.sh is outside the harness ignore list, so the full harness runs on this PR. The workflow that uses the script is workflow_dispatch-only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Gmq1LGR87Md5rq4RJshmMp


Generated by Claude Code

…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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh with set -euo pipefail (so a failed apt-get update fails the run instead of reporting stale versions), guarding the per-package grep with || true so unknown packages still reach the NOT FOUND branch.
  • Correct the restore-jupyter-cache/README.md cache-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-restore Cache Hit/Matched Key shape).
  • Refresh docs/dev/PLAN.md (current state, consumers, backlog dispositions, new item 18) and add [Unreleased] CHANGELOG.md entries.
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.

@mmcky
mmcky merged commit 2511196 into main Sep 25, 2026
25 checks passed
@mmcky
mmcky deleted the claude/sweet-goldberg-d9pyll branch September 25, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants