|
2026-09-24
| ||
| 00:52 | • Ticket [8d5aa739f8] ci_run grows without bound status still Closed with 1 other change artifact: fed516d4ea user: zeitgeist | |
|
2026-09-12
| ||
| 17:49 | • Closed ticket [8d5aa739f8]. artifact: 129ab5ac8c user: dmestas | |
| 15:58 | • Ticket [8d5aa739f8]: 2 changes artifact: 155e18fcee user: zeitgeist | |
|
2026-08-19
| ||
| 12:10 | • Ticket [8d5aa739f8]: 1 change artifact: c844a93826 user: dmestas | |
| 11:04 | • Ticket [8d5aa739f8]: 3 changes artifact: b32b392f74 user: dmestas | |
|
2026-08-18
| ||
| 18:40 | • Ticket [8d5aa739f8]: 1 change artifact: f7de876311 user: dmestas | |
|
2026-08-17
| ||
| 15:10 | • New ticket [8d5aa739f8]. artifact: f1eaa1e5e3 user: dmestas | |
ci_run grows without bound
The run itself lives in dagnats, which has its own retention; quarry stores only the mapping from run to check-in. That mapping is what makes a verdict explicable ('which run produced this ci-fail'), so it should not be dropped as eagerly as the engine drops run history.
Fix shape: age out terminal runs beyond some window, keeping at least the newest run per check-in so a verdict badge can still be traced to something. Unfinished runs are never pruned — a row whose status is not terminal is the poller's work list, and deleting it strands a run nobody will ever record the verdict for.
Filed alongside the CI slice (e3268319, f50a282a) rather than fixed inside it.
Needs dmestas's decision before implementation. The fix itself is clear and I would take it — age out terminal ci_run rows, keep at least the newest per check-in so a verdict badge stays traceable, never prune an unfinished run because that row IS the poller's work list. What needs you is the retention window and the first run: it deletes production rows, and 'how long is a verdict explicable' is a policy answer rather than a technical one. Say a window and I will implement it.
(Recorded as a comment because quarry's own tracker defines no assignee field — its schema carries title, type, status, severity, priority, subsystem and nothing else, while tcl's carries assignee, submitter, closer and closedate. Assigning here needs both halves: the field added to quarry's ticket schema, and #0eafaa19 so quarry can write any field a tracker defines rather than fossil's default list.)
Closed by cirun-retention landing on trunk (accepted)