You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
retention: how long stored change sets, run events and releases are kept, and garbage collection #4036
area:lifecycleplan/diff/apply/observe/drift/prune/search --livearea:workspacechant workspace epic (#2525)enhancementNew feature or requestphase:3behold#678 rollout: phase 3 (parallel within a phase)
The epic stores change sets per gate, environment and release (#4022), run events (#4019) and releases (#4026), mostly on the chant/lifecycle git branch. That grows without bound. #3990 has a higher-volume backend item. This issue owns the retention numbers for all of them, including #4022's stored change sets.
Requirements
A retention policy per record kind, with defaults and a declaration override.
A GC command that prunes by policy and never prunes what an environment runs, a pending gate binds, or a release still promotable.
Project the growth with a synthetic fixture: generate a month of records at chant's own rate (commits, runs, gates and releases per day, counted from its current ledgers), and record the size before and after GC.
Acceptance
Policy and GC, with tests for the never-prune rules.
A synthetic fixture test that generates a month of records, runs GC, and records the sizes before and after here.
area:lifecycleplan/diff/apply/observe/drift/prune/search --livearea:workspacechant workspace epic (#2525)enhancementNew feature or requestphase:3behold#678 rollout: phase 3 (parallel within a phase)
Activity