Skip to content

Pull in support for non-terminal conditions#2436

Merged
knative-prow-robot merged 1 commit intoknative:masterfrom
mattmoor:pkg-with-severity
Nov 9, 2018
Merged

Pull in support for non-terminal conditions#2436
knative-prow-robot merged 1 commit intoknative:masterfrom
mattmoor:pkg-with-severity

Conversation

@mattmoor
Copy link
Copy Markdown
Member

@mattmoor mattmoor commented Nov 8, 2018

This pulls in the support for non-terminal conditions, which includes a new Severity field (as discussed in the API WG meeting).

This is WIP until it actually pulls in a merged version of the knative/pkg commit (vs. my PR)

@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 8, 2018
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mattmoor

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 8, 2018
@knative-prow-robot knative-prow-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Nov 8, 2018
Copy link
Copy Markdown
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@mattmoor: 0 warnings.

Details

In response to this:

This pulls in the support for non-terminal conditions, which includes a new Severity field (as discussed in the API WG meeting).

This is WIP until it actually pulls in a merged version of the knative/pkg commit (vs. my PR)

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.

@mattmoor
Copy link
Copy Markdown
Member Author

mattmoor commented Nov 8, 2018

/retest

@mattmoor mattmoor changed the title [WIP] Pull in support for non-terminal conditions Pull in support for non-terminal conditions Nov 9, 2018
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 9, 2018
Copy link
Copy Markdown
Contributor

@lichuqiang lichuqiang left a comment

Choose a reason for hiding this comment

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

Thanks! Have been longing for the change.

Status: corev1.ConditionTrue,
Type: v1alpha1.ClusterIngressConditionLoadBalancerReady,
Status: corev1.ConditionTrue,
Severity: "Error",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

To avoid modifying things everywhere, can we have a Conditions wrapper in test, that default the Severity to "Error" if not specified?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I debated adding Severity to the set of things ignored in the base table test (currently: LastTransitionTime), but we still need to provide this to our inputs or we'll get hard to decode "unexpected update" errors that seemingly match what we passed in.

It is clear that we need to refactor these table tests so there is less churn, but I don't want to block knative/pkg updates waiting on that. I'll play with this tomorrow.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

but I don't want to block knative/pkg updates waiting on that. I'll play with this tomorrow.

I'm fine with this

@n3wscott
Copy link
Copy Markdown
Contributor

n3wscott commented Nov 9, 2018

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 9, 2018
@mattmoor
Copy link
Copy Markdown
Member Author

mattmoor commented Nov 9, 2018

/test pull-knative-serving-integration-tests

2 similar comments
@mattmoor
Copy link
Copy Markdown
Member Author

mattmoor commented Nov 9, 2018

/test pull-knative-serving-integration-tests

@mattmoor
Copy link
Copy Markdown
Member Author

mattmoor commented Nov 9, 2018

/test pull-knative-serving-integration-tests

@mattmoor
Copy link
Copy Markdown
Member Author

mattmoor commented Nov 9, 2018

/test pull-knative-serving-integration-tests

@knative-prow-robot knative-prow-robot merged commit e48ae1f into knative:master Nov 9, 2018
@mattmoor mattmoor deleted the pkg-with-severity branch November 9, 2018 19:54
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. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants