tektoncd / tektoncd/pipelines-as-code

Expose a timestamp as a PAC variable

Open
#1,877 5 comments 1 reaction 1 assignee View on GitHub

@malikov73 is already working on this.

Since Jul 21, 2026.

feature good first issue priority/low
Dominant language
Go
Stars
214
Forks
144
Avg merge
2d 11h
Merged PRs (30d)
27

Description

When processing the result of a pipelinerun, users may want to know the timestamps of the commit/pipelinerun in order to compare the freshness of produced artifacts. It would be nice to have PAC be able to inject a timestamp into the PLR so that it can be used for comparison. Two options are:

  • The timestamp of the commit. This can be overridden by users when committing so it might not be strictly monotonically increasing with successive commits in a branch
  • The timestamp of the trigger event. This would be beneficial if the system is under load so tasks might take longer to complete, increasing the discrepancy variability if the timestamp is determined within a task in the triggered pipeline

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.