Skip to content

api: Add source type structure for dynamic modules#8359

Merged
jukie merged 7 commits intoenvoyproxy:mainfrom
jukie:dynamic-module-source-rework
Mar 5, 2026
Merged

api: Add source type structure for dynamic modules#8359
jukie merged 7 commits intoenvoyproxy:mainfrom
jukie:dynamic-module-source-rework

Conversation

@jukie
Copy link
Contributor

@jukie jukie commented Feb 27, 2026

Remote fetching will be a future option (ref envoyproxy/envoy#43333) so adding an API surface to expose different source types

@netlify
Copy link

netlify bot commented Feb 27, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit 084af1f
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/69a9228b8bcbe2000822f078

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 73.91304% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.19%. Comparing base (6f6fa01) to head (084af1f).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
internal/gatewayapi/envoyextensionpolicy.go 25.00% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8359      +/-   ##
==========================================
- Coverage   74.23%   74.19%   -0.04%     
==========================================
  Files         242      242              
  Lines       37322    37334      +12     
==========================================
- Hits        27705    27700       -5     
- Misses       7686     7700      +14     
- Partials     1931     1934       +3     

☔ 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
Copy link
Contributor Author

jukie commented Feb 27, 2026

/retest

@jukie jukie force-pushed the dynamic-module-source-rework branch from 8617415 to 6113fff Compare February 27, 2026 17:01
@jukie jukie changed the title Add dynamic module source type api: Adjust dynamic modules to account for remote source type Feb 27, 2026
@jukie jukie marked this pull request as ready for review February 27, 2026 17:09
@jukie jukie requested a review from a team as a code owner February 27, 2026 17:09
@jukie
Copy link
Contributor Author

jukie commented Feb 27, 2026

/retest

@jukie jukie changed the title api: Adjust dynamic modules to account for remote source type api: Add source type structure for dynamic modules Feb 28, 2026
@jukie
Copy link
Contributor Author

jukie commented Feb 28, 2026

/retest

// +optional
Local *LocalDynamicModuleSource `json:"local,omitempty"`

// Remote specifies a module fetched from a remote source.
Copy link
Contributor

Choose a reason for hiding this comment

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

can we rm this, since it doesnt exist it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw you approved but assume you still want this removed before merging?

Copy link
Contributor Author

@jukie jukie Mar 5, 2026

Choose a reason for hiding this comment

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

Updated now that envoyproxy/envoy#43333 is merged but still left this in.
I'm going to adjust this again, might as well drop the LibraryName path and use asyncDatasource for all.

arkodg
arkodg previously approved these changes Mar 2, 2026
@arkodg arkodg added this to the v1.8.0-rc.1 Release milestone Mar 2, 2026
@arkodg arkodg requested review from a team and zhaohuabing March 2, 2026 03:13
zhaohuabing
zhaohuabing previously approved these changes Mar 2, 2026
jukie added 3 commits March 4, 2026 18:07
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
@jukie jukie dismissed stale reviews from arkodg and zhaohuabing via 93a2944 March 5, 2026 01:20
@jukie jukie force-pushed the dynamic-module-source-rework branch from 3c5e688 to 93a2944 Compare March 5, 2026 01:20
@jukie jukie requested review from arkodg and zhaohuabing March 5, 2026 01:24
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
zhaohuabing
zhaohuabing previously approved these changes Mar 5, 2026
zirain
zirain previously approved these changes Mar 5, 2026
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
@jukie jukie dismissed stale reviews from zirain and zhaohuabing via ec13f74 March 5, 2026 06:19
@jukie jukie force-pushed the dynamic-module-source-rework branch from 3951769 to ec13f74 Compare March 5, 2026 06:19
jukie and others added 2 commits March 4, 2026 23:20
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
@jukie
Copy link
Contributor Author

jukie commented Mar 5, 2026

/retest

@jukie jukie requested review from zhaohuabing and zirain March 5, 2026 07:22
@jukie
Copy link
Contributor Author

jukie commented Mar 5, 2026

/retest

@jukie jukie merged commit cd89ca5 into envoyproxy:main Mar 5, 2026
99 of 108 checks passed
@jukie jukie deleted the dynamic-module-source-rework branch March 5, 2026 15:26
antonio-mazzini pushed a commit to antonio-mazzini/gateway that referenced this pull request Mar 5, 2026
* Add API surface for multiple source types

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>

* lint

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>

* updates

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>

* only use async

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>

* fix e2e

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>

* rename modulePath

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>

---------

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
@zirain zirain mentioned this pull request Mar 6, 2026
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