Skip to content

Optimize preview builds: phased plan for the fastest PR previews (tracking) #92

Open
6 of 16 issues completed
Open

Description

@mmcky

Goal: PR previews are fast because fixed overhead is removed, not build work: lecture-python.myst from about 17 minutes to 3.5–5, and lecture-dp to 1.5–2.5.

Done when

  • A lecture-python.myst PR preview takes about 3.5–5 minutes, building HTML only, with the three-format build behind a full-preview label.
  • A lecture-dp PR preview takes about 1.5–2.5 minutes including deploy.
  • A cold cache miss is rare, and loud when it happens.
  • A second push to the same PR skips execution when the code is unchanged.

Not doing

  • Single-page builds, Sphinx -j, moving the GPU repository to CPU, and a conda cache in place of containers: each was evaluated and rejected in the analysis below.

Background: the July 2026 analysis, with the measured baseline, the savings arithmetic and the rejected alternatives.

Where we stand (verified 2026-11-20)

Needs: none

Sub-issues

Sub-issues

6 of 16 Issues completed
Loading 16 sub-issues

Activity

  1. added
    infrastructure
    on Aug 11, 2026
  2. removed
    infrastructure
    on Aug 13, 2026
  3. quantecon-services commented on Sep 24, 2026

    @quantecon-services
    Collaborator

    Tracker housekeeping, 2026-09-24:

    The body still reads "CLI-install gate folds into #105" and "the #105 CLI-install gate … stay[s] where [it is]". Those notes are now stale; #193 carries the gate. Two other stale lines, noted for the next body refresh:


    Generated by Claude Code

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

    @mmcky
    ContributorAuthor

    Revised the body's Where we stand section, re-dated 2026-11-10. What changed:

    What didn't change: the phases and the measured baseline below. Their stale points are listed in the section.

    Claude Code (on behalf of mmcky)

  6. self-assigned this
    on Nov 20, 2026
  7. mmcky commented on Nov 20, 2026

    @mmcky
    ContributorAuthor

    This tracker's body was rewritten on 2026-11-20, from about 1,840 words to about 150, as part of a trial of a shorter tracker format.

    The previous body is in this issue's edit history.

    Assisted-by: Claude Code (Claude Fable 5.2)

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions