-
Notifications
You must be signed in to change notification settings - Fork 111
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 reliability of the check-pr-has-kind-label job #888
Comments
I wonder if this is possible without having some kind of mechanism to co-ordinate execution of the TaskRuns - e.g. if multiple runs start within a short period of time and point at different commits (e.g. someone pushes rapidly a few times) there might be some kind of race and no guarantee that the right one will update. I think this is a problem that might be universal to all trigger based Tekton execution 🤔 I wonder if Workflows might be interested in taking this on as a requirement ( + @dibyom ). I've also wanted to put together at least a problem statement TEP about this for a while now. |
Yes, I think this is a problem we should solve (we can decide whether this should be in workflows/triggers/pipelines etc.) Thinking out aloud here:
|
there's a related issue raised in tektoncd/pipeline#3989 (comment):
|
It looks like something has changed related to When requesting the A moment later, events for the The event about the Looking into the event, the Rewriting this check in the |
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. |
Expected Behaviour
The
check-pr-has-kind-label
job should consistently report the correct state of kind labels on any given PR.Actual Behaviour
This check can sometimes get confused - it will run on one update but not others, or will check an older "version" of the PR and incorrectly determine that no kind label has been applied.
More Information
The
check-pr-has-kind-label
job is run when a PR is created or updated to confirm that it is labelled with its "kind" - bug, feature, etc.Related resources:
The text was updated successfully, but these errors were encountered: