-
Notifications
You must be signed in to change notification settings - Fork 592
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
Emitting corev1 Events for debugging purposes #746
Conversation
/assign @adamharwayne @grantr |
@nachocano: GitHub didn't allow me to assign the following users: adamharwayne. Note that only knative members and repo collaborators can be assigned. In response to this:
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. |
/assign @Harwayne |
pkg/controller/eventing/inmemory/clusterchannelprovisioner/reconcile.go
Outdated
Show resolved
Hide resolved
pkg/controller/eventing/inmemory/clusterchannelprovisioner/reconcile.go
Outdated
Show resolved
Hide resolved
/test pull-knative-eventing-build-tests |
/approve leaving lgtm for others who made comments. Thanks for doing this! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nachocano, vaikas-google 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 |
I initially thought the build failure here was due to it trying to verify that the boilerplate header was the same in all files, but I was incorrect. Only the generated code is verified, and it's diffing the whole file, not the boilerplate header specifically. So I think it would have been successful to update the boilerplate to 2019 here and then regenerate code. Regardless I'd prefer the boilerplate change to happen in a different PR 🙂 |
/lgtm Please check the in-memory-channel-controller's logs to ensure it is not complaining about not being able to write events (perhaps just a subset of them, whereas others do get created successfully). If the logs do not have any errors, then cancel the hold. |
@Harwayne you were right :) I saw the patch problem again, I was looking at the wrong log before. Thanks for pointing that out. I added the patch verb and now it seems to be working fine. |
Can we add update just to be safe? I think this is is the relevant code https://github.com/kubernetes/client-go/blob/583180148285a4936b884d8d27ed0063146a8df6/tools/record/event.go#L47, which has create, update, and patch. |
/lgtm |
Done! Should have triggered another build |
/hold cancel |
The following is the coverage report on pkg/.
|
/test pull-knative-eventing-integration-tests |
The error is |
/test pull-knative-eventing-integration-tests |
Fixes #724
Proposed Changes
InMemoryChannel
ClusterChannelProvisioner
Subscription
Release Note