Repository navigation
Description
Docs-vs-code mismatch from the 2026-07 maintenance audit: READMEs, templates and guides document inputs that do not exist, omit inputs that do, and point at a removed action. Distinct from the container/version drift in #106.
Documented features that do not exist
QUICK-REFERENCE documents an alias input preview-netlify does not accept — the "Preview with Custom URL" section at docs/QUICK-REFERENCE.md:156-165 is fictional: the action's only inputs are netlify-auth-token, netlify-site-id, build-dir, lectures-dir (preview-netlify/action.yml:5-18), and the alias is hardcoded --alias="pr-${PR_NUMBER}" at :76. Fix: delete and retitle, or add the input.
MIGRATION-GUIDE's collab.yml snippet passes two build-lectures inputs that never existed — docs/MIGRATION-GUIDE.md:376-379 passes build-html: 'true' and cache-workflow: 'cache.yml'; neither is in build-lectures/action.yml. Effect: "Unexpected input" warnings, a silent default HTML build, dropped cache-restore intent. Fix: builder: 'html', source-dir: 'lectures', plus a preceding restore-jupyter-cache@v0 step.
build-lectures/README.md points at a removed action — :160 says "LaTeX packages (use setup-latex action)"; no such directory exists, and README.md:22 calls it replaced by setup-environment. The mechanism is setup-environment with install-latex: 'true' (demonstrated at :272). The seven-row inputs table at build-lectures/README.md:22-28 omits failure-artifact-name (build-lectures/action.yml:38, consumed at :179) — the only guard against artifact-name collisions in multi-build jobs.
Docs behind behaviour changes
README and ARCHITECTURE still say restore-jupyter-cache "never saves" — README.md:54 and docs/ARCHITECTURE.md:70. save-cache has existed since v0.8.0 (restore-jupyter-cache/action.yml:34, gating steps at :61, :80, :134) and has worked since v0.9.0 (#104). CHANGELOG.md:300-303 claims the docs were fixed — only the action README and QUICK-REFERENCE were. Fix: "Read-only by default; optional PR-scoped save-cache".
Docs say the _build artifact uploads on success; v0.8.0 made it failure-only — partly fixed: prose at build-jupyter-cache/README.md:161-164 and the input description at build-jupyter-cache/action.yml:23 are now correct. Still wrong: the ASCII flow diagram at build-jupyter-cache/README.md:142 puts "Upload artifact" under "4a. ALL PASSED", and the inputs row at :24 reads a bare "Upload _build as artifact". Real gate: build-jupyter-cache/action.yml:349 (inputs.upload-artifact == 'true' && steps.status.outputs.all-passed != 'true') — no build-cache-<run_id> artifact from a green run.
Examples that fail for adopters
Workflow examples omit permissions:, unlike the templates they mirror (templates/cache.yml:50-53) — build-jupyter-cache/README.md:84-87 now declares contents: read / issues: write / packages: read (v0.11.0, #122), but preview-netlify/README.md:83-85 and preview-cloudflare/README.md:86-88 declare no block at all, and the root quick-start at README.md:69-71 declares only contents: read / packages: read yet ends with preview-netlify (README.md:86), which calls github.rest.issues.createComment at preview-netlify/action.yml:179 using github.token (:110) — so it needs pull-requests: write and 403s without it.
Templates and docs recommend actions/checkout@v4 while the repo's own workflows are on @v7 — templates/ci.yml:47, templates/cache.yml:57, templates/publish.yml:54; 36 occurrences in 18 files, vs @v7 in .github/workflows/test-actions.yml:91. Two @v5 stragglers at docs/MIGRATION-GUIDE.md:190 and :265 survive a plain v4 → v7 replace.
The dependabot guard against that is a no-op — adding - "/templates" to the github-actions directories list at .github/dependabot.yml:78-86 bumps nothing: per the file's own comment at :73-76, that ecosystem scans .github/workflows/ for / and otherwise only the named directory's own action.yml; templates/ has neither, and its three actions/checkout@v4 pins are the only third-party pins there. Guard repo-side: a test-harness assertion that templates/ third-party pins match .github/workflows/.
templates/publish.yml's release-asset block cannot work as shipped — the commented block at :111-116 warns at :113 that it "Only works when triggered by a tag push", but the triggers at :19-25 are push-to-main plus workflow_dispatch, no tag trigger, and permissions at :43 are contents: read — the unmentioned blocker being the missing contents: write. Fix: document both, or state that release assets are unsupported.
build-jupyter-cache forces install-latex for pdflatex but exposes no latex-requirements-file input — build-jupyter-cache/action.yml:153 passes install-latex: ${{ steps.parse-builders.outputs.run-pdflatex }} into setup-environment with no requirements-file input, so the callee default applies and setup-environment/action.yml:151-159 hard-fails (::error::, exit 1) when that file is missing; no tracked example exists in the repo, yet templates/cache.yml:44-48 advertises the standard-runner path. Standard (non-container) mode only.
Smaller items
cnamewrites a CNAME file the native Pages deploy path does not read —publish-gh-pages/action.yml:60-64writes it intobuild-dir; the deploy chain isconfigure-pages@v6(:68) →upload-pages-artifact@v5(:71) →deploy-pages@v5(:78).templates/publish.yml:12says configure the custom domain in Settings → Pages while:109offerscname:. Confirm, then either drop it and point mentions at Settings → Pages, or keep it with a::warning::that it has no effect.- Cache key and path —
setup-environment/README.md:132anddocs/QUICK-REFERENCE.md:180render the standard-mode key asconda-{os}-{hash(environment.yml)}-{version}, dropping the{environment-name}andpy{python-version}segments of the real key atsetup-environment/action.yml:134, so it reads as if a Python bump will not invalidate the cache.setup-environment/README.md:133also lists/home/runner/conda_pkgs_dir, whichsetup-environment/action.yml:133does not cache — only$CONDA/envs/{environment-name}. - Fabricated "LaTeX cache hit" log line —
docs/QUICK-REFERENCE.md:286, in the sample log block at:284-288; no LaTeX caching exists in the repo.docs/MIGRATION-GUIDE.md:439repeats it in thegit commit -mmessage migrators copy ("Adds caching for conda, pip, and LaTeX") — a one-word deletion. README.md:207says test via@main;CONTRIBUTING.md:121says reference your branch, andCONTRIBUTING.md:57-62shows av0force-move that README's step 5 (README.md:209) omits.
Folding in #99, and sequencing
#99 — its "Pages 404?" snippet at docs/QUICK-REFERENCE.md:312-316 recommends contents: write; same file, same fix, so close it here. Only that half is live: the cache-key half is mis-attributed — docs/MIGRATION-GUIDE.md:244 describes build-jupyter-cache's key (really build-{env-hash}-{update-hash}-{run-id}, built at build-jupyter-cache/action.yml:95), not setup-environment's, whose key is the genuinely wrong one covered above.
Sequencing — PLAN item 10 (PLAN.md:80) deletes docs/README.md and shrinks QUICK-REFERENCE.md to a one-screen link table. Four items here — the alias: recipe, the cache-key row, the fabricated log line and #99's 404 snippet — live in QUICK-REFERENCE.md, so make that trim decision first.
Checklist
-
— done in v0.11.0 (fix(build-jupyter-cache): make container-mode failure alerting actually work (#83) #122)permissions:block inbuild-jupyter-cache/README.md -
— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175):permissions:blocks in the three remaining examples:preview-netlify/README.md:83-85,preview-cloudflare/README.md:86-88, andpull-requests: writeatREADME.md:69-71contents: read+pull-requests: writein all three -
— done in v0.12.0: templates in templates: move actions/checkout onto its Node 24 major #168, docs in docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175; nocheckout@v4→@v7acrosstemplates/and docs (36 sites in 18 files), plus the two@v5stragglers atdocs/MIGRATION-GUIDE.md:190,265actions/checkout@v4or@v5is left anywhere in the repo -
Add a repo-side pin-drift check for— done in v0.12.0 (fix(actions): #107 correctness batch and #109 code items #173), in the harnesstemplates/(the dependabot/templatesentry is a no-op)gatejob, because a templates-only PR skips every gated job -
Delete the— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175): now a short note that the alias is fixed atalias:recipepr-N -
Fix the collab.yml snippet inputs— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175):restore-jupyter-cacheplusbuilder/source-dir -
— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175)setup-latex→setup-environment; add thefailure-artifact-namerow -
"Never saves" → "read-only by default" in— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175); ARCHITECTURE is nowREADME.md:54anddocs/ARCHITECTURE.md:70docs/dev/ARCHITECTURE.md(docs: move developer docs to docs/dev and remove stale docs (#178, PR 1 of 5) #182) -
Failure-only artifact wording: flow diagram— done in v0.12.0 (fix(actions): #107 correctness batch and #109 code items #173)build-jupyter-cache/README.md:142and inputs row:24 -
Document— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175)contents: write(and the tag trigger) ontemplates/publish.yml's release-asset block -
Resolve— done in v0.12.0 (fix(actions): #107 correctness batch and #109 code items #173: the warning and the action README; docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175: the templates and guides):cnamecnamestill writes the file but warns it has no effect on the deploy, and the docs point at Settings → Pages -
— done in v0.12.0: the input in fix(actions): #107 correctness batch and #109 code items #173, defaulting tolatex-requirements-filepassthrough + example filelatex-requirements.txtassetup-environmentdoes (an empty default would be passed through and fail standard-mode pdflatex builds), andtemplates/latex-requirements.txtin docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175 -
— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175)@main→@v0incontainers/quantecon-build/README.md:60— the last@mainusage example in any.md -
Theme version— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175), at 0.22.0: deps: bump the conda group across 2 directories with 1 update #162 had just moved the pin (0.18.0→0.21.0—containers/quantecon/README.md:116vs the pin atcontainers/quantecon/environment.yml:17containers/quantecon/environment.yml:16) from 0.21.0, socontainers/quantecon/README.md:116matches it -
Correct the— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175)setup-environmentcache key and path in both docs sites -
Remove the fabricated LaTeX-caching claims (— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175)QUICK-REFERENCE.md:286,MIGRATION-GUIDE.md:439) -
Reconcile the README/CONTRIBUTING testing-and-release instructions— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175): README's Contributing section defers to CONTRIBUTING.md, which tests by branch and has thev0move and the staged-release procedure -
Fix docs: QUICK-REFERENCE "Pages 404?" snippet recommends the wrong permissions #99 while in— done in v0.12.0 (docs: 2026.06 baseline, measured image sizes, and READMEs reconciled with the shipped code (#106, #109, #99) #175)QUICK-REFERENCE.md
Activity
templates: move actions/checkout onto its Node 24 major
templates: move actions/checkout onto its Node 24 major (#168)
docs: add the .fr consumer row and refresh the current-release lines (#…
docs: 2026.06 baseline, measured image sizes, and READMEs reconciled …
fix(actions): #107 correctness batch and #109 code items (#173)
quantecon-services commentedon Sep 24, 2026
Delivered in v0.12.0: the docs in #175 (which also fixed #99), the code items in #173 (
latex-requirements-file, thecnamewarning, the template pin-drift check, and thebuild-jupyter-cacheREADME's artifact wording) and the template checkouts in #168.Six consumers still pass
cname:.lecture-python.myst, on@v0, now gets a warning on every deploy; the other five are pinned to@v0.11.1and will get it once their bump to v0.12.0 merges. Dropping the input from them is a follow-up, recorded on #110 and in the PLAN refresh (#187). Closing as completed.Generated by Claude Code
docs(plan): refresh after v0.12.0 closed the July 2026 audit; finish …
ci(publish): drop publish-gh-pages' cname input (#1064)
ci(publish): drop publish-gh-pages' cname input (#350)
ci(publish): drop publish-gh-pages' cname input (#847)
ci(publish): drop publish-gh-pages' cname input (#385)
ci(publish): drop publish-gh-pages' cname input (#636)
ci(publish): drop publish-gh-pages' cname input (#236)