Skip to content

fix: more robust HTTPRoute validation#7913

Open
programmer04 wants to merge 1 commit intomainfrom
fix/validation
Open

fix: more robust HTTPRoute validation#7913
programmer04 wants to merge 1 commit intomainfrom
fix/validation

Conversation

@programmer04
Copy link
Copy Markdown
Member

@programmer04 programmer04 commented May 4, 2026

What this PR does / why we need it:

More robust validation for HTTPRoute, when an unsupported feature is used, and the route refers to existing and non-existing Gateway, it will be rejected.

Which issue this PR fixes:

See this comment for more context

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

@programmer04 programmer04 self-assigned this May 4, 2026
@programmer04 programmer04 added area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. fix labels May 4, 2026
@programmer04 programmer04 force-pushed the fix/validation branch 2 times, most recently from 4d15041 to 93de45a Compare May 4, 2026 15:09
@programmer04 programmer04 marked this pull request as ready for review May 4, 2026 15:09
@programmer04 programmer04 requested a review from a team as a code owner May 4, 2026 15:09
@programmer04 programmer04 enabled auto-merge May 4, 2026 15:31
@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.9%. Comparing base (da0be9c) to head (93de45a).

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #7913     +/-   ##
=======================================
+ Coverage   78.4%   80.9%   +2.4%     
=======================================
  Files        222     222             
  Lines      20780   20780             
=======================================
+ Hits       16312   16817    +505     
+ Misses      3437    2896    -541     
- Partials    1031    1067     +36     

☔ 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.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.4%. Comparing base (38415bd) to head (96014fc).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #7913   +/-   ##
=====================================
  Coverage   78.4%   78.4%           
=====================================
  Files        222     222           
  Lines      20791   20791           
=====================================
+ Hits       16307   16315    +8     
+ Misses      3452    3446    -6     
+ Partials    1032    1030    -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.

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. fix size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant