Skip to content

Tracking: release gating — get to a candidate that is verified before v0 moves #138

Closed
4 of 4 issues completed
Closed

Description

@mmcky

Goal: a release candidate is exercised end to end, and can be stopped, before v0 moves to it.

Where we stand (verified 2026-11-04)

Next: the re-scoped work items below. #143's decisions are recorded on that issue, which is closed.

Parts of the body below predate the spike and these decisions. The sub-issues are the authority on the plan.

One place to watch the release-gating work. The detail lives in PLAN.md (items 0a–0d, added in #137) and in the two design issues; this issue is the sequence, the definition of done, and the current position — it does not duplicate them.

Why this is P0

A release currently reaches a published lecture site before any test has met it. That is the same shape as the alerting item that was P0 before it: the safety net does not do the thing everyone assumes it does.

It also blocks something that is otherwise ready. The lecture family has decided to move to floating @v0 and is sequencing that behind this work (QuantEcon/workspace-lectures#33), because all six of its remaining exact pins sit on publish-gh-pages — the least-gated action in the set.

The finding this rests on

Testing here is in good shape, and better than #100's body suggests — that body predates the harness that answers most of it. test-actions.yml is 15 jobs over four actions, enforced as a required check. test-actions-lecture-intro runs the real chain including publish-gh-pages and preview-netlify.

Coverage is not the problem. Two things are.

First, lead time. The canary leads consumers on one path of three:

Path Canary trigger Consumers Lead
Weekly cache schedule, Sun 03:00 UTC Mon 02:00 UTC (lecture-dp), Mon 03:00 UTC (six others) 23–24h
Preview pull_request in the canary every PR, every repo none
Publish tag push in the canary tag push per repo none

Second, and more fundamental: the canary pins @v0, the tag a release moves. So it only ever exercises a published release and cannot test a candidate at all. No change to its triggers fixes that — it is a post-release regression detector by construction.

Definition of done

A bad release cannot reach a published lecture site before it has failed somewhere we are watching. Concretely:

  1. a release candidate is exercised end to end before v0 moves;
  2. the gate's red is trustworthy — it is not confounded by container drift, dependency drift, or fixture content;
  3. the gate has been observed stopping a release, and a red gate has been observed reaching a human;
  4. the paths the gate does not cover are named, not assumed away.

Sequence

Each step is independently useful; they are ordered by dependency, not by size.

What this will not cover, stated up front

build-jupyter-cache reaches its siblings at a hardcoded @v0 — setup-environment@v0 and build-lectures@v0, four call sites in build-jupyter-cache/action.yml. A @v0-next run therefore exercises the candidate's cache action against the previous release's siblings, and that pairing stays untested until v0 moves.

So "verified green before release" will mean "everything except that chain", and it should be described that way rather than as a blanket guarantee. Two options for closing it are sketched in #135 — rewriting sibling refs to the candidate SHA at release time, or accepting it and leaning on the cache path's existing 23–24 hour lead. Not yet decided.

Also unchanged: real-scale performance and content diversity stay with test-containers-lectures.yml, and the lecture-jax GPU path stays out of scope while QuantEcon/lecture-jax#284 is open.

Open decisions

Question Blocks
Is the release blocked automatically, or by a documented runbook step? There is no release automation here today — v0 is moved by hand 0b
Who receives a red gate — an issue in this repo, a notification, both? 0d
Is the build-jupyter-cache residual accepted, or worth the ref-rewrite? scope of the claim

Related

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. mmcky commented on Aug 11, 2026

    @mmcky
    ContributorAuthor

    see above

  2. quantecon-services commented on Sep 24, 2026

    @quantecon-services
    Collaborator

    Tracker housekeeping, 2026-09-24:


    Generated by Claude Code

  3. pinned this issue on Sep 28, 2026
  4. mmcky commented on Nov 10, 2026

    @mmcky
    ContributorAuthor

    The goal is met: a release candidate is exercised end to end, and can be stopped, before v0 moves. The release gate (#135) runs on its fixture (#136) in the canary, and #301 made it part of the release procedure. Its first runs on the canary's main include both self-tests going red and v0.17.0 going green, as #135 lists. The one item left, PLAN's P0 item 0c, is now #302. Closing.

    Claude Code (on behalf of mmcky)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions