Skip to content

dynamic_modules: add is_validation_mode ABI callback for module optimizaion#44417

Merged
agrawroh merged 1 commit intoenvoyproxy:mainfrom
agrawroh:agrawroh/dm-vmode
Apr 13, 2026
Merged

dynamic_modules: add is_validation_mode ABI callback for module optimizaion#44417
agrawroh merged 1 commit intoenvoyproxy:mainfrom
agrawroh:agrawroh/dm-vmode

Conversation

@agrawroh
Copy link
Copy Markdown
Member

Description

This PR adds a new envoy_dynamic_module_callback_is_validation_mode() to the dynamic modules common ABI so that any module like Bootstrap, HTTP filter, network filter, etc. could detect when Envoy is running in the --mode validate.

This lets modules optimize by only parsing/validating their config without performing expensive operations like provider lookups or loading external resources when we are in the non-production mode.


Commit Message: dynamic_modules: add is_validation_mode ABI callback for module optimizaion
Additional Description: Added a new envoy_dynamic_module_callback_is_validation_mode() to the dynamic modules common ABI.
Risk Level: Low
Testing: Added Tests
Docs Changes: Added
Release Notes: Added

…ization

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
@agrawroh agrawroh enabled auto-merge (squash) April 13, 2026 14:14
@agrawroh agrawroh merged commit f43ec18 into envoyproxy:main Apr 13, 2026
29 checks passed
Copilot AI pushed a commit to mmorel-35/envoy that referenced this pull request Apr 13, 2026
…izaion (envoyproxy#44417)

## Description

This PR adds a new `envoy_dynamic_module_callback_is_validation_mode()`
to the dynamic modules common ABI so that any module like Bootstrap,
HTTP filter, network filter, etc. could detect when Envoy is running in
the `--mode validate`.

This lets modules optimize by only parsing/validating their config
without performing expensive operations like provider lookups or loading
external resources when we are in the non-production mode.

---

**Commit Message**: dynamic_modules: add is_validation_mode ABI callback
for module optimizaion
**Additional Description:** Added a new
`envoy_dynamic_module_callback_is_validation_mode()` to the dynamic
modules common ABI.
**Risk Level**: Low
**Testing**: Added Tests
**Docs Changes**: Added
**Release Notes:** Added

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
Co-authored-by: mmorel-35 <6032561+mmorel-35@users.noreply.github.com>
krinkinmu pushed a commit to grnmeira/envoy that referenced this pull request Apr 20, 2026
…izaion (envoyproxy#44417)

## Description

This PR adds a new `envoy_dynamic_module_callback_is_validation_mode()`
to the dynamic modules common ABI so that any module like Bootstrap,
HTTP filter, network filter, etc. could detect when Envoy is running in
the `--mode validate`.

This lets modules optimize by only parsing/validating their config
without performing expensive operations like provider lookups or loading
external resources when we are in the non-production mode.

---

**Commit Message**: dynamic_modules: add is_validation_mode ABI callback
for module optimizaion
**Additional Description:** Added a new
`envoy_dynamic_module_callback_is_validation_mode()` to the dynamic
modules common ABI.
**Risk Level**: Low
**Testing**: Added Tests
**Docs Changes**: Added
**Release Notes:** Added

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
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.

3 participants