Repository navigation
Fix ProgressDeadlineExceeded handling. - #1166
Conversation
|
/test pull-knative-serving-go-coverage |
|
The following is the coverage report on pkg/. Say
*TestCoverage feature is being tested, do not rely on any info here yet |
|
The following is the coverage report on pkg/. Say
*TestCoverage feature is being tested, do not rely on any info here yet |
|
/assign evankanderson I'm assuming that we're already properly setting the owner references to enable GetControllerOf? Since the test is passing, I'm assuming that's true in general, and not just in the test. /approve Is it worth putting this in a doc somewhere and/or publicizing it somehow? |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: evankanderson, mattmoor The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
The manner in which we were looking up the controlling Revision on Deployment events was relying on (an incorrect) naming convention where `deployment.Name == revision.Name`. In reality, `deployment.Name == revision.Name + "-deployment"`, but relying on this for looking up the controlling object is an antipattern. Instead, we should utilize `metav1.GetControllerOf` to determine the controlling `OwnerReference` and use this name to lookup the owning `Revision. This fixes the local issue, but I've opened #1165 to track a broader triage of this. Progress toward: knative/serving#1150
|
/lgtm |
|
The following is the coverage report on pkg/. Say
*TestCoverage feature is being tested, do not rely on any info here yet |
1 similar comment
|
The following is the coverage report on pkg/. Say
*TestCoverage feature is being tested, do not rely on any info here yet |
Co-authored-by: serverless-qe <[email protected]>
The manner in which we were looking up the controlling Revision on Deployment events was relying on (an incorrect) naming convention where
deployment.Name == revision.Name. In reality,deployment.Name == revision.Name + "-deployment", but relying on this for looking up the controlling object is an antipattern.Instead, we should utilize
metav1.GetControllerOfto determine the controllingOwnerReferenceand use this name to lookup the owning `Revision.This fixes the local issue, but I've opened #1165 to track a broader triage of this.
Progress toward: #1150