Skip to content

ExtAuth: allow passing Route metadata to Ext Auth#8723

Merged
zhaohuabing merged 4 commits intoenvoyproxy:mainfrom
zhaohuabing:api-6686
Apr 16, 2026
Merged

ExtAuth: allow passing Route metadata to Ext Auth#8723
zhaohuabing merged 4 commits intoenvoyproxy:mainfrom
zhaohuabing:api-6686

Conversation

@zhaohuabing
Copy link
Copy Markdown
Member

@zhaohuabing zhaohuabing commented Apr 13, 2026

Sine EG is using a fixed metadata namespace envoy-gateway, IncludeRouteMetadata *bool probably is good enough for passing the route metadata to the Ext Auth. cc @arkodg @guydc

Implement #6686

@zhaohuabing zhaohuabing requested a review from a team as a code owner April 13, 2026 02:07
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 13, 2026

Deploy Preview for cerulean-figolla-1f9435 ready!

Name Link
🔨 Latest commit 63fc581
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/69e0a0e46a33ff0008b0eb08
😎 Deploy Preview https://deploy-preview-8723--cerulean-figolla-1f9435.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@zhaohuabing zhaohuabing requested review from arkodg and guydc April 13, 2026 02:07
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.29%. Comparing base (8dc1846) to head (63fc581).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8723      +/-   ##
==========================================
- Coverage   74.31%   74.29%   -0.03%     
==========================================
  Files         245      245              
  Lines       38801    38804       +3     
==========================================
- Hits        28835    28829       -6     
- Misses       7963     7971       +8     
- Partials     2003     2004       +1     

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

Comment thread api/v1alpha1/ext_auth_types.go
@zhaohuabing zhaohuabing requested a review from arkodg April 13, 2026 03:56
@zhaohuabing zhaohuabing force-pushed the api-6686 branch 2 times, most recently from 95f61c8 to bfe1eec Compare April 13, 2026 04:01
@guydc
Copy link
Copy Markdown
Contributor

guydc commented Apr 13, 2026

Can we extend the ext-auth e2e test to parse the content and add it as a header? other than that, LGTM.

@zhaohuabing
Copy link
Copy Markdown
Member Author

Can we extend the ext-auth e2e test to parse the content and add it as a header? other than that, LGTM.

Sure, I can do that. If the API looks good, I'll go ahead with the implementation.

@zhaohuabing zhaohuabing changed the title API: Ext Auth Route metadata ExtAuth: allow passing Route metadata to Ext Auth Apr 14, 2026
@zhaohuabing
Copy link
Copy Markdown
Member Author

@codex

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f04db60fa9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread api/v1alpha1/ext_auth_types.go Outdated
@zhaohuabing
Copy link
Copy Markdown
Member Author

/retest

Copy link
Copy Markdown
Contributor

@guydc guydc left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
@zhaohuabing zhaohuabing added this to the v1.8.0-rc.1 Release milestone Apr 16, 2026
@zhaohuabing zhaohuabing merged commit 12a3e6d into envoyproxy:main Apr 16, 2026
79 of 85 checks passed
@zhaohuabing zhaohuabing deleted the api-6686 branch April 16, 2026 12:43
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.

4 participants