Skip to content
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

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

vdemeester
Copy link
Member

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:

See the contribution guide
for more details.

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]>
@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Mar 25, 2019
@tekton-robot tekton-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 25, 2019
@vdemeester
Copy link
Member Author

vdemeester commented Mar 25, 2019

cc @shashwathi if I missed something 😅

Copy link
Contributor

@shashwathi shashwathi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 25, 2019
@tekton-robot
Copy link
Collaborator

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot merged commit 2f9a998 into tektoncd:master Mar 25, 2019
@vdemeester vdemeester deleted the timeout-mini-refactoring branch March 25, 2019 15:53
@ghost ghost mentioned this pull request Apr 19, 2019
3 tasks
tekton-robot pushed a commit that referenced this pull request Apr 19, 2019
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
wlynch pushed a commit to wlynch/pipeline that referenced this pull request May 20, 2019
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
wlynch pushed a commit to wlynch/pipeline that referenced this pull request May 20, 2019
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants