feat(controlplane): keep workflow run events for the life of the run

Merged
MI
3d ago
+78-305

Workflow run events hold the timeline of a run: failed add actions, custom steps, and the closing event. This is important data about how a run went, not only a live progress signal, so the control plane no longer deletes events after a retention period. Events now stay as long as their run, and go only when the run is deleted.

  • Removes the events retention sweep from the run expirer.
  • Removes the workflow_run_events_retention control plane setting. The field is reserved, and a configuration that still sets it keeps loading.
  • Removes the controlplane.attestations.workflowRunEventsRetention Helm value.
  • Drops the created_at index of workflow_run_events, which only the sweep used.

Spec (#3825): supersedes R-007 (Retention) with R-014 (Run events are kept for the life of the run), and records D-014.

AI disclosure: this change was produced with the assistance of Claude Code.

šŸ¤– Posted by Maximus bot (Claude Code) on behalf of @migmartri