Dashboard window audit
DARE.CO.UK · DASHBOARD WINDOW AUDIT · 25 SEPTEMBER 2026
Catches the failure mode where dash.dare.co.uk’s Site-Health grids render ‘Waiting for data’ even though the anchor rollup file is sitting on disk. Reads the locally-built dashboard (pre-deploy) so CF cache doesn’t muddy the signal.
Source: /Users/dansellars/.local/share/dare/dare_dashboard.html
At a glance
| Window | Anchor date | Anchor rows | Rendered real | Rendered pending | Verdict |
|---|---|---|---|---|---|
7d |
2026-09-18 |
27 | 1 | 26 | ✅ ok |
30d |
2026-08-26 |
27 | 26 | 1 | ✅ ok |
90d |
2026-06-27 |
26 | 0 | 27 | ❌ REGRESSION |
❌ Regressions detected
90dwindow: anchor filedare_daily_hygiene_2026-06-27.mdexists on disk with 26 tripwire row(s), but the latest dashboard build rendered 27 pending placeholder cards and 0 real cards for this window.
What to do: re-run the dashboard refresh and re-check. If the regression persists after a fresh build, inspect dare_cf_analytics.py:_find_rollup_for_date() and the surrounding _window_has_min_cards() gate. Common causes: stale HOME, file written after the build window started, or a path-resolution change in the rollup glob.
To trigger a manual refresh:
launchctl start uk.co.dare.dashboard
tail -f ~/Downloads/dare_dashboard_refresh.log
Why this check exists
- Incident 2026-06-05: the dashboard build silently rendered the 7d Site-Health grid as ‘Waiting for data — no daily-hygiene rollup yet for 2026-05-29’ while the rollup file was on disk. Only the 24h view stayed correct; the longer windows decayed silently with no other tripwire watching the seam.
- This tripwire compares expected (anchor rollup file on disk with ≥3 parseable rows) against actual (rendered grid has any real cards in the corresponding
data-window). - It reads the local pre-deploy HTML to remove CF Pages edge cache from the variables. If the local build is wrong, the deployed build will also be wrong.
- Verdict: RED on any regression. Green when every window with data renders real cards (windows still accruing history are ignored — they correctly show pending placeholders).