fix(proxy): add coordination_redis routes to component allowlist - #32823
Conversation
Greptile SummaryThis PR makes a single-line addition to
Confidence Score: 5/5A one-line allowlist addition with no runtime effect until the companion PR merges; safe to merge as-is. The change is a single prefix string added to a static tuple. It correctly covers both target paths, matches the existing trailing-slash pattern used throughout the file, and is verified by the coverage test cited in the PR description. No logic, auth, or data-plane code is touched. No files require special attention.
|
| Filename | Overview |
|---|---|
| backend/routes/allowlist.py | Adds /coordination_redis/ prefix to BACKEND_PATH_PREFIXES, enabling the backend component to serve the upcoming /coordination_redis/settings and /coordination_redis/settings/test routes from PR #32661. |
Reviews (1): Last reviewed commit: "fix(proxy): add coordination_redis route..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Relevant issues
Unblocks PR #32661.
Linear ticket
Pre-Submission checklist
Screenshots / Proof of Fix
Type
🐛 Bug Fix
Changes
PR #32661 adds
/coordination_redis/settingsand/coordination_redis/settings/testendpoints but does not add them tobackend/routes/allowlist.py. Thetest_gateway_plus_backend_covers_full_apptest enforces that every registered route appears in either the gateway or backend allowlist, causing that test to fail on #32661 with:Adding
/coordination_redis/as a prefix entry to the backend allowlist covers both routes. The entry is inert on staging until #32661's routes land (the coverage test only checks registered routes against the allowlist, not the reverse).