Skip to content
quarry Check-in [e2b74749b4]
Login

Check-in [e2b74749b4]

Overview
Comment:Analytics: say whether history is being kept, and stop keeping it for ever

The live panels read in-memory rings, so a forge whose store failed to open looked exactly like a healthy one. Sink.Err() existed and nothing asked it. The page now distinguishes three states: off, broken, and recording to a named path.

Retention was 'append for ever', which is a default nobody was asked about. --analytics-keep sets the window, 14d by default, 0 keeps everything. Pruned at startup and daily.

Timelines: family | ancestors | descendants | both | fleet-census
Files: files | file ages | folders
SHA3-256: e2b74749b4fe84958cc95f4b9e3e27c7b1ba49ce61e6b058c06ff89c024086f4
User & Date: dmestas on 2026-08-25 22:19:15.940
Other Links: branch diff | manifest | tags
Context
2026-08-25
22:22
ops: name the untimed remainder instead of leaving it to subtraction

SQL has no timing category of its own and cannot easily get one: the sqlite driver builds its connector through an unexported constructor, so there is nothing to wrap. The panel's honest answer is subtraction, and subtraction the reader does in their head is not an answer.

'rest' is now a column, the lede says what the ops-minus-zit gap contains and why SQL is not split out. closed check-in: 0d65af656c user: dmestas tags: fleet-census

22:19
Analytics: say whether history is being kept, and stop keeping it for ever

The live panels read in-memory rings, so a forge whose store failed to open looked exactly like a healthy one. Sink.Err() existed and nothing asked it. The page now distinguishes three states: off, broken, and recording to a named path.

Retention was 'append for ever', which is a default nobody was asked about. --analytics-keep sets the window, 14d by default, 0 keeps everything. Pruned at startup and daily. check-in: e2b74749b4 user: dmestas tags: fleet-census

22:13
Fleet home: stop paying for the numbers a row does not show

The fleet listing called Counts, the per-section census the repository nav needs: eight aggregates per store, of which a fleet row displays two. A fold invalidates the memo, so during indexing every row went cold at once.

Cold, on tcl (668MB, 42k check-ins): 230ms of census per repository against 80ms for the two numbers. Contributors now reads the maintained contributor table rather than a DISTINCT scan over every event — verified identical across all 25 demo indexes. check-in: c5d8786875 user: dmestas tags: fleet-census

Changes