-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Consistently use ObservedGeneration across our types and controllers. #3076
Conversation
It seems there are two changes here. |
@vagababov Yeah, see note in PR ;-) Github lacks |
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
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
The following is the coverage report on pkg/.
|
need moaaar tests 🌮 |
/test pull-knative-serving-unit-tests |
I opened issues for the two controllers under 80%, but that presubmit doesn't block submits. |
@@ -400,6 +400,7 @@ func (c *Reconciler) reconcile(ctx context.Context, rev *v1alpha1.Revision) erro | |||
} | |||
} | |||
|
|||
rev.Status.ObservedGeneration = rev.Generation |
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.
So observed generation for revision exists but we as not being utilized before? Can you add a test as part of this change?
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.
I added it to all of our e2e tests, since the fakes don't deal with metadata.generation
setting :(
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattmoor, vagababov 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 |
/test pull-knative-serving-unit-tests |
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
/test pull-knative-serving-unit-tests |
1 similar comment
/test pull-knative-serving-unit-tests |
WIP until #3075 merges