Skip to content

refresh-snapshots: a dynamic snapshot's builder is failing #150

Closed as not planned

Description

@github-actions

The weekly sources-alive canary failed. Nothing was written: every consumer keeps reading the last-good snapshot, so no lecture is affected — this is the alarm moving from the lecture repos' CI to here, doing its job.

us_business_cycle_monthly.csv — validation failed (exit 2) — the fetched data broke the published contract. A human decides: absorb the upstream change in the builder's pre_process stage so the published schema is unchanged, or, if it cannot honestly be absorbed, plan a new-filename vintage (AGENTS.md, "Refresh, break, or schema change").

Builder: builders/business_cycle_fred.py. Last lines of its log:

::error::us_business_cycle_monthly.csv: validation failed -- UNRATE: out of band [0, 1]

Run: https://github.com/QuantEcon/data-lectures/actions/runs/36654189187

Posted automatically. Later failures comment here rather than opening new issues, so close this once the canary is green.

Activity

  1. added
    upstream-break
    on Sep 30, 2026
  2. github-actions commented on Sep 30, 2026

    @github-actions
    ContributorAuthor

    The weekly sources-alive canary failed. Nothing was written: every consumer keeps reading the last-good snapshot, so no lecture is affected — this is the alarm moving from the lecture repos' CI to here, doing its job.

    us_business_cycle_monthly.csv — validation failed (exit 2) — the fetched data broke the published contract. A human decides: absorb the upstream change in the builder's pre_process stage so the published schema is unchanged, or, if it cannot honestly be absorbed, plan a new-filename vintage (AGENTS.md, "Refresh, break, or schema change").

    Builder: builders/business_cycle_fred.py. Last lines of its log:

    ::error::us_business_cycle_monthly.csv: validation failed -- UNRATE: out of band [0, 1]
    

    Run: https://github.com/QuantEcon/data-lectures/actions/runs/36654357802

    Posted automatically. Later failures comment here rather than opening new issues, so close this once the canary is green.

  3. mmcky commented on Sep 30, 2026

    @mmcky
    Contributor

    Closing as not planned: this was an induced failure, not an upstream break. It is the canary proof for #147. The throwaway branch probe/canary-exit-2 narrowed UNRATE's validation band in builders/business_cycle_fred.py to (0, 1), and dispatches 36654189187 and 36654357802 were meant to fail with exit 2. The first opened this issue and the second commented on it, which is the behaviour under test.

    main's builder never changed, and its canary last ran green on 2026-09-28 (36388977766). The probe branch is deleted.

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

Metadata

Metadata

Assignees

Labels

upstream-break

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions