fix(supabase): compile queryStringObfuscation before building url #11328
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 261 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.333
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #11328"
general
weight: 0.35
BridgeAR
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- Please make sure your changes are properly tested -->
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!--
PR title guidance:
use test: cover retries, not fix: cover retries.
such as fix(http, tests): handle retries.
- Tests: test(scope): description
- Benchmarks: bench(scope): description
- Documentation: docs(scope): description
- CI and workflows: ci(scope): description
- Build tooling: build(scope): description
- Maintenance: chore(scope): description
use test(http): cover retries, not fix(test): cover retries.
chore(eslint), chore(scripts), ci(release), ci(workflows), and test(integration-tests).
-->
What does this PR do?
Compiles
queryStringObfuscationwithgetQsObfuscatorinconfigure()of the Supabase Storage and Functions plugins.Motivation
#11279 changed
buildClientHttpUrlto expect an already-compiled obfuscator and updated only the http and http2 clients. The Supabase plugins kept passing the raw string, whichString#replacetreated as a literal pattern. As a result,url.fullwas not obfuscated for regex patterns likewidth=[^&]and.. An empty pattern also put<redacted>at the start of the query string.