Skip to content

dym sdk: add the config scheduler support to go sdk and cpp sdk#43748

Merged
wbpcode merged 4 commits intoenvoyproxy:mainfrom
wbpcode:dev-add-config-scheduler-for-http
Mar 5, 2026
Merged

dym sdk: add the config scheduler support to go sdk and cpp sdk#43748
wbpcode merged 4 commits intoenvoyproxy:mainfrom
wbpcode:dev-add-config-scheduler-for-http

Conversation

@wbpcode
Copy link
Copy Markdown
Member

@wbpcode wbpcode commented Mar 4, 2026

Commit Message: dym sdk: add the config scheduler support to go sdk and cpp sdk
Additional Description:

Add the config scheduler to go sdk and cpp sdk.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Mar 4, 2026

/retest

wbpcode added 2 commits March 4, 2026 09:46
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
mathetake
mathetake previously approved these changes Mar 4, 2026
@mathetake
Copy link
Copy Markdown
Member

/retest

agrawroh
agrawroh previously approved these changes Mar 4, 2026
Copy link
Copy Markdown
Member

@agrawroh agrawroh left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
@wbpcode wbpcode dismissed stale reviews from agrawroh and mathetake via 8829c03 March 5, 2026 03:39
Comment on lines +885 to +888
# This dynamic module SDK will be built into a shared library which we prefer to use
# standard library rather then the absl equivalents. We simply skip the content check
# for this directory to avoid false positives.
if self.run_code_validation and "dynamic_modules/sdk/cpp" not in file_path:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

cc @phlax

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

couple of thoughts ...

is this specific enough - ie this will prevent any checks on these files - wondering if it should bail in check_source_line itself

if that is not the case then the right place to put this condition would be in the self.run_code_validation property i think

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

also - we have config for exclusions in the yaml file - so probably the exclusion should be set there

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

also - we have config for exclusions in the yaml file - so probably the exclusion should be set there

The config is mostly be used to skip single item's check, like std::string_view or std::regex. What I may need to skip is the all std::* include std::string_view, std::mutex, std::optional, std::span, and so on.

to enhance and configure config.yaml would bring too much complexity to this already complex format check script self.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ok - realising also that the property wont work as its per-file - and dont feel strongly about the config - altho would say it kinda simplifies things (that was the reason for moving all the configs out of the logic)

@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Mar 5, 2026

/retest

@wbpcode wbpcode merged commit a2853fe into envoyproxy:main Mar 5, 2026
29 checks passed
@wbpcode wbpcode deleted the dev-add-config-scheduler-for-http branch March 5, 2026 13:32
wbpcode added a commit to wbpcode/envoy that referenced this pull request Mar 7, 2026
…yproxy#43748)

Commit Message: dym sdk: add the config scheduler support to go sdk and
cpp sdk
Additional Description:

Add the config scheduler to go sdk and cpp sdk.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional [API
Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

---------

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
wbpcode added a commit that referenced this pull request Mar 8, 2026
Commit Message: dym sdk: add the config scheduler support to go sdk and
cpp sdk
Additional Description:

Add the config scheduler to go sdk and cpp sdk.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional [API
Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

---------

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
bmjask pushed a commit to bmjask/envoy that referenced this pull request Mar 14, 2026
…yproxy#43748)

Commit Message: dym sdk: add the config scheduler support to go sdk and
cpp sdk
Additional Description:

Add the config scheduler to go sdk and cpp sdk.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional [API
Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

---------

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
Signed-off-by: bjmask <11672696+bjmask@users.noreply.github.com>
bvandewalle pushed a commit to bvandewalle/envoy that referenced this pull request Mar 17, 2026
…yproxy#43748)

Commit Message: dym sdk: add the config scheduler support to go sdk and
cpp sdk
Additional Description:

Add the config scheduler to go sdk and cpp sdk.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional [API
Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

---------

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
fishcakez pushed a commit to fishcakez/envoy that referenced this pull request Mar 25, 2026
…yproxy#43748)

Commit Message: dym sdk: add the config scheduler support to go sdk and
cpp sdk
Additional Description:

Add the config scheduler to go sdk and cpp sdk.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional [API
Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

---------

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.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.

4 participants