Repository navigation
Description
Continuing from #212 (closed as superseded on 2026-11-04). This plan comes from the maintainer's decision session of 2026-11-04 and the whole-tracker audit run the same morning. It is worked by parallel Claude Code sessions, each owning one area and one pull request at a time, with an organiser session coordinating them. Six waves have run since 2026-11-04. This body is the single source of truth for the work. Revise it in place against live state before working from it.
Where we stand (verified 2026-11-10 05:20 UTC)
| What | State | Measured |
|---|---|---|
main |
0f4ee09 (#290) |
05:18 UTC, git ls-remote |
| Latest release | v0.17.0, tag on fae622c, with its GitHub Release (#289). It carries wave 5 and #274. Nothing in it is marked |
05:18 UTC |
v0 |
e40924a (v0.16.0), moved 2026-11-10 02:10 UTC with the maintainer's approval. It moves to v0.17.0 once a lecture-matrix run on main passes, again with approval |
05:18 UTC, git ls-remote |
| v0.17.0 canary | All green in QuantEcon/test-actions-lecture-intro; PR 82's closing comment has the table. #270's five execution-cache checks passed. #216: the Cloudflare preview's URLs came with no fallback warning. #224: setup-latex and setup-environment's install-latex each missed, then hit with no download. The 30-minute download limit also fired for real on a stalled Ubuntu mirror. publish.yml deployed. The branches and the tag are deleted |
~03:55 UTC |
| Lecture matrix | The scheduled run of 2026-11-09 (79) failed one leg on a GitHub 504 for a lecture's data (#285). Its rerun went 8/8 green, which cleared the v0.16.0 move. Run 80 (42744092827) started after #274's first promotion, on e38afc2, still with the 180-min ceiling. Its setup-environment and build-lectures are byte-identical to v0.17.0's. Six of eight legs are green; both lecture-python.myst legs are still running. If it passes, it can clear the v0.17.0 move |
05:14 UTC |
| Container images | :latest is now promoted only after the smoke test (#274). The first promotion (run 42743671096) moved quantecon to d6d17495… and quantecon-build to d7676921…. The first live prune (#290, run 42753845919) deleted 255 and 138 old versions, leaving 78 per image |
05:00 UTC |
| Open PRs | #279 (the maintainer's CHANGELOG footer fix; theirs to merge) | 05:18 UTC |
| Sessions | The organiser, mini:actions. Wave 6's gate and workers sessions launched 2026-11-10 05:17 UTC, and are doing their issue checks. The containers session finished and closed |
05:18 UTC |
Front of the plan:
- Read run 80's result. If it passes, ask the maintainer to move
v0to v0.17.0. If alecture-python.mystleg times out at the old 180 min, dispatch a fresh matrix run onmain, which has ci(lecture-validation): report each leg's duration and warn as it nears its ceiling; lecture-python.myst gets 240 min (#141, #196) #288's 240 min, and decide on that one. - Wave 6's checks, as they arrive: Release gate fixture: content and hygiene for the canary's gate.yml #136 and Release gating: a gate.yml in the canary tests the candidate before v0 moves #135 from the gate session, and Add Workers static assets support to the Cloudflare preview action #145 from the workers session. Each question goes to the maintainer one at a time, and the agreed check is posted on its issue.
- After
v0moves to v0.17.0: a docs PR for PLAN's release line, and on the next day, a look at the lecture sites' first runs. - The lecture sites' first runs on v0.16.0, from 2026-11-11. They are the first callers to meet Escape caller-supplied values in the actions' annotations #267's refusal of a line break in a single-value input.
Wave 5 and wave 6 (2026-11-07 to 2026-11-10)
| Item | Outcome |
|---|---|
| #270, #160's step 2 | #280: the execution cache's key hashes the environment, and the templates restore the execution cache. Closed |
| #216 | #281: preview-cloudflare's deploy-url uses the address Cloudflare serves the project at, read from wrangler's record of the deploy. Closed |
| #224 | #283 (a new setup-latex action) and #284 (setup-environment's install-latex on the same cache). Closed |
| #142 phase 2 | #274: main's build pushes candidates, smoke-tests them, and promotes both images to :latest together only if every test passes. Closed, with tracker #188 |
| #286 | #287: the lecture matrix files a cancelled run only when no newer run exists. Closed |
| #141, #196 | #288: each leg's duration in the run's summary, with warnings, and a 240-min ceiling for lecture-python.myst. Closed. The lecture's own cost is QuantEcon/lecture-python.myst#1118: imp_sample takes 39% of its CPU execution time |
| #277 | #290: a monthly pruner for old image versions, with a pins file. Closed after the first live run |
| #135, #136 | In progress: the gate session builds #136's fixture and then #135's gate.yml in the canary. It is the first worker allowed to write there |
| #145 | In progress: the workers session builds a sibling preview-workers action |
The maintainer's calls of 2026-11-07 to 2026-11-10
| Call | Where it shows |
|---|---|
| Wave 5: three sessions, for #270, #224 and #216, each checking its issue first | #280, #281, #283, #284 |
#270: keep build-jupyter-cache's full _build save (review M3); Changed, with no marker; the execution fallbacks mirror the build cache's |
#280 |
#224: a new setup-latex action, then setup-environment. The package list is required. download-timeout-minutes defaults to 30, where 0 means no limit, and setup-environment has a fixed 30. No saves from tag refs |
#283, #284 |
#216: read the subdomain from wrangler's pages-deploy-detailed record, and warn and fall back otherwise; Fixed, with no marker |
#281 |
The canary's set-up for wave 6: a release-gate environment restricted to main, holding gate-only tokens; a qe-preview-canary Worker on the org's Cloudflare account, with a per-Worker token |
#135, #145 |
| Wave 6: containers, gate and workers. Containers ran first; gate and workers launched once credit allowed | this plan |
| The lecture matrix takes #274's superseded-run rule; a run superseded by a dispatch files nothing either | #286, #287 |
After the 504 on 2026-11-09: rerun the failed leg, and move v0 to v0.16.0 if green |
#285 |
#277: keep main's newest 10 builds and everything from the last 90 days; branch dispatches go after 14 days; a monthly workflow, dry run by default; a pins file; at most 50 deletions per image per run; a Changed entry with no marker. The first live run was watched |
#290, #277 |
| #141 and #196: a 240-min ceiling and two warnings, with no issue filed; one PR for both; the lecture-side questions filed in lecture-python.myst | #288, QuantEcon/lecture-python.myst#1118 |
| v0.17.0: release, tag and canary at once | #289 |
| File #291 (Cloudflare Pages previews never 404), at low priority | #291 |
| Close tracker #188 once nothing is open under it | #188 |
The calls of 2026-11-05 to 2026-11-07 are in this issue's revision of 2026-11-07 01:00 UTC (see its edit history) and in the PRs they name. The 2026-11-04 decisions still govern the gate work, so they stay below.
The 2026-11-04 decisions
| # | Decision | Recorded on |
|---|---|---|
| 1 | Release gate: a gate.yml in the canary (QuantEcon/test-actions-lecture-intro), not a new repo. #136 is the gate fixture's content; #135 is gate.yml, with no v0-next tag |
#143, #135, #136 |
| 2 | Previews outside a PR: an opt-in input in both preview actions, with a reserved dispatch- alias prefix, an event allow-list and a deployed output |
#143, #227, #193 |
| 3 | Gate candidates: only commits reachable from main or a v* tag; secrets in a canary environment restricted to the canary's main |
#143 |
| 4 | Gate builds are frozen: a committed image digest, cold builds, intersphinx off | #143 |
| 5 | publish-gh-pages is in the gate (deploy only); release-asset packaging is tested in this repo's harness (done in #257) |
#143 |
| 6 | HTML-only previews hide the download buttons | #146, #148 |
| 7 | A parallel PDF check on PRs, which each site can switch off | #146, #230 |
| 8 | Run the #221 handover, then merge #220 and #221 | done |
| 9 | Scheduled image rebuilds: pin the Ubuntu base by digest, Dependabot proposes base moves, drop the weekly schedule, correct the docs (done in #255) | #234 |
| 10 | #177: add visibility; keep require-access as a deprecated alias (removed in v0.16.0 by #276) |
#177 |
| 11 | Next release: a small v0.13.0 soon | done |
| 12 | This issue replaces #212 | this plan |
Releases
- v0.13.0 to v0.16.0: shipped 2026-11-05 to 2026-11-07, each staged on the canary before
v0moved. - v0.17.0: shipped 2026-11-10, carrying wave 5 and ci(containers): move :latest only once main's build has passed the smoke test (#142, phase 2) #274 (release: v0.17.0 #289). The canary is green, and
v0moves after a matrix run passes. - Next, v0.18.0: ci(containers): prune main's old candidates, branch dispatches and orphaned manifests from GHCR (#277) #290's entry is under
[Unreleased]. Wave 6'spreview-workers(Add Workers static assets support to the Cloudflare preview action #145) will be the first action change in it.
Follow-ups found during the waves
- The image-size report is not exactly reproducible. The lean image's on-disk figure varied by 111,355 bytes with identical layers, depending on the runner's overlay2.
publish-gh-pagesand a/in the tag. Undermode: all, it fails only at the release step, after the deploy. Left for the maintainer.- The two
deploy-cloudflarecallers are pinned tov0.12.0and pass neithervisibilitynorrequire-access. Each needsvisibility: privatewhen it moves to v0.16.0 or later. setup-latexandsetup-environmentshare one LaTeX cache key (the same script), so a job of each with the samecache-versionreuses the other's archives. This is by design; the v0.17.0 canary showed it.- Low priority, filed: preview-cloudflare: a preview never returns 404, since Cloudflare Pages serves index.html for unknown paths #291 (Cloudflare Pages previews never 404) and harness: run the pinned wrangler through a deploy, against a stub of the Cloudflare API #282 (a stub-API wrangler harness).
Explicitly not doing
- Phase 1 quick wins: bounded SHA fetches, concurrency-group fallback, paths-ignore in templates/ci.yml #147's template items (the concurrency fallback,
paths-ignore). - A
v0-nexttag (dropped by decision 1 of 2026-11-04). - Committing the 2026-11-04 audit bundle to
.qe/dev/log/. That is the maintainer's call. - feat: Add caching support for container mode builds #18's caching. It is parked until a repository passes
environment-update; its comment of 2026-11-07 gives the remedies in order.
Resuming
The organiser session is mini:actions, and the workers are mini:actions-<name>. The briefs live in the maintainer's checkout under .claude/briefs/ and are not committed:
HANDOVER.mdis the organiser's start-up file, andstart.shstarts a fresh organiser;common.mdholds the current worker rules, including the two-part issue check, and<name>.mdeach worker's brief;proposal-checks/holds each issue's check;release-templates/holds the last release's PR body, notes and canary files.
A fresh session can work from this issue, the merged PRs and the decision records alone: each PR body states its design, what it checked and what it leaves out.
Claude Code (on behalf of mmcky), organiser session
Activity
mmcky commentedon Nov 5, 2026
Revision 2026-11-05 00:45 UTC (organiser session)
Landed.
54b0565.76c9613, by the maintainer, after the 2026-11-04 GitHub incident had held it.17a72af.v0.13.0tag and its GitHub Release are published, with the maintainer's approval.Canary green. QuantEcon/test-actions-lecture-intro PR 76 deployed both previews at
@v0.13.0, andcache.ymlrun 41942754633 fromstaged-v0.13.0-cachepassed.v0has not moved; that waits on the maintainer's approval.Learned. Cutting a release let PRs that add CHANGELOG entries merge into the released section without a conflict. #241, #242 and #245 did on update, and so did #244's Deprecated block. Each was moved back by hand. The body now has the check to run before each merge.
New.
ubuntu-latestis nowubuntu-26.04, with Docker 29.4.2 and the containerd image store. fix(ci): make the image-size job report both sizes, and fail when it cannot #172's image-size guard refuses that store, so main'sImage sizejobs fail on the next container build until ci(containers): build and smoke-test a pull request's images before they merge (#142, phase 1) #245 lands. ci(containers): build and smoke-test a pull request's images before they merge (#142, phase 1) #245 carries the fix, and it is green.-Wand get published #247 (build-lecturesand error outputs) is filed and listed under wave 2.Changed in the body.
require-accessremoval details.-Wand get published #247 under wave 2.The #239 counter follow-up is gone, because the count now reads 2.
Claude Code (on behalf of mmcky)
mmcky commentedon Nov 5, 2026
Revision, 2026-11-05 05:02 UTC: wave 1 is merged and v0.13.0 is out.
What landed since the 00:45 UTC revision:
v0moved to v0.13.0 (17a72af) with the maintainer's approval, after the canary passed. The canary PR is closed unmerged and its branches deleted.2c06c01), fix(preview-*): list only what the pull request changed, with a bounded fetch (#215) #242 (cedef33), feat(deploy-cloudflare): a visibility input, private or public, checked both ways (#177) #244 (aed787e), feat(preview-*): deploy outside pull_request on request, and report whether anything was deployed #240 (c38d27b) and ci(containers): build and smoke-test a pull request's images before they merge (#142, phase 1) #245 (95e7399). They closed templates/ci.yml: a parallel PDF check that each site can switch off #230, preview-netlify, preview-cloudflare: change detection lists lectures the pull request did not change #215, deploy-cloudflare: support public sites with an explicitvisibilityinput #177, preview-netlify, preview-cloudflare: deploy outsidepull_requeston request, and report whether anything was deployed #227 and preview-netlify, preview-cloudflare: install the deploy CLI only on pull_request runs #193. containers: no validation runs before the tag every consumer pins moves #142 stays open for phase 2.4dee5ac) and deps: bump the conda group across 2 directories with 1 update #223 (dd763e4) merged after ci(containers): build and smoke-test a pull request's images before they merge (#142, phase 1) #245, each built and smoke-tested on its PR first. That was the first candidate image build under Dependabot's token, and it worked.dd763e4(run 41957231817) had 6 of 8 legs green at 05:02 UTC, with the twolecture-python.mystlegs still running. 🔴 CI failure: Test Container Builds #249, which two superseded runs filed, closes when it is green.What inverted:
maintogether, so the next release is a staged v0.14.0 carrying all of[Unreleased], and the release that removesrequire-accessmoves to the one after it.cache-typedefault also move from "not doing" into the wave-2 candidates, for the maintainer to choose from.New follow-up: superseded lecture-matrix runs file a failure issue (#249). It is recorded in the body for the maintainer to decide on.
Dropped from the body because they are done: the #222 row, the #142 rollback wording (landed in #245) and the #241/#245 overlap note. Also dropped: the Monday 02:00 UTC image-size warning, now moot, and the "Held" section, since no Dependabot PRs are open.
Claude Code (on behalf of mmcky), organiser session
release: v0.14.0 (#250)
docs(plan): catch up with wave 1 and the v0.13.0 and v0.14.0 releases (…
docs(plan): catch up with wave 1 and the v0.13.0 and v0.14.0 releases (…
release: v0.15.0 (#261)
docs: v0 is on v0.15.0, so the templates' alert about it goes (#246) (#…
mmcky commentedon Nov 5, 2026
Revision, 2026-11-05 21:30 UTC: wave 2 is merged and v0.15.0 is out, with
v0on it.What landed since the 05:02 UTC revision:
v0moved at 05:27 UTC.-Wand get published #247).v0moved at 21:12 UTC.What inverted, or came out differently from the issue:
-Wand get published #247 is narrower than written. ipykernel 7.3 and later already fail a cell whose last value can't be displayed. The gap that remains is output shown throughdisplay(), which is how figures reach a page. feat(build-lectures): fail on error outputs in the executed notebooks, which -W misses (#247) #256 targets that, and the PR and build-lectures: tracebacks from display-time errors pass-Wand get published #247 record it.require-accessremoval, promised by v0.14.0 for v0.15.0, moved to v0.16.0 (the maintainer's call).@v0between feat(publish-gh-pages): a mode input, so Pages is deployed from a job that runs no notebook code (#233) #257 and feat(preview-*): a placeholder comment, posted before the build (#153) #258 merging andv0moving, so an interim alert covered that window. docs: v0 is on v0.15.0, so the templates' alert about it goes (#246) #263 removed it.New: a "maintainer's calls of 2026-11-05" table, so the day's ten decisions sit beside the twelve of 2026-11-04, and a wave-3 candidate list. The front of the plan is now the first scheduled matrix run on 2026-11-09.
Claude Code (on behalf of mmcky), organiser session
release: v0.16.0 (#278)
[-]Work plan — 2026-11-04 wave: decisions into PRs, v0.13.0, then the release gate[/-][+]Work plan — QuantEcon/actions: v0.16.0 shipped; next the v0 move, #142's promotion, then wave 5[/+]mmcky commentedon Nov 7, 2026
Revision of 2026-11-07, 01:00 UTC. The body now covers waves 3 and 4, the proposal check between them, and v0.16.0. This comment records what landed, what was decided, which premises turned out wrong, and what is deferred.
What landed
${{ }}expressions inrun:scripts intoenv:(PLAN item 18) #228), fix(restore-jupyter-cache): refuse values outside each input's accepted set, and an empty path (#236) #268 (closed restore-jupyter-cache: a mis-cased save-cache value silently stops the cache updating, and unknown input values are accepted #236), fix: refuse a line break in each single-value input, and escape every annotation (#267) #269 (closed Escape caller-supplied values in the actions' annotations #267). Five PRs, merged within 80 minutes of the sessions starting.--path-output#229, build-jupyter-cache: the failure alert can land on an open pull request instead of an issue #238, build-lectures: html-copy-notebooks flattens the notebooks, so a nested page's download link leads nowhere #217, Stale-asset republication: default templates to cache-type execution, or prune html inside restore-jupyter-cache #160, containers: no validation runs before the tag every consumer pins moves #142, Add Workers static assets support to the Cloudflare preview action #145 and feat: Add caching support for container mode builds #18. restore-jupyter-cache: the templates restore only the execution cache, keyed on the environment too (#160, step 2) #270 was filed for Stale-asset republication: default templates to cache-type execution, or prune html inside restore-jupyter-cache #160's step 2.--path-output#229 and build-jupyter-cache: the failure alert can land on an open pull request instead of an issue #238), docs(setup-environment): give the real reason container mode caches nothing (#18) #273 (part of feat: Add caching support for container mode builds #18), fix(restore-jupyter-cache): remove the restored html after a build-cache restore (#160) #275 (closed Stale-asset republication: default templates to cache-type execution, or prune html inside restore-jupyter-cache #160), fix(deploy-cloudflare): remove require-access, and require visibility (#177) #276 (require-accessremoved). ci(containers): move :latest only once main's build has passed the smoke test (#142, phase 2) #274 (containers: no validation runs before the tag every consumer pins moves #142 phase 2) is open and waits for Monday. containers: a retention policy for main's candidate tags #277 was filed for tag retention.v0has not moved.Decided. These are in the body's new table, "The maintainer's calls of 2026-11-06 and 07". The one that changes how work is done: before any code, a worker checks its issue's facts and then its proposal, since an issue can be old and its design overtaken.
Premises that turned out wrong
${{ }}expressions inrun:scripts intoenv:(PLAN item 18) #228 said seven actions still expanded${{ }}inrun:scripts. Five did.publish-gh-pages'asset-namehad already moved toenv:.cdbefore a relative destination path, andfind -exec … \;ignores a failed copy. fix(build-lectures): keep each notebook's path in html-copy-notebooks, and fail on a failed copy (#217) #271 uses a path-keeping loop instead, and a failed copy now fails the step.cache-type: execution, would have let an environment-changing PR reuse old outputs and pass, because the execution cache's key ignores the environment. Both reviews found this independently. So step 1 prunes the restored HTML instead, and step 2 (restore-jupyter-cache: the templates restore only the execution cache, keyed on the environment too (#160, step 2) #270) adds the environment to the key before the templates switch.mainrebuilt and pushed:latestbefore any test. ci(containers): move :latest only once main's build has passed the smoke test (#142, phase 2) #274 fixes that.environment-update.--match-head-commitguards only the commit.Deferred, with reasons
What's next is in the body's "Front of the plan": the 2026-11-09 02:00 UTC lecture-matrix run, then the
v0move, then #274's watched merge.Claude Code (on behalf of mmcky), organiser session
[-]Work plan — QuantEcon/actions: v0.16.0 shipped; next the v0 move, #142's promotion, then wave 5[/-][+]Work plan — QuantEcon/actions: v0.17.0 shipped; next the v0 move and wave 6's gate and workers[/+]mmcky commentedon Nov 10, 2026
Revision of 2026-11-10 05:20 UTC, covering everything since the 2026-11-07 01:00 UTC stamp: waves 5 and 6, v0.17.0, and two
v0moves' worth of matrix runs.Landed:
fae622c, with a green canary.v0: moved to v0.16.0 at 2026-11-10 02:10 UTC.Premises that inverted:
ols.mddownloaded its data (🔴 CI failure: Test Container Builds #285). A rerun of that leg went green, and that cleared the move.v0move, watched": done. Its first promotion went green, and run 80 of the matrix followed it.Decided: see the body's table of the maintainer's calls of 2026-11-07 to 2026-11-10. The ones that change behaviour: #277's retention policy, #288's ceiling and warnings, and #287's rule.
Filed: #282 (a stub-API wrangler harness), #286, #291 (Cloudflare Pages previews never 404), and QuantEcon/lecture-python.myst#1118.
Next: run 80's result decides v0.17.0's
v0move. Wave 6's gate session (#136, #135) and workers session (#145) started 05:17 UTC with their issue checks. The body's front of the plan has the order.Claude Code (on behalf of mmcky), organiser session
mmcky commentedon Nov 10, 2026
This plan ran six waves from 2026-11-04. Its revision of 2026-11-07 recorded waves 1 to 4, and this ledger covers waves 5 and 6, which are done. It is succeeded by #305, which carries the open items forward.
Shipped
preview-cloudflare'sdeploy-url), feat(setup-latex): install TeX Live from a cache of the downloaded packages (#224) #283 and feat(setup-environment): install-latex installs from the LaTeX package cache, as setup-latex does (#224) #284 (setup-latex, andsetup-environment'sinstall-latex).:latestmoves only after the smoke test), ci(containers): the lecture matrix files a cancelled run only when no newer run superseded it (#286) #287 (a superseded matrix run files nothing), ci(lecture-validation): report each leg's duration and warn as it nears its ceiling; lecture-python.myst gets 240 min (#141, #196) #288 (leg durations, and 240 min forlecture-python.myst), ci(containers): prune main's old candidates, branch dispatches and orphaned manifests from GHCR (#277) #290 (the GHCR pruner).preview-workers).gate.yml(Pin kaleido<1.0 in both containers to fix ChromeNotFoundError #85) and a docs follow-up (deps: bump the conda-major group across 2 directories with 2 updates #87). Here, docs: releases pass the release gate before v0 moves (#135, #136) #301 made the gate part of the release procedure.v0moved to v0.16.0 and then to v0.17.0, each after a green lecture-matrix run. v0.17.0 also passed the release gate.Decided (the maintainer, 2026-11-10)
release-gateissue in the canary, assigned to whoever dispatched the run. Proven by canary deps: bump the conda group across 1 directory with 7 updates #86, which reached the maintainer's GitHub notifications.v0move.ci.ymlandpublish.ymlahead of the consumers' Monday builds (PLAN P0 0c) #302, at low priority.@v0is unblocked on this side (noted on QuantEcon/workspace-lectures#33).Carried forward to #305: v0.18.0 (#304) and its staging; wave 7's #300 and #27; the decisions waiting on #97, #194 and #195; #302, #299, #291, #282; and the follow-ups this body listed.
Claude Code (on behalf of mmcky), organiser session
docs(plan): of the rollout repos, #98 blocks only lecture-python-intr…
docs: a native pipeline's doctrees clear needs no counterpart (#98) (#…