Skip to content

Conversation

@rudrakhp
Copy link
Member

What type of PR is this?
feat: set warning status for deprecated fields

What this PR does / why we need it:
Introduces a warning status condition for xPolicy resources if deprecated fields are used. This will be helpful in highlighting usage of these deprecated fields and can also be used for other such issues that need to be highlighted by EG.

Which issue(s) this PR fixes:

Related #6717

Release Notes: Yes

@rudrakhp rudrakhp requested a review from a team as a code owner December 22, 2025 17:27
@rudrakhp rudrakhp force-pushed the deprecated_status_warning branch from 56741e7 to 790bb0c Compare December 23, 2025 04:30
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.67%. Comparing base (3ddf193) to head (1b5902e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7797      +/-   ##
==========================================
+ Coverage   72.64%   72.67%   +0.02%     
==========================================
  Files         235      235              
  Lines       34873    34938      +65     
==========================================
+ Hits        25334    25390      +56     
- Misses       7736     7743       +7     
- Partials     1803     1805       +2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

jukie
jukie previously approved these changes Dec 23, 2025
Copy link
Contributor

@jukie jukie left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@rudrakhp
Copy link
Member Author

@jukie thanks for pointing that out, I was in the middle of a refactor, didn't give it a good look. Can you review this now?

@rudrakhp rudrakhp force-pushed the deprecated_status_warning branch 5 times, most recently from 10f84d0 to 4298f48 Compare December 23, 2025 13:28
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
@rudrakhp rudrakhp force-pushed the deprecated_status_warning branch from 4298f48 to 1b5902e Compare December 24, 2025 03:30
@jukie
Copy link
Contributor

jukie commented Dec 24, 2025

/retest

@rudrakhp rudrakhp requested review from a team December 24, 2025 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants