Skip to content

Centralized environment & config reporting for lecture series #321

Open
0 of 2 issues completed
Open

Description

@mmcky

Where we stand (verified 2026-09-21 10:58 AEST)

Next: QuantEcon/actions#30 — Phase 1 of the plan in status-lectures is a field-by-field review of the manifest schema against it; nothing else can start first.

Nothing is built yet. QuantEcon/status-lectures holds a README, design notes and a plan (PLAN.md); GitHub Pages is not enabled and none of the plan's four phases has started.

The architecture below is superseded. On 2026-06-11 that plan replaced it with a pull model: each series' publish step writes a static qe.status.json into the site it already deploys, and the dashboard fetches those files in the browser. There is no repository_dispatch, no intake workflow and no daily backstop scrape; a series without a manifest shows as "awaiting migration". Read the plan for the design. The Architecture diagram, the Collection decision and the wording of workstreams 1 and 2 describe the earlier one.

Two other parts of the body are overtaken. Workstream 5 is settled by QEP-3 (Accepted 2026-09-08), which defines the status-{domain} repository type, though QuantEcon/QuantEcon.manual#95 is still open. action-activity-report is now QuantEcon/reports-activity, and workstream 4's weekly diffs wait on a history collector the plan treats as a bolt-on.

Summary

Umbrella issue for a small initiative to give us a clear, low-noise view of how each lecture series is built and configured — and to surface environment changes in the weekly report without drowning it in noise.

Origin: @jstac asked whether the automated weekly activity report should include environment details, and whether that would be too noisy. Conclusion: full environment/config data should be pull (a status dashboard + per-series pages), and the weekly report should surface only diffs (what changed week-over-week).

Architecture

Superseded on 2026-06-11 by the pull model in the status-lectures plan; kept as the record of the earlier design. See Where we stand above.

publish-gh-pages (QuantEcon/actions) ──manifest + repository_dispatch──┐
daily backstop scrape ─────────────────────────────────────────────────┤
                                                                        ▼
                                                      QuantEcon/status-lectures
                                                 (in-repo JSON store + Pages dashboard)
                                                                │
                          ┌─────────────────────────────────────┴──────────────┐
                          ▼                                                      ▼
                   QuantEcon.manual                              action-activity-report
            (cross-cutting table + per-series block)          (week-over-week env diffs)

Decisions

  • New repo QuantEcon/status-lectures is the data store + GitHub Pages dashboard (created, public).
  • Collection: publish-push primary + daily backstop — publish-time manifests capture the effective (resolved) environment that actually built each site; the daily scrape covers not-yet-migrated repos and flags declared-vs-effective drift.
  • Data lives in-repo (GitHub-native), consistent with our no-webapp-hosting ops.
  • Naming: adopt a status- prefix convention for status/dashboard repos (data lives inside them).

Fields tracked per series

python version · anaconda/conda pin · jupyter-book version · theme version · sphinx extensions (+versions) · execute mode + timeout · only_build_toc_files · launch buttons · intersphinx targets · container vs conda + container tag/digest · runner (ubuntu vs AWS GPU) · GPU? · cache strategy · build duration.

Workstreams

  1. Producer — emit effective-env manifests at publish + daily backstop scrape → Environment & config reporting: publish-time manifest + central data store actions#30
  2. Store + dashboard — JSON store, dispatch intake, Pages dashboard → Scaffold: JSON store layout + Pages dashboard + dispatch intake status-lectures#1
  3. Manual views — cross-cutting features table + per-series env block → QuantEcon/QuantEcon.manual#94
  4. Weekly diffs — environment-change diffs in the activity report → QuantEcon/action-activity-report#25
  5. Naming convention — add status- prefix to the repo conventions → QuantEcon/QuantEcon.manual#95

Sub-issues

Sub-issues

0 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. self-assigned this
    on Jun 5, 2026
  2. mmcky commented on Jun 11, 2026

    @mmcky
    ContributorAuthor

    Suggested development order

    The dependency structure here is friendlier than it first looks: the daily backstop scrape means the store doesn't have to wait for the producer. Scraping _config.yml + environment.yml gives us declared config for every series with zero changes to QuantEcon/actions, so the dashboard can be populated and useful on day one — publish-push then upgrades series to effective data one at a time (which is exactly what makes it a migration tracker).

    Proposed order:

    1. Schema contract (joint: Environment & config reporting: publish-time manifest + central data store actions#30 + Scaffold: JSON store layout + Pages dashboard + dispatch intake status-lectures#1) — agree the v1 record shape and schema_version semantics first; it's the interface every other workstream consumes. Two decisions to settle here: the repository_dispatch payload cap (~64 KB — send curated fields, not a full conda list) and which org credential lecture repos use to dispatch into status-lectures.
    2. Store + backstop scrape + dashboard (Scaffold: JSON store layout + Pages dashboard + dispatch intake status-lectures#1) — build the JSON store and the scheduled scrape, render the cross-cutting table from scraped (declared) data. No producer dependency; immediately useful.
    3. Producer publish-push (Environment & config reporting: publish-time manifest + central data store actions#30) — emit the effective-environment manifest + dispatch intake, then seed one series end-to-end (suggest lecture-python-intro) and verify the backstop steps aside for it. Roll out to remaining series as they migrate.
    4. Manual views (QuantEcon/QuantEcon.manual#94) — once the raw-JSON URLs are stable; reads data/index.json + data/series/<repo>.json.
    5. Weekly diffs (QuantEcon/action-activity-report#25) — last, deliberately: diffs come from git history of the store, so this gets more meaningful after a few weeks of accumulated snapshots.

    Anytime: the status- naming convention (QuantEcon/QuantEcon.manual#95) is independent and small — may as well land it first.

    Development note: I'm treating status-lectures as the primary working repo for this initiative — the sibling repos get cloned into a gitignored repos/ folder there so the schema contract and producer/consumer code can be developed against each other in one workspace.

  3. mmcky commented on Jun 17, 2026

    @mmcky
    ContributorAuthor

    Split out the operational telemetry plane (runner health, build performance & cost — time-series, ops audience) into its own tracking issue: #328. Kept deliberately separate from this initiative: #321 stays the GitHub-native config/status store (declarative, permanent git history); #328 owns the time-series side (managed backend, rolling retention). The only overlap is build_duration — telemetry owns the trend, this store keeps at most a labelled snapshot. The two link one-way (a per-series status page can deep-link to its telemetry board).

  4. added theissue type on Sep 6, 2026
  5. mmcky commented on Sep 21, 2026

    @mmcky
    ContributorAuthor

    Update, 2026-09-21 10:58 AEST — first status section on this tracker; the body had not been edited since 2026-06-05. Every claim in it was checked today against status-lectures, its plan and the workstream issues. The finding worth a reader's attention: this body has described a superseded design since 2026-06-11, when the plan in status-lectures moved to a pull model and dropped both repository_dispatch and the daily backstop. The plan's own last checklist item is to note that here, and this is that note; one italic line under Architecture now says so too, and the diagram stays as the record. Agreed by the owner: QuantEcon/actions#30 and QuantEcon/status-lectures#1 are attached as native sub-issues, in that order, the two that carry the registry row's declared scope; both were parentless. The manual views, the weekly diffs and the naming convention are left unattached: the first two are consumers the plan hands off to, and QEP-3 has overtaken the third. The row is proposed and later, so this stamp raises no flag as it ages.

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