dym sdk: add the config scheduler support to go sdk and cpp sdk#43748
dym sdk: add the config scheduler support to go sdk and cpp sdk#43748wbpcode merged 4 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
|
/retest |
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
… dev-add-config-scheduler-for-http
|
/retest |
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
| # 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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
also - we have config for exclusions in the yaml file - so probably the exclusion should be set there
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)
|
/retest |
…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>
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>
…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>
…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>
…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>
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:]