Skip to content

docs: which actions live here, and where QuantEcon's other actions are - #332

Merged
mmcky merged 2 commits into
mainfrom
docs/actions-family
Nov 16, 2026
Merged

mmcky merged 2 commits into
mainfrom
docs/actions-family

Conversation

@mmcky

@mmcky mmcky commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Why

The maintainer made two decisions on 2026-11-16:

  • Which actions live in QuantEcon/actions: "Adopt, with the refinements." This repository holds the lecture pipeline, and any other action lives in its own action-<name> repository.
  • Where the standalone actions are listed: "QuantEcon/actions' README."

Changes

File Change
docs/dev/ARCHITECTURE.md New design decision, "Which actions live here". An action belongs here if a template calls it, or if its own interface is tied to another QuantEcon action's (the image, a cache key, build-path, the _build tree). These actions are released together at v0, and a release that changes what one does passes the canary's release gate before v0 moves. The coupling is tested on the action's own interface, not on a caller's workflow. Any other action gets a public action-<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 A Documentation entry under [Unreleased], after the canary entry. Nothing is deleted.
README.md New section, "Standalone actions": one table of action-translation, action-style-guide and action-link-checker, giving what each does, the ref consumers use, the maintainer, the test consumer and the main consumers. It says the table lists them, and each repository's README is the reference for its inputs. action-check-warnings is left out: the maintainer decided on 2026-11-16 to archive it, and it has no consumer.

What I checked

  • action-translation: the latest release is v0.31.0, and v0 points 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.
  • action-style-guide: v0.7.3 is the newest release, though /releases/latest still returns v0.7.2. lecture-python-advanced.myst pins @v0.7.3, and test-action-style-guide runs @main. There is no v0 floating tag, only v0.7.
  • action-link-checker: v1 and v1.2.0 are the same commit. lecture-python-intro, lecture-python-advanced.myst and lecture-python-programming pin @v1, and continuous_time_mcs pins @v1.2.0. Its ci.yml runs the action on the HTML fixtures in tests/.
  • I found the consumers by code search across the QuantEcon organisation and read each workflow file at HEAD.
  • scripts/generate-docs.py --check passes. Both new anchors (#standalone-actions, #which-actions-live-here) match their headings.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMbZoC2dpGt3sPyBjyd

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
Copilot AI balanced review requested due to automatic review settings November 16, 2026 01:47

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.

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

Comment thread README.md Outdated

## 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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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
mmcky added a commit to QuantEcon/action-translation that referenced this pull request Nov 16, 2026
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
mmcky added a commit to QuantEcon/action-translation that referenced this pull request Nov 16, 2026
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
@mmcky
mmcky merged commit 0f81c35 into main Nov 16, 2026
69 checks passed
@mmcky
mmcky deleted the docs/actions-family branch November 16, 2026 07:12
@mmcky mmcky mentioned this pull request Nov 16, 2026
mmcky added a commit that referenced this pull request Nov 16, 2026
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
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.

2 participants