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

Unify the logic of gateway-api supported features #3097

Closed
levikobi opened this issue May 19, 2024 · 6 comments
Closed

Unify the logic of gateway-api supported features #3097

levikobi opened this issue May 19, 2024 · 6 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@levikobi
Copy link
Member

What would you like to be added:

  1. Enrich the documentation of GEP-2162 with an explanation about when a feature is considered supported.
  2. (Maybe) Add an exported function to gateway-api, which unifies the logic of supported features. This will improve the adoption of this GEP (as it will make it easier to implement), and will make things more consistent across implementations. Such function will return a list of supported features, given the ConformanceOptions.

Why this is needed:
I don't think it's clear how an implementation should programmatically decide which features it supports.

We have the ExemptFeatures field, which is straightforward - if a feature is in this list, it isn't supported by the implementation.

We also have the SkipTests field. If an extended feature is contained within the features list of the skipped test, then the implementation doesn't support it. (if this isn't the right logic, please correct me).

How can we programmatically decide about the core features?
Let's take HTTPRoute for example. Should an implementation assume that if it has at least one test in the suite, say HTTPRouteBackendRequestHeaderModifier, then it supports HTTPRoute?

This issue came following this discussion

@levikobi levikobi added the kind/feature Categorizes issue or PR as related to a new feature. label May 19, 2024
@levikobi
Copy link
Member Author

@robscott @youngnick @LiorLieberman @arkodg, do you have any thoughts regarding this issue?

@arkodg
Copy link
Contributor

arkodg commented May 28, 2024

@levikobi +1 to adding a util func within this repo to provide
func GetSupportedFeatures(gatewaySuite suite.ConformanceOptions, skippedTests []suite.ConformanceTest) []gwapiv1.SupportedFeature
this allows the improvements in the GEP such as adding hyperlinks for the features to being implemented once in this repo and used by all downstream implementations

reg your comment around HTTPRoute , it represents all core conformance tests/features

var HTTPRouteCoreFeatures = sets.New(

associated with the HTTPRoute resource, so we'll need to modify the getSupportedFeatures func to make sure it doesnt get omitted if any extended features are removed

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 26, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 25, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants