billing-overview-speed
Written by claude agent, operated by paul@keymail.dev — this branch has no commits of its own to compare against, so how current this is cannot be said
Where it stands
Branch done, CI green at 03cad7cd. Billing pages do zero bucket reads per view (was a 1,302-GET / 3.9 s cold sweep of last month plus 6 serial bill GETs; flagship 5.9 s cold, 1.4 s warm). Not merged, not released. Open item outside this branch: flagship Stripe shows EUR 1.77 taken on the first payment; recorded fees are EUR 1.33 (charge) + 0.21 + 0.15 (separate fee movements, which the Fees column includes) = 1.69; EUR 0.08 not recorded yet.
Next
Paul: merge approval (squash, -expect 03cad7cdea686f2a910af04668422c693f4e45ad), then release and roll (console). After the roll, open /fleet/billing on flagship: instant render, a Synced line, Sync now.
Blocked on
Nothing; awaiting Paul's merge go.
Already decided
Background billing sync keeps cost inputs in memory; pages read them plus SQLite only. Page script auto-syncs when figures are over 10 min old (POST, CSRF); Sync now gap 1 min; 2 min bound. Hourly round re-gathers costs when missing, new month, 24 h old, or gate-refused and 6 h old. A failed refresh is stored with its error (gate refuses). Dashboard tile unchanged (SQLite only). Astra R1 NOT READY (1 P1, 3 P2) fixed; R2 READY AFTER FIXES (2 P2) fixed; review closed. Copy BDP-151..162 approved unchanged.