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

Does Tekton Remember Between Runs? A Workspace Carries One PipelineRun. The Next PipelineRun Starts With Only Its Declared Inputs.

Does Tekton Remember Between Runs? A Workspace Carries One PipelineRun. The Next PipelineRun Starts With Only Its Declared Inputs. Run the same Tekton Pipeline twice and the second run looks familiar. The same Task definitions load, the same steps run in the same order, and the dashboard lists both PipelineRuns side by side. That familiarity can look like memory. It is not the same thing. Tekton remembers a pipeline well enough to repeat it. It does not hand the next PipelineRun what the last P

Does Tekton Remember Between Runs? A Workspace Carries One PipelineRun. The Next PipelineRun Starts With Only Its Declared Inputs.

Run the same Tekton Pipeline twice and the second run looks familiar. The same Task definitions load, the same steps run in the same order, and the dashboard lists both PipelineRuns side by side. That familiarity can look like memory. It is not the same thing. Tekton remembers a pipeline well enough to repeat it. It does not hand the next PipelineRun what the last PipelineRun learned while it was working.

That gap matters when a pipeline carries AI steps. A scheduled PipelineRun that reviews changes, triages failures, or drafts release notes needs the decisions, the exceptions, and the unfinished threads from the run before it. Knowing exactly what Tekton keeps, and for how long, shows where that continuity has to come from.

What a workspace keeps, and only inside one PipelineRun

The strongest sharing inside Tekton is the workspace. A Task declares a workspace, a Pipeline passes one shared workspace to several Tasks, and the PipelineRun binds that workspace to a real volume. Tasks then read and write the same files: a clone Task writes the repository, a build Task writes compiled output, and a test Task reads both.

The binding decides how far that sharing reaches. Bind the workspace to a PersistentVolumeClaim and Tasks in the same PipelineRun share files through that volume. Bind it to emptyDir and the sharing narrows further, because emptyDir is scoped to a pod and each Task runs as its own pod. A ConfigMap or Secret can also be mounted as a workspace, which supplies fixed content rather than collecting new work.

Every version of this stops at the PipelineRun boundary. A volumeClaimTemplate creates a fresh claim for a run and cleans it up with that run. A pre-existing claim can be reused only because an operator arranged it outside the pipeline. The workspace is working space for one execution. It is not a record the next execution reads to understand what happened last time.

Params and results pass small values, not understanding

Tekton has a second, narrower channel: params and results. A PipelineRun supplies param values at the start, such as a repository URL, a revision, or an image name. A Task can emit a result by writing a small string to its result path, and a later Task in the same Pipeline can read that value with a variable such as $(tasks.clone.results.commit).

Results are built for identifiers: a commit SHA, an image digest, a version string. They move a value from one Task to the next inside one PipelineRun. They do not carry a summary, a rationale, or a conversation. Once the PipelineRun ends, there is no result store that the next PipelineRun automatically consults. The next run receives only the params someone or something writes into its definition.

That is why two runs can match on paper and still start as strangers. The YAML, the params, and the triggers describe how a run should behave in general. They say nothing about the specific call an AI step made yesterday, the exception it granted, or the question it left open.

Run history is a record for people, and it gets pruned

Completed PipelineRun and TaskRun objects do stay in the cluster for a while, as Kubernetes objects with a status, timestamps, and logs. That history helps a person debug. It does not feed the next run.

It is also deliberately temporary. Tekton's pruner deletes old PipelineRun and TaskRun objects by time-to-live or by history limits, keeping only a set number of successful and failed runs, because hundreds of run objects a day would otherwise fill etcd and consume cluster storage. The separate Tekton Results service can archive completed runs into long-term storage so people can search manifests and logs after pruning. Archiving a record for later inspection is useful. It still does not turn that record into memory an agent step reads at the start of its next run.

So Tekton's own design makes the line clear: definitions persist, run objects are pruned, archives are for people, and none of them supply working context to the next execution.

What an AI step actually needs at the start of a run

Picture a nightly PipelineRun with an AI step that triages failing tests. On Monday it decides three failures are flakes, one is a real regression, and one needs a maintainer's call. On Tuesday the same step starts again. The workspace gives it files. Params give it a repository and a branch. Results from Monday are gone with Monday's run. Unless the team built a separate store, the step re-derives every judgment, re-asks questions already answered, and can contradict Monday's decision without ever knowing Monday existed.

Saving a summary file to a bucket does not close that gap by itself. Someone still has to decide what gets written, retrieve the right file for the right run, keep it current when a decision changes, and do the same work again for every other tool in the chain. The missing piece is a memory layer the agent itself reads and writes as part of its work.

Giving Tekton agents one shared memory

Vilix AI is that memory layer. It is cloud-hosted, so there is no database, vector store, or server to deploy or maintain next to the cluster: zero infrastructure to run. An agent step connects over MCP, reads the relevant context before it acts, and saves what it decided before the PipelineRun ends.

The same memory is available everywhere over MCP, not only inside Tekton. The step that triages tests in a PipelineRun, an agent in a coding tool, and an assistant in a chat window can all read and write the same shared state, so a decision made in one place is present in the others. Vilix AI keeps full conversation history, not just extracted facts, so the reasoning behind a call, the correction that followed it, and the exact wording of an open question survive together.

Getting started is deliberately low-risk. Vilix AI has a free plan that stays free forever, and Pro offers a 7-day trial with no card required. Data can be exported or deleted at any time, so memory stays under the team's control while it accumulates.

Tekton is excellent at repeating a pipeline exactly as declared. Keep using workspaces for files, results for small values, and Tekton Results for archived history. Add Vilix AI for the one job none of them do: letting the next run start with what the last run 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