Skip to content

local_ratelimit: support per descriptor shadow mode#42848

Merged
wbpcode merged 11 commits into
envoyproxy:mainfrom
zirain:local_ratelimit/shadow-mode
Jan 24, 2026
Merged

local_ratelimit: support per descriptor shadow mode#42848
wbpcode merged 11 commits into
envoyproxy:mainfrom
zirain:local_ratelimit/shadow-mode

Conversation

@zirain
Copy link
Copy Markdown
Member

@zirain zirain commented Jan 5, 2026

Commit Message: Add shadow mode support as the global rate limit in the local rate limit
Additional Description:
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:]

zirain added 2 commits January 4, 2026 13:43
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @mattklein123
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #42848 was opened by zirain.

see: more, trace.

zirain added 3 commits January 5, 2026 13:12
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@zirain
Copy link
Copy Markdown
Member Author

zirain commented Jan 6, 2026

/retest

@wbpcode wbpcode self-assigned this Jan 12, 2026
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@zirain
Copy link
Copy Markdown
Member Author

zirain commented Jan 13, 2026

/retest

@zirain zirain requested a review from mattklein123 January 15, 2026 05:10
@zirain
Copy link
Copy Markdown
Member Author

zirain commented Jan 15, 2026

/retest

wbpcode
wbpcode previously approved these changes Jan 17, 2026
Copy link
Copy Markdown
Member

@wbpcode wbpcode 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.

@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Jan 17, 2026

cc @mattklein123 , hello, Matt, could you take a look again to see whether you comments are addressed? Thanks.

@zirain
Copy link
Copy Markdown
Member Author

zirain commented Jan 21, 2026

/retest

@mattklein123
Copy link
Copy Markdown
Member

LGTM needs main merge.

/wait

Signed-off-by: code <wbphub@gmail.com>
@wbpcode wbpcode enabled auto-merge (squash) January 24, 2026 04:50
@wbpcode wbpcode dismissed mattklein123’s stale review January 24, 2026 04:51

Matt have given a LGTM. :)

@wbpcode wbpcode merged commit 83082b0 into envoyproxy:main Jan 24, 2026
26 checks passed
@zirain zirain deleted the local_ratelimit/shadow-mode branch January 24, 2026 09:33
wbpcode added a commit that referenced this pull request Jan 25, 2026
Commit Message: local ratelimit: shadow mode should be treat as
ratelimited
Additional Description:

Minor update to #42848. We
should only counted the shadow mode as part of ratelimited, like the
enforced and so on.

Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

---------

Signed-off-by: wbpcode <wbphub@gmail.com>
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
shane-yuan pushed a commit to shane-yuan/envoy that referenced this pull request Feb 11, 2026
<!--
!!!ATTENTION!!!

If you are fixing *any* crash or *any* potential security issue, *do
not*
open a pull request in this repo. Please report the issue via emailing
envoy-security@googlegroups.com where the issue will be triaged
appropriately.
Thank you in advance for helping to keep Envoy secure.

!!!ATTENTION!!!

For an explanation of how to fill out the fields, please see the
relevant section
in
[PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/main/PULL_REQUESTS.md)

!!!ATTENTION!!!

Please check the [use of generative AI
policy](https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md?plain=1#L41).

You may use generative AI only if you fully understand the code. You
need to disclose
this usage in the PR description to ensure transparency.
-->

Commit Message: Add shadow mode support as the global rate limit in the
local rate limit
Additional Description:
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: zirain <zirain2009@gmail.com>
Signed-off-by: code <wbphub@gmail.com>
Co-authored-by: code <wbphub@gmail.com>
shane-yuan pushed a commit to shane-yuan/envoy that referenced this pull request Feb 11, 2026
…xy#43146)

Commit Message: local ratelimit: shadow mode should be treat as
ratelimited
Additional Description:

Minor update to envoyproxy#42848. We
should only counted the shadow mode as part of ratelimited, like the
enforced and so on.

Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

---------

Signed-off-by: wbpcode <wbphub@gmail.com>
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
grnmeira pushed a commit to grnmeira/envoy that referenced this pull request Mar 20, 2026
<!--
!!!ATTENTION!!!

If you are fixing *any* crash or *any* potential security issue, *do
not*
open a pull request in this repo. Please report the issue via emailing
envoy-security@googlegroups.com where the issue will be triaged
appropriately.
Thank you in advance for helping to keep Envoy secure.

!!!ATTENTION!!!

For an explanation of how to fill out the fields, please see the
relevant section
in
[PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/main/PULL_REQUESTS.md)

!!!ATTENTION!!!

Please check the [use of generative AI
policy](https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md?plain=1#L41).

You may use generative AI only if you fully understand the code. You
need to disclose
this usage in the PR description to ensure transparency.
-->

Commit Message: Add shadow mode support as the global rate limit in the
local rate limit
Additional Description:
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: zirain <zirain2009@gmail.com>
Signed-off-by: code <wbphub@gmail.com>
Co-authored-by: code <wbphub@gmail.com>
Signed-off-by: Gustavo <grnmeira@gmail.com>
grnmeira pushed a commit to grnmeira/envoy that referenced this pull request Mar 20, 2026
…xy#43146)

Commit Message: local ratelimit: shadow mode should be treat as
ratelimited
Additional Description:

Minor update to envoyproxy#42848. We
should only counted the shadow mode as part of ratelimited, like the
enforced and so on.

Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

---------

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

3 participants