tektoncd / tektoncd/pipelines-as-code
Expose a timestamp as a PAC variable
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.