Repository navigation
Conversation
Contributor
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge. Reviews (1) · Last reviewed commit: "Add rr.appServingLayer.publicRateLimitin..." · Reviewed by Greptile |
erichsu7
force-pushed
the
erichsu/rr-public-rate-limiting
branch
3 times, most recently
from
December 4, 2026 00:22
996a82d to
fa2ac3b
Compare
…dering RR_PUBLIC_APPS_RATE_LIMITING_ENABLED
erichsu7
force-pushed
the
erichsu/rr-public-rate-limiting
branch
from
December 4, 2026 00:25
fa2ac3b to
846b269
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to tryretool/retool_development#93547, which adds front-door rate limiting for public R² app requests (no session cookie) on self-hosted: per-app page-load and
/_/api/executeV2limits, tracked in memory per pod.The backend gate is the
RR_PUBLIC_APPS_RATE_LIMITING_ENABLEDenv var (code default on). This PR makes the knob visible in the chart:rr.appServingLayer.publicRateLimiting.enabledvalue, defaulttrue, renderingRR_PUBLIC_APPS_RATE_LIMITING_ENABLEDonto the same workloads asRR_APP_DOMAIN(main backend, separate serving layer, standalone git server, jobs runner). Set it tofalseto render"false"and turn the limits off.RR_PUBLIC_EXECUTE_V2_PER_APP_PER_MINUTE,RR_PUBLIC_PAGE_LOAD_PER_APP_PER_MINUTE, both default 600) with anenvironmentVariablesexample. No first-class values for them since the generic passthrough already covers tuning.The
rr:section is excluded from values.schema.json and README.md, so no generated-file changes.Verification
helm templatewithci/test-rr-app-serving-layer-option.yamlrendersRR_PUBLIC_APPS_RATE_LIMITING_ENABLED: "true"; with--set rr.appServingLayer.publicRateLimiting.enabled=falseit renders"false"; with the serving layer disabled it renders nothing. The separate-serving-layer option renders it onrl-retool,rl-retool-git-server, andrl-retool-app-serving-layer.