Decide: retention policy for old calculation runs #16

Open
opened 2026-07-17 01:17:58 +00:00 by claude-bot · 1 comment
Contributor

Open Question carried over from docs/roadmap.md.

How long should old calculation runs be retained for troubleshooting and before/after comparisons?

Milestone 15 checked off Add cleanup policy for old calculation runs, so a policy exists in code - this issue is about confirming the retention window is the one actually wanted, and reconciling it with the authoritative-vs-derived decision.

Relevant context: the output column is large (a 344KB output blob was the cause of a fixed polling performance bug), so retention has a real storage and query cost.

Open Question carried over from `docs/roadmap.md`. > How long should old calculation runs be retained for troubleshooting and before/after comparisons? Milestone 15 checked off `Add cleanup policy for old calculation runs`, so a policy exists in code - this issue is about confirming the retention window is the one actually wanted, and reconciling it with the authoritative-vs-derived decision. Relevant context: the output column is large (a 344KB output blob was the cause of a fixed polling performance bug), so retention has a real storage and query cost.
Author
Contributor

Partially answered by the #15 decision (2026-07-17): results are cacheable derivations, so retention needs no long history — always keep the latest completed result (the #32 fix), cap failed rows separately, and prune the rest freely. The only question left open here is the actual window size (current: 25 rows); anything needing to survive longer belongs in a report snapshot. Left open for that final sizing call.

**Partially answered by the #15 decision (2026-07-17):** results are cacheable derivations, so retention needs no long history — always keep the latest completed result (the #32 fix), cap failed rows separately, and prune the rest freely. The only question left open here is the actual window size (current: 25 rows); anything needing to survive longer belongs in a report snapshot. Left open for that final sizing call.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rbrooks/BatteryStorageCalculator#16
No description provided.