TECHNOLOGY

Argo workflow retention and artifact deletion have separate policies

In this article
THE QUICK TAKE

Set retention for workflow records and external outputs separately, and verify the artifact object rather than infer deletion from the absence of a workflow.

Name the record and the file separately

A completed research workflow stores a report in an artifact repository and leaves an orchestration record for inspection. Argo’s cost-optimization guide lists workflow TTL, pod garbage collection and volume cleanup as distinct controls. A retention rule for the workflow object should not be described as though it directly specifies the lifetime of every external report file created during execution.

Choose the artifact deletion event

The artifact guide supports cleanup on workflow completion or workflow deletion. It also permits per-artifact overrides, including Never, so temporary outputs and retained reports can have different policies. Determine which stored artifacts must remain readable for the report consumer. A workflow-level default is not enough evidence of deletion behavior when an output artifact declares its own strategy.

Connect TTL to deletion without collapsing the mechanisms

The field reference defines TTL for finished workflow objects and artifact GC for external outputs. A deletion-triggered artifact strategy can react when workflow deletion occurs, but that does not make the operations one indivisible storage action. Artifact cleanup has its own execution, permissions and outcomes. Inspect both the orchestration lifecycle and the repository object before claiming that retention was enforced end to end.

Preserve ownership through artifact keys

The artifact guide recommends workflow-specific naming when concurrent workflows could otherwise share a repository key. A cleanup operation associated with an older workflow must not accidentally remove a newer report using that same key. Define whether outputs are immutable per run or intentionally shared. Task contracts can state the retained artifact’s identity, so cleanup responsibility follows a specific object rather than a reused friendly filename.

Treat cleanup failure as an outcome to inspect

Argo records artifact-GC failures and uses a finalizer that can prevent deletion of the workflow resource. Removing a blocking finalizer changes that orchestration behavior; it is not evidence that the external deletion succeeded. Tool observations should retain the GC outcome and actual object state. A useful retention audit distinguishes missing workflow history, deleted temporary outputs, intentionally retained reports and failed cleanup, instead of treating an empty workflow list as proof that every associated byte disappeared.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles