Skip to content

Sort pending contexts when displaying them from tide#15300

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
stevekuznetsov:skuznets/tide-status-improvement
Nov 17, 2019
Merged

Sort pending contexts when displaying them from tide#15300
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
stevekuznetsov:skuznets/tide-status-improvement

Conversation

@stevekuznetsov
Copy link
Contributor

When a list of contexts is presented as pending from the tide status
controller, we need to sort the contexts in the list so that we do not
attempt to update the message with a different but equivalent
permutation of the pending contexts on every sync loop.

Signed-off-by: Steve Kuznetsov skuznets@redhat.com

fixes #15299

/assign @alvaroaleman @cjwagner

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 15, 2019
@k8s-ci-robot k8s-ci-robot added area/prow Issues or PRs related to prow area/prow/tide Issues or PRs related to prow's tide component sig/testing Categorizes an issue or PR as relevant to SIG Testing. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 15, 2019
@petr-muller
Copy link
Member

/lgtm
/hold

Holding to give others time to see this.

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Nov 15, 2019
@stevekuznetsov stevekuznetsov force-pushed the skuznets/tide-status-improvement branch from c31ad8d to 72ea370 Compare November 15, 2019 22:51
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 15, 2019
When a list of contexts is presented as pending from the tide status
controller, we need to sort the contexts in the list so that we do not
attempt to update the message with a different but equivalent
permutation of the pending contexts on every sync loop.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
@stevekuznetsov stevekuznetsov force-pushed the skuznets/tide-status-improvement branch from 72ea370 to b7dd3d1 Compare November 17, 2019 16:28
Copy link
Contributor

@clarketm clarketm left a comment

Choose a reason for hiding this comment

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

/hold

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 17, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clarketm, stevekuznetsov

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

The pull request process is described here

Details 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

@stevekuznetsov
Copy link
Contributor Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 17, 2019
@k8s-ci-robot k8s-ci-robot merged commit f06ef8f into kubernetes:master Nov 17, 2019
@k8s-ci-robot k8s-ci-robot added this to the v1.17 milestone Nov 17, 2019
@cblecker
Copy link
Member

/lgtm

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. area/prow/tide Issues or PRs related to prow's tide component area/prow Issues or PRs related to prow cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tide: status controller: 422 This SHA and context has reached the maximum number of statuses

7 participants