Some checks failed
continuous-integration/drone/push Build is failing
history_for() now enumerates run dirs' results.json, groups by recipe, sorts newest-first by finished timestamp (mixed numeric+named ids — timestamp is the only correct key), caps at HISTORY_CAP=30, skips malformed/empty/no-recipe dirs. Overview + badges + /runs + security guards + stdlib-only unchanged. Local verify: 13/13 unit tests; full-fixture vs 308 real results.json → bluesky-pds=8 in exact ts order, plausible capped 30 newest, edge dirs skipped. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
938 B
938 B
BACKLOG — phase dash
Build backlog
- Root-cause confirmed (Drone 100-build window) + host artifact schema inspected.
- M1: rewrite
history_forto source from/var/lib/cc-ci-runslocal artifacts, newest-first byfinished, capped at HISTORY_CAP, malformed/empty dirs skipped, security/other routes unchanged. - M1: unit test for local sourcing (count/order/cap/skip) + full-fixture verify vs real data.
- M1: awaiting Adversary PASS in REVIEW-dash.md.
- M2: deploy (rebuild dashboard image via deploy-dashboard reconcile / nixos-rebuild; content-hash
tag rolls on dashboard.py change), verify live on
/recipe/bluesky-pds+ ≥2 recipes, overview + badges still 200, host health after. - M2: confirm retention does not trim
/var/lib/cc-ci-runs(record in DECISIONS if a cap needed). - DONE: both gates Adversary-PASS in REVIEW-dash.md → write
## DONEin STATUS-dash.md.