Snapshots

Persistent State

Persistent state is data retained beyond the lifetime of the process, job, or machine that created it. In CI, retention must be implemented explicitly through storage, caches, artifacts, or snapshots and paired with appropriate access controls.

Why it matters

Retained data needs an intentional lifecycle and access policy beyond a single job.

Practical example

Treat saved dependency directories and saved credentials differently when deciding what may survive a job.

Related terms

Sources

Definition reviewed .

Start with $10 in free credits

Change the runner label in your workflow and keep the rest of your GitHub Actions setup. Runner time is billed per minute.

← Return to glossary