tektoncd / results

Long term storage of execution results.
Apache License 2.0
78 stars 74 forks source link

Storing PipelineRun and TaskRun deletion metadata #856

Closed khrm closed 1 month ago

khrm commented 1 month ago

Earlier, data coming during deletion like timestamp weren't stored. This PR fixes that.

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you review them:

Release Notes

NONE
khrm commented 1 month ago

/cherry-pick @release-v0.12.x

tekton-robot commented 1 month ago

@khrm: once the present PR merges, I will cherry-pick it on top of @release-v0.12.x in a new PR and assign it to you.

In response to [this](https://github.com/tektoncd/results/pull/856#issuecomment-2427022501): >/cherry-pick @release-v0.12.x Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
tekton-robot commented 1 month ago

The following is the coverage report on the affected files. Say /test pull-tekton-results-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/watcher/reconciler/pipelinerun/reconciler.go 30.5% 30.0% -0.5
tekton-robot commented 1 month ago

The following is the coverage report on the affected files. Say /test pull-tekton-results-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/watcher/reconciler/pipelinerun/reconciler.go 30.5% 30.0% -0.5
tekton-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avinal

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/tektoncd/results/blob/main/OWNERS)~~ [avinal] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
khrm commented 1 month ago

/test pull-tekton-results-unit-tests

tekton-robot commented 1 month ago

@khrm: cannot checkout @release-v0.12.x: error checking out @release-v0.12.x: exit status 1. output: error: pathspec '@release-v0.12.x' did not match any file(s) known to git

In response to [this](https://github.com/tektoncd/results/pull/856#issuecomment-2427022501): >/cherry-pick @release-v0.12.x Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
khrm commented 1 month ago

/cherry-pick release-v0.12.x

tekton-robot commented 1 month ago

@khrm: new pull request created: #861

In response to [this](https://github.com/tektoncd/results/pull/856#issuecomment-2431612320): >/cherry-pick release-v0.12.x Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.