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

Does Drone CI Remember Between Runs? A Workspace Carries One Pipeline. The Next Pipeline Starts With Only Its Configuration.

Does Drone CI Remember Between Runs? A Workspace Carries One Pipeline. The Next Pipeline Starts With Only Its Configuration. Run a Drone CI pipeline twice and the second run feels familiar. The same .drone.yml is read, the same steps appear in the same order, and the build history shows both runs side by side. That familiarity can look like memory. It is not. Drone CI remembers a pipeline well enough to repeat it. It does not hand the next pipeline what the last pipeline learned while it ran.

Does Drone CI Remember Between Runs? A Workspace Carries One Pipeline. The Next Pipeline Starts With Only Its Configuration.

Run a Drone CI pipeline twice and the second run feels familiar. The same .drone.yml is read, the same steps appear in the same order, and the build history shows both runs side by side. That familiarity can look like memory. It is not. Drone CI remembers a pipeline well enough to repeat it. It does not hand the next pipeline what the last pipeline learned while it ran.

That distinction matters now that pipelines carry AI steps. A scheduled pipeline that triages issues, summarizes changes, or drafts release notes needs the reasoning, the decisions, and the open threads from the previous run. Understanding what Drone CI keeps, and for how long, shows where that continuity has to come from.

What the workspace keeps, and only inside one pipeline

The clearest form of memory inside a Drone CI pipeline is the workspace. Drone documentation describes the workspace as the root of the git repository, shared by all steps in the pipeline. Commands run inside that root, and file artifacts persist between steps because every step mounts the same shared volume.

That sharing is real, and it is useful. A clone step writes the repository, a build step writes compiled output, and a later test or publish step reads both. Steps cooperate through a common filesystem.

The boundary is the pipeline itself. Each step runs in its own container, thrown away after it serves its purpose. The workspace connects the steps of one execution. When the pipeline ends, there is no promise that the next pipeline starts with the workspace the last one left behind. The next execution clones again and rebuilds its own workspace.

So the workspace is working memory, not long-term memory. It carries files across steps. It does not carry understanding across runs.

Environment, secrets, and configuration are supplied, not remembered

A second kind of continuity comes from configuration. Environment variables are scoped to individual steps, or set at pipeline level in the YAML. Secrets are referenced with from_secret and resolved at runtime from the configured secret backend. Triggers, conditions, and when blocks decide which steps run for a push, a pull request, a tag, or a cron event.

All of that arrives at the start of a run. None of it is produced by the previous run. A variable does not update itself because a step discovered a new value yesterday. Configuration tells each new pipeline how to behave in general. It says nothing about what happened in the specific run before it.

This is why two runs can look identical on paper and still behave as strangers. The history of decisions, exceptions, and partial progress is not in the YAML, and Drone CI does not add it there.

Build history is a record for people

The Drone server does keep history. It serves the web interface, receives webhooks, hands work to runners, and holds pipeline state and build history in a database, SQLite by default or Postgres or MySQL for larger installs. An operator can open that history, read logs, and compare a failed run with a passing one.

That record is for people. A step in a new pipeline does not read the previous build's log, reason over why the last run made a choice, and continue from there. The history is stored so a human can inspect it. It is not fed back into the next run as working context. Logs and dashboards preserve evidence, and evidence is not the same as memory an agent can use.

Caching is a plugin, and it restores files, not context

Drone CI does not provide the kind of dependency caching many teams expect as a built-in default. The ecosystem answers with cache plugins, such as drone-cache and volume-cache plugins, which snapshot parts of the workspace after a run and restore that snapshot at the start of the next one, storing it in S3 or on a mounted volume under a cache key template.

Used well, that saves real time. Restored dependencies mean an install command downloads only what changed instead of every package on every build.

Two limits define what caching is. First, a volume cache is local to the runner node that holds it, and the next build is not guaranteed to land on the same machine, which is why bucket-backed caches exist. Temporary volumes, by contrast, are ephemeral per-run storage. Second, and more important for AI steps, a cache restores files. It does not restore reasoning. A restored node_modules folder speeds up a build. It does not tell an agent which issues it already triaged, which summary it already sent, or which exception it decided to tolerate. Even stretched into a cross-run store, a host volume holds leftover files, not a curated account of what the run concluded.

What an AI step actually needs on its next run

Put an AI agent inside a scheduled Drone CI pipeline and the gap becomes concrete. On Monday the agent reviews new issues, groups duplicates, drafts replies, and notes that one reporter needs a follow-up in two days. On Wednesday the pipeline runs again. The workspace is fresh, the environment is the same, the history sits in the server database for a human to read, and any cache restores dependencies only.

Without an external memory, Wednesday's run re-derives everything. It re-reads the same background, risks grouping the same duplicates differently, and has no record of Monday's follow-up promise. The pipeline remembered how to run. The agent remembered nothing about the work.

The fix is to give the agent a memory that lives outside the pipeline lifecycle and is shared wherever the agent runs. That is the role of Vilix AI: a cloud-hosted memory layer with zero infrastructure to run, connected over MCP, so the same memory is available to the agent in Drone CI, in another automation platform, and in a chat tool, not locked inside one runner or one workspace.

Vilix AI keeps full conversation history, not just extracted facts, so a later run can recover what was decided and why, in order. Work saved on one run is readable on the next, and work saved in one tool is readable in another, because the memory sits above the individual platforms. The free plan is free forever, the Pro trial runs 7 days with no card required, and memory can be exported or deleted at any time.

The short answer

Does Drone CI remember between runs? It remembers configuration, it keeps build history for people, and with a plugin it can restore cached files. Inside one pipeline, the shared workspace carries artifacts from step to step. Across pipelines, the next run starts with only what it is handed: the YAML, its variables and secrets, and a fresh workspace.

If a scheduled agent needs to start Wednesday knowing what it concluded on Monday, that memory has to live somewhere built for the job. Connect the agent to Vilix AI once, and every run, on every platform, starts with the full story instead of a blank workspace.

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
Why Do Agents Keep Forgetting Test Results?

Why Do Agents Keep Forgetting Test Results? Agents keep forgetting test results because a test outcome normally lives and dies inside the run that produced it. The result sits in that session's context, a CI log, or a chat thread, and the next agent, the next tool, or tomorrow's session starts without it. A shared memory workspace fixes this by saving each outcome where every connected agent can read it before it starts work. Where do test results actually live today? In four places, and non

Does Telegraf Remember Between Runs? Its Statefile Saves Plugin Offsets. Not the Reasoning.

Does Telegraf Remember Between Runs? Its Statefile Saves Plugin Offsets. Not the Reasoning. Telegraf runs on a schedule, collects metrics, flushes them, and repeats. When the process stops and starts again, what survives? The short answer is: very little by default, and only specific plugin state when a statefile is configured. Understanding that boundary matters, because a pipeline that resumes a file offset correctly can still restart every decision around that data from zero. The default:

One Workspace Folder or One Shared Memory? Clief Notes' Method and Vilix AI, Honestly Compared

One Workspace Folder or One Shared Memory? Clief Notes' Method and Vilix AI, Honestly Compared Two serious answers now exist to the same question: how do you share context between ChatGPT, Claude, and the other AI tools you use, so you stop explaining the same project three times? One answer is a folder. The Clief Notes lesson "Get your AI agents on the same page," verified on its own page on December 3, 2026, teaches a four-step method that gives every AI one workspace to read. The other answe