Skip to content

[v1.38] Fix bug where RTDS runtime overrides being deleted would not restore the default value#45533

Merged
phlax merged 1 commit into
envoyproxy:release/v1.38from
yanavlasov:pr-45477/v1.38
Jun 10, 2026
Merged

[v1.38] Fix bug where RTDS runtime overrides being deleted would not restore the default value#45533
phlax merged 1 commit into
envoyproxy:release/v1.38from
yanavlasov:pr-45477/v1.38

Conversation

@yanavlasov

Copy link
Copy Markdown
Contributor

Implemented failing-integration-test-first, proving the bug existed.

Assisted by Codex 5.5 xhigh, but I went over all the changes manually and cleaned up several.

I don't think it's possible to sanely runtime-guard the change, because how can you possibly make runtime-guards optionally not update correctly based on a runtime-guard? Updating that value would work if set and not work if not set, very confusingly.

Issue was discovered when we tried to turn the recent "cookie overload" patch back on after tuning the limits, and it appeared to be fine, but then wasn't fine on instances deployed after the reset - the runtime override to "off" was still in effect on the original instances, while admin /runtime on the same instance was reporting no such override.

Risk Level: Small - it is a behavior change, but the old behavior was incorrect, and unlikely to have been positively relied upon. Testing: Integration test and unit test.
Docs Changes: n/a
Release Notes: yes
Platform Specific Features: n/a

…the default value (envoyproxy#45477)

Implemented failing-integration-test-first, proving the bug existed.

Assisted by Codex 5.5 xhigh, but I went over all the changes manually
and cleaned up several.

I don't think it's possible to sanely runtime-guard the change, because
how can you possibly make runtime-guards optionally not update correctly
based on a runtime-guard? Updating that value would work if set and not
work if not set, very confusingly.

Issue was discovered when we tried to turn the recent "cookie overload"
patch back on after tuning the limits, and it appeared to be fine, but
then wasn't fine on instances deployed after the reset - the runtime
override to "off" was still in effect on the original instances, while
admin `/runtime` on the same instance was reporting no such override.

Risk Level: Small - it is a behavior change, but the old behavior was
incorrect, and unlikely to have been positively relied upon.
Testing: Integration test and unit test.
Docs Changes: n/a
Release Notes: yes
Platform Specific Features: n/a

---------

Signed-off-by: Raven Black <ravenblack@dropbox.com>
@yanavlasov yanavlasov enabled auto-merge (squash) June 10, 2026 00:18
@phlax phlax disabled auto-merge June 10, 2026 10:21
@phlax phlax merged commit 73af4c6 into envoyproxy:release/v1.38 Jun 10, 2026
14 checks passed
@yanavlasov yanavlasov deleted the pr-45477/v1.38 branch June 10, 2026 14:29
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