Free forever, no credit card.Get Started for Free →
← All posts
November 26, 2026 · 6 min read

Does GitLab CI Remember Between Runs? Artifacts Carry One Pipeline. The Next Pipeline Starts With Only Its Variables.

Does GitLab CI Remember Between Runs? Artifacts Carry One Pipeline. The Next Pipeline Starts With Only Its Variables. A scheduled GitLab pipeline runs every morning, scans a set of services, and uses an AI job to sort the findings into new problems and known noise. On the second morning, the same findings appear again. What does today's pipeline know about yesterday's sorting? Only what a job saved into a file, a variable, or an external system on purpose. GitLab CI is precise about moving file

Does GitLab CI Remember Between Runs? Artifacts Carry One Pipeline. The Next Pipeline Starts With Only Its Variables.

A scheduled GitLab pipeline runs every morning, scans a set of services, and uses an AI job to sort the findings into new problems and known noise. On the second morning, the same findings appear again. What does today's pipeline know about yesterday's sorting? Only what a job saved into a file, a variable, or an external system on purpose. GitLab CI is precise about moving files and values inside one pipeline, and it keeps a detailed record of every pipeline it runs. Between pipelines, learned conclusions do not carry forward on their own.

A pipeline is one run, and it starts from its variables

When a trigger fires, GitLab creates a pipeline: one pass through the jobs defined in the .gitlab-ci.yml file. The values that pipeline begins with are its variables. Some are predefined by GitLab itself, such as the commit SHA, the branch name, and the pipeline ID. Others are CI/CD variables defined at project, group, or instance level, or supplied when a pipeline is triggered manually, by a schedule, or through the API. Everything a job works out after that point belongs to that pipeline.

That scoping is the central fact. A conclusion produced inside Monday's pipeline is Monday's. Tuesday's pipeline is a separate pass with its own jobs, variables, and logs. There is no pipeline-level notebook each new run opens before it starts. The configuration and the CI/CD variables are shared across every pipeline. The data inside each pipeline is partitioned by pipeline, and a new one begins with exactly the variables it was given at the start.

Artifacts and dotenv reports are real memory, with the pipeline as the border

Inside a pipeline, GitLab passes data between jobs properly. A job can declare artifacts: files that are uploaded when the job finishes and downloaded by jobs in later stages or by any job that declares a dependency with needs. A special kind of artifact, the dotenv report, passes variables themselves: a job writes key-value pairs to a file, and downstream jobs receive them as variables of their own. Reports such as test results and coverage can be attached to a pipeline as well.

This is working memory, and it is well built. Its border is the pipeline itself. Artifacts move files from one job to the next in the same run, and they expire after a configured period. When the pipeline ends, its dotenv variables end with it. Nothing promotes a computed value into a store the next pipeline reads automatically. A finding that matters tomorrow survives only if a job writes it somewhere external on purpose: a file committed back to a repository, a database row, an issue.

The cache crosses pipelines, but only as a speed-up

One mechanism does cross the border. The cache stores files such as dependency folders and restores them in later pipelines, keyed by a value the configuration chooses, often a hash of a lock file. A job that finds its cache restored skips a long download and starts work sooner.

The cache is a performance tool, not a memory system. GitLab documents it as best-effort: the cache can be purged, a different runner can miss it, and a pipeline must be able to run correctly when the cache is not there at all. What belongs in a cache is content a job can always regenerate, such as downloaded packages. Conclusions do not belong there. A cache restores files by key; it does not restore reasoning, and no job opens yesterday's cache to ask what yesterday's pipeline decided.

Pipeline history remembers everything, for people

GitLab does keep a complete record. Every pipeline stays listed with its status, its jobs, each job's log, and any artifacts that have not yet expired. Teams lean on that history for audits, for debugging a failed morning, and for tracing which pipeline produced which release.

That history is a memory built for people, not for the next pipeline. No job inside a running pipeline opens yesterday's job log to ask what it found. A scheduled pipeline with an AI job produces a complete archive of finished reasoning and a new pipeline that starts with only its variables. The archive and the working inputs are two different systems, and only one feeds the next run. Even the stores that genuinely persist, the CI/CD variables among them, hold configuration ready for any pipeline. They keep values ready. They do not keep conclusions.

The gap is where scheduled AI work loses its thread

Put an AI job inside a scheduled pipeline and the gap becomes concrete. Today the job reviews the same findings it reviewed yesterday. Yesterday it decided three of them were one known issue and said why. Today it receives today's variables and today's scan output, and it decides again from zero. If it reaches a different conclusion, nothing in the pipeline notices the contradiction, because the earlier conclusion lives in a stored job log that no job reads.

The usual fixes are hand-built memory. A script fetches the latest successful pipeline's artifact through the API at the start of the next run. A database table holds the last state per service, maintained by the pipeline itself. These work until they meet the second project or the second tool: the artifact belongs to one project's pipelines, the table is readable by one pipeline, and the AI assistant used outside GitLab knows none of it. Every automation grows its own private memory, and none of them can see each other.

One memory the next pipeline can actually open

The missing piece is a memory layer that sits outside any single pipeline and is readable from all of them. That is the role Vilix AI fills. An AI job saves what it concluded, with the reasoning attached, and the next pipeline, today, next week, or in a different tool entirely, opens that same memory before it starts.

Vilix AI is cloud-hosted, so there is nothing to install or maintain on a runner or anywhere else: zero infrastructure to run, patch, or back up. It connects over MCP, the standard protocol AI tools already speak, so the same memory is available to the agent inside the pipeline, to a chat assistant used during the day, and to every other connected tool, identically everywhere. It stores full conversation history, not just extracted facts, so a later pipeline can recover why a decision was made, not only what the decision was. And because the memory is shared rather than trapped in one job log, the scheduled pipeline and the person investigating at noon are working from the same past.

Getting started does not require a commitment. The free plan is free forever, and the Pro trial runs 7 days with no card required. The memory stays under your control: export it or delete it at any time. GitLab CI will keep doing what it does well, running the same pipeline the same way every morning and recording every run. Give its AI jobs one memory that survives the end of the pipeline, and today's run finally starts from what yesterday already learned.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does GoCD Remember Between Runs? An Artifact Carries the Binary Forward. The Next Pipeline Instance Starts With Only Its Materials.

Does GoCD Remember Between Runs? An Artifact Carries the Binary Forward. The Next Pipeline Instance Starts With Only Its Materials. GoCD remembers a great deal about delivery, and almost nothing about reasoning. Every pipeline instance is recorded, every artifact a job publishes is stored, and a downstream pipeline can fetch exactly the artifact its ancestor produced. What no instance inherits is the working context behind the last run: why a stage was retried, what an operator noticed in the l

What Are the Alternatives to Google InMemory Sessions for the Anthropic SDK?

What Are the Alternatives to Google InMemory Sessions for the Anthropic SDK? The alternatives to Google InMemory sessions for the Anthropic SDK are a database-backed session store you run yourself, a managed session service from a cloud platform, or a hosted memory layer your agent connects to over MCP. InMemory sessions keep state in process memory only, so every restart, redeploy, or scale-out wipes what your agent knew. Any of the three alternatives fixes that by writing session state and co

Does Spinnaker Remember Between Runs? An Artifact Can Carry Over From the Prior Execution. The Next Execution Starts With Only Its Trigger.

Does Spinnaker Remember Between Runs? An Artifact Can Carry Over From the Prior Execution. The Next Execution Starts With Only Its Trigger. A Spinnaker pipeline that deploys the same service every day can look like it knows the service by heart. The right image arrives, the right manifest renders, and the execution list shows every earlier deployment in order. Underneath, each execution is its own record with its own context, built from its trigger and its stages. What one execution learned sta