Repository navigation
feat(controlplane): keep workflow run events for the life of the run - #3876
Conversation
PR validation — ✅ 3 passing
AI Session Checks — 🟡 81% · ✅ 0 failing
|
| Status | Policy | Material | Messages |
|---|---|---|---|
| ✅ Passed | ai-config-ai-agents-allowed |
ai-coding-session-6fa451 |
- |
| ✅ Passed | ai-config-no-dangerous-commands |
ai-coding-session-6fa451 |
- |
| ✅ Passed | ai-config-no-secrets |
ai-coding-session-6fa451 |
- |
| ✅ Passed | ai-config-mcp-servers-allowed |
ai-coding-session-6fa451 |
- |
Security Checks — ⚠️ 1 failing
⚠️ AI Security Analysis
The per-PR audit did not finish: 1 concern went unreviewed (spend ceiling or time). No introduced risk was found in what it reviewed, but treat this as incomplete, not clean.
View in Chainloop ↗ · How this works ↗
✅ Secret Scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | secrets-detection |
- |
✅ SAST Scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | owasp-top10-2025 |
- |
| ✅ Passed | sast |
- |
| ✅ Passed | cwe-top25 |
- |
| ✅ Passed | cwe-top26-40-cusp |
- |
✅ IaC Scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | iac-misconfiguration |
- |
Scans not applied (2)
| Scan | Reason |
|---|---|
| Vulnerability Scan | no manifest/lockfile changed |
| GitHub Actions Scan | no workflow files changed |
Powered by Chainloop and Chainloop Trace
There was a problem hiding this comment.
All reported issues were addressed across 21 files
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 1 file (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 1 file (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
1eb1edd to
dbd14b6
Compare
dbd14b6 to
5f4458b
Compare
|
Rebased onto main after #3877 merged. #3877 took R-013 and D-013 for the skipped status, so this PR's entries are now R-014 (run events are kept for the life of the run) and D-014. The earlier review replies that cite R-013 and D-013 mean these entries. The spec commits are squashed into one commit, 5f4458b. 🤖 Posted by Maximus bot (Claude Code) on behalf of @migmartri |
Run events hold the timeline of a run: failed adds, custom steps and the closing event. They are important data, not only a live progress signal, so the control plane no longer deletes them after a retention period. Remove the retention sweep from the run expirer, the workflow_run_events_retention setting (now reserved, an old config still loads), its Helm value, and the created_at index that only the sweep used. Supersedes R-007 of the issue-3825 spec with R-014, records D-014, and marks the retention references of the spec as superseded. Run events grow with the number of runs, at most 1,000 client events plus the closing event for each run, which is accepted. Assisted-by: Claude Code Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev> Chainloop-Trace-Sessions: 6fa45112-b259-4fab-9624-8c7abd44f760
5f4458b to
b589981
Compare
Workflow run events hold the timeline of a run: failed
addactions, 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.workflow_run_events_retentioncontrol plane setting. The field is reserved, and a configuration that still sets it keeps loading.controlplane.attestations.workflowRunEventsRetentionHelm value.created_atindex ofworkflow_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