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

chore: graduate feature gate FillIDs to Beta and set to true by default #4746

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

programmer04
Copy link
Member

@programmer04 programmer04 commented Sep 27, 2023

What this PR does / why we need it:

Graduate feature gate FillIDs to Beta and set to true by default. Adjust code, tests (regenerate golden tests tests cases), CI, etc. Mention it in CHANGELOG.MD and FEATURE_GATES.md.

Which issue this PR fixes:

Closes #4739

Special notes for your reviewer:

Dereferencing any field in KongConsumer is risky, because each one is a pointer, thus when an error is returned (it was the case for envtests that don't care about it) panic occurred. Using FriendlyName(...) is always safe

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@programmer04 programmer04 added the area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. label Sep 27, 2023
@programmer04 programmer04 added this to the KIC v3.1.0 milestone Sep 27, 2023
@programmer04 programmer04 self-assigned this Sep 27, 2023
@programmer04 programmer04 added the ci/run-e2e Trigger e2e test run from PR label Sep 27, 2023
@programmer04 programmer04 marked this pull request as ready for review September 27, 2023 16:15
@programmer04 programmer04 requested a review from a team as a code owner September 27, 2023 16:15
@programmer04 programmer04 enabled auto-merge (squash) September 27, 2023 16:16
@programmer04 programmer04 modified the milestones: KIC v3.1.0, KIC v3.0.0 Sep 27, 2023
@team-k8s-bot
Copy link
Collaborator

E2E (targeted) tests with KIND-based clusters were started at https://github.com/Kong/kubernetes-ingress-controller/actions/runs/6328663139

@team-k8s-bot team-k8s-bot removed the ci/run-e2e Trigger e2e test run from PR label Sep 27, 2023
@programmer04 programmer04 marked this pull request as draft September 27, 2023 16:25
auto-merge was automatically disabled September 27, 2023 16:25

Pull request was converted to draft

@programmer04 programmer04 marked this pull request as ready for review September 27, 2023 16:27
@programmer04 programmer04 enabled auto-merge (squash) September 27, 2023 16:28
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (95b0447) 67.9% compared to head (f5bcffa) 67.8%.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #4746     +/-   ##
=======================================
- Coverage   67.9%   67.8%   -0.1%     
=======================================
  Files        165     165             
  Lines      19291   19291             
=======================================
- Hits       13102   13087     -15     
- Misses      5420    5433     +13     
- Partials     769     771      +2     
Files Coverage Δ
internal/dataplane/kongstate/kongstate.go 74.9% <100.0%> (+0.8%) ⬆️
internal/manager/featuregates/feature_gates.go 100.0% <100.0%> (ø)

... and 7 files with indirect coverage changes

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

Copy link
Member

@pmalek pmalek left a comment

Choose a reason for hiding this comment

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

I just wonder why do we need the ids in golden test files 🤔

@programmer04 programmer04 merged commit afb3444 into main Sep 28, 2023
34 checks passed
@programmer04 programmer04 deleted the fillids branch September 28, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Graduate feature gate FillIDs to Beta and set to true by default
3 participants