Repository navigation
docs: which actions live here, and where QuantEcon's other actions are - #332
Conversation
ARCHITECTURE.md's design decisions gain "Which actions live here": this repository holds the lecture pipeline, an action a template calls or whose own interface is tied to another QuantEcon action's, released together at v0 through the canary's gate. Any other action called with uses: lives in its own action-<name> repository (QEP-3's type), with semver tags and one floating major tag; nothing here calls one at a floating tag; a reusable workflow goes where its job's purpose goes; and moving an action between the two is a succession with a deprecation window. The README gains "Standalone actions", one table of QuantEcon's actions outside this repository: action-translation, action-style-guide and action-link-checker, with the ref consumers use, the maintainer, the test consumer and the main consumers, each checked live. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMbZoC2dpGt3sPyBjyd
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟡 Changes recommended
A documentation nit remains in README.md where the wording about finding QuantEcon's actions is ambiguous and should be clarified to refer specifically to standalone actions.
1 open issue
What changed in this PR
Documents a maintainer decision on repository boundaries: QuantEcon/actions remains the lecture-pipeline action suite released together, while other GitHub Actions should live in standalone action-<name> repositories and be listed centrally in this repo.
Changes:
- Add an architecture/design decision defining criteria for which actions belong in this repository vs. standalone action repositories.
- Add a “Standalone actions” section to the root README with a table of selected standalone actions, their refs, and key consumers/maintainers.
| File | Description |
|---|---|
| README.md | Adds a new “Standalone actions” section with a table cataloging select standalone QuantEcon action repositories, their purposes, refs to use, and primary consumers/maintainers. |
| docs/dev/ARCHITECTURE.md | Adds a design-decision section defining which actions should live in this repository versus a standalone action-<name> repository, including tagging and migration guidance. |
Review effort: Balanced
|
|
||
| ## Standalone actions | ||
|
|
||
| QuantEcon's actions outside the lecture pipeline each live in a repository of their own, as [ARCHITECTURE.md](docs/dev/ARCHITECTURE.md#which-actions-live-here) describes. This table is the place to find QuantEcon's actions, and each repository's README is the reference for its inputs. |
There was a problem hiding this comment.
Agreed, and changed in 90cf123: the sentence now reads "This table lists them", since the table holds only the standalone actions. This repository's own actions are listed above it.
Claude Code (on behalf of mmcky)
ARCHITECTURE drops the release-tarball example, which the decision did not make and which restore-gh-pages, living here, would contradict. It says that a release changing what an action does passes the canary's release gate before v0 moves, drops "by the same test" from the reusable-workflow rule, and calls a move a QEP-3 succession. The README says its table lists the standalone actions, which is all it holds. The CHANGELOG gets a Documentation entry under [Unreleased]. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMbZoC2dpGt3sPyBjyd
From the Fable review and Copilot's: AGENTS.md's 4b and STATE.md's Health line say "the tag" in the singular; the record and the log say QuantEcon/actions' README is to list the family (QuantEcon/actions#332 was still open), and that the 19 consumer workflows are counted outside the harness's four test repositories; the record's `v1` line moves to Consequences, as an inference rather than a ruling; the changelog fragment loses its developer-only sentence; and STATE.md's "Resume here" header is re-dated to match its newest paragraph. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMaeFJpEpdYGkPF9V3h
The close-out for v0.31.0 (#452, ef79ba5), as #439 was for v0.30.2: log 2026-11-16-v0310-release (the gate, the rate check, the smoke and the release) and a dated paragraph at the top of STATE.md's Next. It also changes the release checklist. QuantEcon's standalone actions now move one floating major tag each (Matt's review of QuantEcon's actions, 2026-11-16; QuantEcon/actions#332), and no consumer pins a v0.N: all 19 consumer workflows use @v0. Step 5 of AGENTS.md's checklist moves v0 alone, and steps 4a and 4b speak of the floating tag in the singular. v0.31.0 was the first release without a v0.N tag; the v0.N tags made up to v0.30.2 stay. Decision record D-2026-11-16-one-floating-major-tag; changelog fragment release-one-floating-tag. * dev: review fixes for the one-floating-tag close-out From the Fable review and Copilot's: AGENTS.md's 4b and STATE.md's Health line say "the tag" in the singular; the record and the log say QuantEcon/actions' README is to list the family (QuantEcon/actions#332 was still open), and that the 19 consumer workflows are counted outside the harness's four test repositories; the record's `v1` line moves to Consequences, as an inference rather than a ruling; the changelog fragment loses its developer-only sentence; and STATE.md's "Resume here" header is re-dated to match its newest paragraph. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMaeFJpEpdYGkPF9V3h
Cuts v0.21.0, a minor release, because it carries a change marked⚠️ BREAKING: #326, for #322. `build-lectures`' `error-outputs` check now checks a page taken from the execution cache, which it used to pass unchecked. `v0` is on v0.20.1, and moves to v0.21.0 only after the release gate and the lecture matrix have passed it. ## What's in it | Change | PR | Issue | |---|---|---| |⚠️ BREAKING `build-lectures`: the `error-outputs` check reads a page taken from the execution cache from the cache's copy, as myst-nb renders it, and checks its outputs | #326 | #322 | | Docs: a release that changes what a build reports dispatches the lecture matrix at the candidate, and once `v0` has moved, the canary's `cache.yml`, `ci.yml` and `publish.yml`. TESTING describes the canary watcher and its drift check, and the user manual's versioning page says a staged release passes the release gate | #328, #331 | #302, #310 | | Docs: which actions live here, and the README's "Standalone actions" table | #332 | | **What breaks.** A site whose cached pages carry an error traceback now fails its build where it used to pass: in a pull request's build over a restored execution cache, as `templates/ci.yml` sets up, and in a later build that rereads the pages, as `html` does after `pdflatex` in a book with parts. Such a site can fix the cell, tag a deliberate one `raises-exception`, or set `error-outputs: 'warn'` meanwhile. An execution cache the check can't read is now reported as an unreadable notebook is, which also fails the step under `fail`, the default. The inputs, the output and the annotations are unchanged. Also merged since v0.20.1, with no entry of their own: - #325 and #329, PLAN only; - the canary watcher's workflow and scripts (#328, #331). They run in this repository and reach no consumer; the Documentation entry above covers them. ## Changes in this PR | File | Change | |---|---| | `CHANGELOG.md` | `## [0.21.0] - 2026-11-16` below an empty `## [Unreleased]` | | `docs/dev/PLAN.md` | The release line: the latest release is v0.21.0, and `@v0` is on v0.20.1 until the gate has passed it | The date is today's in UTC. ## What I checked - **The CHANGELOG:** the diff adds 2 lines and deletes none, and everything from `## [0.20.1]` down is byte-identical to `main`. Every PR merged since v0.20.1 has its entry, or is covered above. - **`generate-docs.py --check --check-examples`:** 23 files current; 70 steps and 18 workflows checked. - **No other page** names a release as the current one. `scripts/canary-drift.py`'s `@v0.20.1` is a sample pin in its self-test. ## Staging, after the tag As CONTRIBUTING's Staged Releases says: 1. **The release gate:** `gate.yml` on the canary's `main`, with `candidate=v0.21.0` and the self-test off. It must be green, with each site serving the marker for the release commit. The `error-outputs` check's summary line in its log must say how many notebooks came "with the outputs the execution cache holds", which shows the candidate's check ran. The run is linked here. 2. **The lecture matrix at the candidate,** because the release changes what a build reports: a check that can now fail a build. The run is linked here, and I'll read each red leg's log and say here why it isn't the candidate's, or hold the release. 3. **Nothing staged by hand.** The gate restores its execution cache both ways, which is #322's pull-request case. It shows the candidate's check reads the cache cleanly in the pinned image, but no gate page has an error output to catch. The reread case, in a book with parts, is the harness's: `build-cache-error-guard` covers both cases, a rebuild with `--all` over the same `_build` and a build over the execution cache alone, on every pull request that changes an action. Its last run, on #326's head, was green (run 43787220029), and that head's `build-lectures/` and `test-actions.yml` are what merged. 4. **Once `v0` has moved:** the canary's `cache.yml`, then `ci.yml` and `publish.yml`, dispatched on its `main`, with their runs linked here. Container images don't go through the canary, and this release changes none. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WT8bMbZoC2dpGt3sPyBjyd

Why
The maintainer made two decisions on 2026-11-16:
action-<name>repository.Changes
docs/dev/ARCHITECTURE.mdbuild-path, the_buildtree). These actions are released together atv0, and a release that changes what one does passes the canary's release gate beforev0moves. The coupling is tested on the action's own interface, not on a caller's workflow. Any other action gets a publicaction-<name>repository (QEP-3's type) with semver tags and one floating major tag, and starts standalone when in doubt. Nothing here calls a standalone action at a floating tag. A reusable workflow goes where its job's purpose goes. Moving an action between the two is a QEP-3 succession with a deprecation window.CHANGELOG.md[Unreleased], after the canary entry. Nothing is deleted.README.mdWhat I checked
v0points at it. The README's example uses@v0. All 19 production workflows that call it pin@v0, across 10 repositories: sync in the three source repositories, and review and rebase in the seven translated editions. The test-translation-sync repositories pin@v0./releases/lateststill returns v0.7.2. lecture-python-advanced.myst pins@v0.7.3, and test-action-style-guide runs@main. There is nov0floating tag, onlyv0.7.v1andv1.2.0are the same commit. lecture-python-intro, lecture-python-advanced.myst and lecture-python-programming pin@v1, and continuous_time_mcs pins@v1.2.0. Itsci.ymlruns the action on the HTML fixtures intests/.scripts/generate-docs.py --checkpasses. Both new anchors (#standalone-actions,#which-actions-live-here) match their headings.🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMbZoC2dpGt3sPyBjyd