-
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
Timeout handler : WaitTaskRun only if the pod got created successfully #674
Timeout handler : WaitTaskRun only if the pod got created successfully #674
Conversation
We can save one goroutines per pod creation by waiting for TaskRun only if the pod creation was successful. Signed-off-by: Vincent Demeester <[email protected]>
cc @shashwathi if I missed something 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shashwathi, vdemeester 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:
Approvers can indicate their approval by writing |
This WaitTaskRun call was moved in a commit but then reinstated the following day. Looks like this being reinstated was an artifact of a rebase for a separate PR and the removal of the call was the correct thing to do. The original change message for this removal is as follows: > We can save one goroutines per pod creation by waiting for TaskRun > only if the pod creation was successful. This was the original PR with the call removal: #674 And then it looks like it was reinstated here: https://github.com/tektoncd/pipeline/pull/648/files#diff-b52b9f382ad878e6aa2a85921bb19065R287
This WaitTaskRun call was moved in a commit but then reinstated the following day. Looks like this being reinstated was an artifact of a rebase for a separate PR and the removal of the call was the correct thing to do. The original change message for this removal is as follows: > We can save one goroutines per pod creation by waiting for TaskRun > only if the pod creation was successful. This was the original PR with the call removal: tektoncd#674 And then it looks like it was reinstated here: https://github.com/tektoncd/pipeline/pull/648/files#diff-b52b9f382ad878e6aa2a85921bb19065R287
This WaitTaskRun call was moved in a commit but then reinstated the following day. Looks like this being reinstated was an artifact of a rebase for a separate PR and the removal of the call was the correct thing to do. The original change message for this removal is as follows: > We can save one goroutines per pod creation by waiting for TaskRun > only if the pod creation was successful. This was the original PR with the call removal: tektoncd#674 And then it looks like it was reinstated here: https://github.com/tektoncd/pipeline/pull/648/files#diff-b52b9f382ad878e6aa2a85921bb19065R287
Changes
We can save one goroutines per pod creation by waiting for TaskRun
only if the pod creation was successful.
Signed-off-by: Vincent Demeester [email protected]
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
[ ] Includes tests (if functionality changed/added)[ ] Includes docs (if user facing)See the contribution guide
for more details.