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

fix: remove stale parent statuses from HTTPRoute #5477

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Jan 23, 2024

What this PR does / why we need it:

It ensures we leave no stale parent statuses in HTTPRoutes (e.g. after moving a route from one Gateway to another by changing its spec.parentRefs).

Which issue this PR fixes:

Fixes #5277.

Special notes for your reviewer:

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

@czeslavo czeslavo changed the title fix: remove old HTTPRoute's parents' statuses [WIP] fix: remove old HTTPRoute's parents' statuses Jan 23, 2024
@czeslavo czeslavo added the do not merge let the author merge this, don't merge for them. label Jan 23, 2024
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cd9b41c) 69.7% compared to head (20a7dfa) 69.8%.
Report is 9 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #5477   +/-   ##
=====================================
  Coverage   69.7%   69.8%           
=====================================
  Files        176     176           
  Lines      22726   22786   +60     
=====================================
+ Hits       15852   15905   +53     
- Misses      5933    5941    +8     
+ Partials     941     940    -1     

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

@pull-request-size pull-request-size bot added size/L and removed size/S labels Jan 25, 2024
@czeslavo czeslavo changed the title [WIP] fix: remove old HTTPRoute's parents' statuses fix: remove stale parent statuses from HTTPRoute Jan 25, 2024
@czeslavo czeslavo marked this pull request as ready for review January 25, 2024 15:35
@czeslavo czeslavo requested a review from a team as a code owner January 25, 2024 15:35
@czeslavo czeslavo removed the do not merge let the author merge this, don't merge for them. label Jan 25, 2024
@czeslavo czeslavo self-assigned this Jan 25, 2024
@czeslavo czeslavo added this to the KIC v3.1.x milestone Jan 25, 2024
@rainest rainest merged commit 44227f1 into main Jan 26, 2024
37 checks passed
@rainest rainest deleted the fix/remove-old-parent-status branch January 26, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTPRoute parentRef status leftovers after update
2 participants