-
Notifications
You must be signed in to change notification settings - Fork 630
Channel go definitions: ¯\_(ツ)_/¯ #5364
Copy link
Copy link
Closed
Labels
area/eventingThe Eventing api groupThe Eventing api groupkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.kind/documentationpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Metadata
Metadata
Assignees
Labels
area/eventingThe Eventing api groupThe Eventing api groupkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.kind/documentationpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Describe the bug
Hey, it looks like there might be an API bug in Channel:
ChannelableStatuscontains aDeadLetterChannelof type*duckv1.KReference, documented as:Expected behavior
The
statusof the Channel to include a resolved URL of thespec.delivery.deadLetterSink, or that thespec.delivery.deadLetterSinkwas only permitted to use therefform to point to a channel.To Reproduce
(See the code)
Knative release version
main/ release-0.22Additional context
It's not clear to me what the original intent of these fields was; https://github.com/evankanderson/specs/blob/main/specs/eventing/spec.md#kind-channel references
status.deadLetterChannelbut does not definespec.delivery; https://github.com/knative/specs/blob/main/specs/eventing/channel.md#spec-requirements indicates the requirement forspec.deliveryand hints at dead letter behavior, but does not mentionstatusat all with respect to dead letter behavior.