-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Test Coverage on Metrics for TaskRun and PipelineRun Reconcilers #5875
Comments
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Context
Today, we record the duration, count the number of finished
TaskRun
s/PipelineRun
s:pipeline/pkg/reconciler/pipelinerun/pipelinerun.go
Line 383 in ed8a2c2
pipeline/pkg/reconciler/taskrun/taskrun.go
Line 100 in ed8a2c2
However, we don't have tests in place to ensure the metrics recording captures the correct number. Because of that, we had to solely rely on the understanding of the code itself to debug related issues (#4454, #5866) and made modifications accordingly which is time consuming and not appropriate in long term.
TODO
Thanks @afrittoli for capturing the TODOs in #5853 (review)
Thanks @JeromeJu for capturing that the issue also exists in #5853 (comment)
The text was updated successfully, but these errors were encountered: