﻿# Flyte 2 retention: visible run history does not guarantee that artifact bytes still exist

Plan Flyte 2 artifact retention by distinguishing control-plane history, object-store values, checkpoints and cached output references needed for later evaluation.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-flyte-two-history-retention-dangling-artifact-pointers/
Language: en

## The old run is visible but its report is gone

An engineer opens a successful historical evaluation and can still see its timing and task structure. The model artifact or report payload is missing because an object-store retention rule removed it. The remaining history is not contradictory: it describes what executed, while the referenced values had a different lifetime.

List the evidence needed for the intended future use. Auditing a status, viewing a report, reproducing predictions and resuming partial work require different stored objects. A single retention duration chosen without that distinction can preserve the least useful layer.

## Understand the storage split

The [data location guide](https://www.union.ai/docs/v2/flyte/user-guide/get-started/core-concepts/where-data-lives/) distinguishes control-plane records from object-store inputs, outputs and offloaded content. It describes what remains visible when bucket objects are purged. A durable database record can therefore contain a pointer whose target is no longer available.

Treat retention as a dependency question. Preserving a model file while removing its input specification or required checkpoint can still prevent the intended replay. Keep the scope of the promised historical capability explicit.

## Run structure is not the full result

The [runs and actions guide](https://www.union.ai/docs/v2/flyte/user-guide/get-started/core-concepts/runs-and-actions/) explains the execution hierarchy. These records help locate the action that produced a result, but locating a producer and retrieving its output are separate operations.

For a model evaluation, connect the action to the exact artifact set. [Artifact release manifests](/journal/tokenizer-artifact-release-manifest/) help express the relationship among weights, tokenizer and configuration. A model name displayed in run history does not reconstruct missing members of that set.

## Reuse depends on retained values

The [caching guide](https://www.union.ai/docs/v2/flyte/user-guide/tasks/task-configuration/caching/) describes task output reuse. A cache entry is not an independent guarantee of payload retention. Consider what the application must do when a referenced output is no longer retrievable, rather than assuming past cache success proves permanent availability.

Separate a fresh recomputation from restoration of historical evidence. Recomputing after deletion may yield a usable new result, but it does not necessarily reproduce a changing external input or a nondeterministic prior model execution.

## Verify the promised historical operation

Use a noncritical test run to inspect each required artifact under the proposed retention policy. Check actual reads and the intended downstream use, not just whether the UI still lists the run.

Document [dataset removal lineage](/journal/data-guide-dataset-removal-lineage-tombstone/) when data intentionally disappears. A useful historical record can explain why an artifact is unavailable without pretending that the remaining metadata is sufficient to repeat the original experiment.
