View rule executions
Review the execution history of lifecycle rules, including scheduled cleanups and dry runs, with storage savings and per-artifact outcomes.
The Lifecycle Rule Executions tab provides a full audit trail of every lifecycle rule run. Each execution record shows which registries were affected, how many versions were deleted or protected, and how much storage was reclaimed. Use this tab to confirm that rules are working as expected, investigate failures, and track storage optimization over time.
Before you begin
Artifact Registry access: Project Admin or Artifact Registry Administrator role, or view permissions on lifecycle rules.
At least one executed or dry-run rule: The tab is empty until a cleanup rule has executed or a dry run has been triggered.
View executions
Go to Artifact Registry > Registries Settings > Lifecycle Rule Executions.
The execution list displays all runs, with the most recent at the top.
Each execution record includes:
Rule name: The lifecycle rule that triggered the execution.
Trigger type: Scheduled or dry run.
Status: Success, Failed, In Progress, or Pending. Pending is a brief transitional state between task creation and execution pickup and is rarely visible.
Registries affected: The number of registries the rule evaluated.
Packages affected: The number of distinct packages with deletion candidates.
Versions deleted: The count of versions removed (or that would be removed, for dry runs).
Storage reclaimed: The estimated storage freed by the execution.
Filter executions
Use the toolbar filters to narrow the list:
Status: Success, Failed, In Progress, or Pending.
Registries: Filter by specific registry.
Package Types: Filter by package format.
Select Show executions from parent policies to include executions from rules inherited from a higher scope.
Read execution details
Select an execution to open its detail view. The detail shows when the run started, how long it took, the number of registries, packages, and versions affected, and the estimated storage savings.
Version table
The version table lists every artifact version the rule evaluated. Use the columns to understand why a version was included or excluded:
Package name
The package or image the version belongs to.
Version
The version, tag, or digest.
Registry
The registry containing the version.
Status
The outcome for that version. A completed scheduled run shows Deleted for a removed version. A dry run shows WOULD BE DELETED or PROTECTED.
Size
The size of the version.
Uploaded at
When the version was uploaded. Compare this with the "Delete artifacts older than X days" and "Keep last N versions" criteria. Keep last N versions keeps the N most recently uploaded versions in upload order, not by semantic version. The column shows N/A when Harness does not have an upload timestamp for that version.
Last downloaded
When the version was last downloaded. Compare this with the "Delete if not downloaded in last X days" criterion.
Use the search bar or select Add filter to narrow the version list. At a parent scope, select Show items from child scope to include versions deleted in child-scope registries.
Cross-scope visibility
Execution visibility follows a top-down model:
Parent scope (account or organization): Can view execution entries from all child scopes that use the rule. Select Show items from child scope on the execution detail to expand the view.
Child scope (project): Can view entries from its own scope only, even when the rule is owned by a parent scope.
This model ensures that account administrators have full visibility into how lifecycle rules perform across the organization, while project teams see only their own execution data.
Track storage optimization
Use the execution history to measure the impact of your lifecycle rules over time:
Compare storage reclaimed across executions: Look for trends in the Storage reclaimed value. A steady or growing value indicates the rules are actively managing registry growth.
Review the summary cards: The Lifecycle Rules tab displays aggregate metrics at the top of the page: total storage saved, total artifacts cleaned, and executions in the last 30 days.
Identify underperforming rules: If a rule consistently reports zero versions deleted, the criteria may be too narrow or the registries may not contain artifacts that match the pattern filters.
Adjust thresholds over time: As teams change their build frequency or artifact retention needs, update cleanup criteria to match. Run a dry run after any change to validate the new thresholds. To run a dry run, go to Run a dry run.
Next steps
To validate a rule before it runs, go to Run a dry run.
To adjust cleanup criteria, go to Create a cleanup rule.
To protect specific versions from deletion, go to Create a retention rule.
To understand the full lifecycle management workflow, go to Overview.
Last updated
Was this helpful?