CNTRLPLANE-3772: promote ExternalOIDCWithUpstreamParity to Default - #8952
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@ShazaAldawamneh: This pull request references CNTRLPLANE-3772 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Suggested reviewers: 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
everettraven
left a comment
There was a problem hiding this comment.
LGTM, but needs to be held until the feature has been promoted in openshift/api first.
/hold
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8952 +/- ##
==========================================
+ Coverage 43.45% 45.58% +2.12%
==========================================
Files 771 788 +17
Lines 95718 99455 +3737
==========================================
+ Hits 41597 45333 +3736
+ Misses 51234 50962 -272
- Partials 2887 3160 +273 see 175 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
I now have all the evidence I need. The root cause is completely clear. Here's my final report: Test Failure Analysis CompleteJob Information
Test Failure AnalysisErrorSummaryThe PR promotes the Root CauseThe failure is a test expectation that was not updated to account for the behavioral change introduced by promoting the feature gate. Here is the complete chain of causation:
This is purely a test update issue — the production behavior change is correct and intentional. RecommendationsOption 1 (Preferred): Update the test expectation — Add ClaimValidationRules: []ClaimValidationRule{},
UserValidationRules: []UserValidationRule{}, // ← add this lineOption 2 (Alternative): Fix the production code to return nil for empty input — Change Evidence
|
jparrill
left a comment
There was a problem hiding this comment.
Dropped some comments. Thanks!
CI is red — Unit Tests (cpo-hostedcontrolplane) fails in TestGenerateAuthConfig/When_valid_OIDC_provider_is_provided at auth_test.go:269. The test expected UserValidationRules: nil but after the promotion the parity code path runs by default and produces UserValidationRules: []kas.UserValidationRule{}. The test expectation needs updating for the new default behavior.
/hold
Please hold until openshift/api#2915 merges and we do the vendor bump.
everettraven
left a comment
There was a problem hiding this comment.
I believe we also need to update
Without that, the new API fields will not be available by default.
Promote the ExternalOIDCWithUpstreamParity feature gate from TechPreviewNoUpgrade to the Default feature set, enabling upstream parity authentication configuration by default. This change aligns with the openshift/api promotion in PR openshift#2915 and allows the feature to be available in the default feature set once the API changes are merged. Signed-off-by: Shaza Aldawamneh <shaza.aldawamneh@hotmail.com>
|
Scheduling tests matching the |
|
/retest-required |
1 similar comment
|
/retest-required |
|
/payload-job periodic-ci-openshift-hypershift-release-5.0-periodics-e2e-aws-external-oidc |
|
@everettraven: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/0c26c830-971d-11f1-83f9-3097cf304ca8-0 |
|
/verified by @ShazaAldawamneh |
|
@ShazaAldawamneh: This PR has been marked as verified by DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/override ci/prow/e2e-v2-gke |
|
@bryan-cox: Overrode contexts on behalf of bryan-cox: ci/prow/e2e-v2-gke DetailsIn 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-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, everettraven, ShazaAldawamneh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@ShazaAldawamneh: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
feat: Promote ExternalOIDCWithUpstreamParity to Default feature set Promote the ExternalOIDCWithUpstreamParity feature gate from TechPreviewNoUpgrade to the Default feature set, enabling upstream parity authentication configuration by default.
This change aligns with the openshift/api promotion in PR #2915 and allows the feature to be available in the default feature set once the API changes are merged.
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes
Special notes for your reviewer:
Checklist:
Summary by CodeRabbit
New Features
Bug Fixes