Observability

pipeline ops

The nightly pipeline monitored like a production system — statistical process control on its own health, a dead-letter queue, and an incident log with real entries. SPC violations warn; they never block (the dbt tests and parity gate are the gates).

Last run 2026-12-02T08:15:36+00:00 · commit 4b23aa672742 · dbt tests 50/50 · parity green · target 10:00 ET nightly
Runs recorded
120
SPC needs ~15 to set control limits.
Dead-letter queue
0queued · 0 quarantined
Failed pulls retried then quarantined — never a dead night.
Mean time to recovery
1.0hrs
Across 3 logged incidents.

Run history

Last 30 runs — green = all gates passed.

Statistical process control

Individuals control charts on the pipeline's own health — limits derived from the process (moving-range estimate), not fixed thresholds. The physical canaries (fastball velocity, pitches per game) double as data-drift detection on the feed.

Rows ingestedinvestigate: WE1: beyond 3σ
UCL 2910608.033LCL 2909212.3
Ingest wall-time (s)in control
UCL 414.187LCL 66.313
dbt test time (s)in control
UCL 25.049LCL 11.884
League fastball velo (mph)in control
UCL 94.348LCL 94.348
Pitches per gameinvestigate: WE4: 8 consecutive one side
UCL 294.506LCL 294.497

Incident log

Real failures and their fixes — not a curated wall of green. These are genuine bugs this pipeline hit and how they were resolved.

pull_people overwrote the frozen roster2026-07-04 · high
The people pull fetched only the current-season roster and overwrote the single people partition, dropping players who had retired by 2026. B3's aging curve broke silently (peak 30 -> 51) because their birth years vanished.
Fix: Made pull_people cumulative (union with the existing partition); birth years are stable so a union never changes a value. B3 restored to exactly 30.0026. (MTTR ~1h)
Wikipedia 429 aborted the draft pull2026-07-04 · medium
Twelve draft year-pages fetched back-to-back tripped a Wikipedia rate limit; get_json's exponential backoff exhausted because it ignored the server Retry-After header, and the whole ingest aborted (lost draft years 2018-2019).
Fix: get_json now honors Retry-After (cap 60s); the draft pull throttles at 2s/page. (MTTR ~1h)
dbt test count read a clobbered run_results2026-07-04 · low
The dashboard's test tally read dbt/target/run_results.json, which the live (test-free) dbt run overwrites -> the page showed 0 passing tests.
Fix: The build stage snapshots the frozen test results to data/results/frozen_run_results.json, which prepare prefers. (MTTR ~1h)