feat(cli): record skipped steps with chainloop attestation event

Merged
MI
4d ago
+122-16

Adds a skipped status to run events, for a pipeline step that did not run, for example a scan with no target or a cached test suite.

  • Record: chainloop attestation event --name <key> --status skipped records the step. The control plane accepts skipped for custom events only and rejects it for automatic events.
  • Describe: chainloop workflow run describe shows a skipped step in the timeline with its own symbol (↷).
  • API: new STATUS_SKIPPED value in WorkflowRunEvent.Status. The event status column is a varchar, so there is no migration.

Spec issue-3825: R-013 supersedes R-012, and new decision D-013 records why skipped is for custom events only (#3825).

This change was written with AI assistance (Claude Code).

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