Skip to content
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

[release-v1.11] Cherry pick eventtype autocreate fixes #7201

Merged

Conversation

Cali0707
Copy link
Member

This is a cherry pick of #7161 onto release-1.11

* Fixed undefined typemeta on broker in eventtype autocreate

Signed-off-by: Calum Murray <[email protected]>

* Fixed autocreate so that only one eventtype is created when events are sent to mt channel broker

Signed-off-by: Calum Murray <[email protected]>

* Clean up

Signed-off-by: Calum Murray <[email protected]>

* Fixed unit tests

Signed-off-by: Calum Murray <[email protected]>

* channel only creates eventtypes if not owned by broker

Signed-off-by: Calum Murray <[email protected]>

---------

Signed-off-by: Calum Murray <[email protected]>
@knative-prow knative-prow bot requested review from aslom and lberk August 24, 2023 13:27
@Cali0707
Copy link
Member Author

/cc @matzew

@knative-prow knative-prow bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 24, 2023
@knative-prow knative-prow bot requested a review from matzew August 24, 2023 13:27
@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Patch coverage: 35.71% and project coverage change: -0.10% ⚠️

Comparison is base (d3a0faa) 78.05% compared to head (d32e55f) 77.95%.
Report is 1 commits behind head on release-1.11.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.11    #7201      +/-   ##
================================================
- Coverage         78.05%   77.95%   -0.10%     
================================================
  Files               250      250              
  Lines             13402    13419      +17     
================================================
  Hits              10461    10461              
- Misses             2407     2422      +15     
- Partials            534      536       +2     
Files Changed Coverage Δ
pkg/broker/ingress/ingress_handler.go 58.18% <0.00%> (-1.92%) ⬇️
pkg/reconciler/broker/controller.go 83.54% <50.00%> (-4.30%) ⬇️
...iler/inmemorychannel/dispatcher/inmemorychannel.go 64.51% <50.00%> (-0.68%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matzew matzew changed the title Cherry pick eventtype autocreate fixes [release-v1.11] Cherry pick eventtype autocreate fixes Aug 24, 2023
Copy link
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Aug 24, 2023
@knative-prow
Copy link

knative-prow bot commented Aug 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Cali0707, matzew

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 24, 2023
@matzew
Copy link
Member

matzew commented Aug 24, 2023

/test upgrade-tests

@matzew
Copy link
Member

matzew commented Aug 24, 2023

@Cali0707 thanks dude!

@knative-prow knative-prow bot merged commit 3ccfc1c into knative:release-1.11 Aug 24, 2023
16 of 17 checks passed
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants