tests/e2e: validate out-of-process k8s.io ext_proc redirector #1704
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.59) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 187 lines diff across 2 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.313
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #1704"
general
weight: 0.35
justinsb
Implements Issue 4 of
docs/ext-proc-extensions.md(Section 5).Stacked on PR #1703 (
760ccc308019547737648320b672a0bd844293ed).Summary
ext_procv3 gRPC server (tests/e2e/extproc) implementingk8s.io-style vanity redirects,?go-get=1Go import HTML responses,CONTINUEheader mutation for fallback backends, and delayed responses for timeout testing, along with unit tests and a distroless Dockerfile.--no-redirectand--expected-statusflags totests/toolbox/main.goso e2e tests can verify redirectLocationheaders and non-200 status codes (301,302,500,504) directly.TestExtProcintests/e2e/extproc_test.go(and wire it intodev/tasks/test-e2e) verifying end-to-end in kind:- Runtime CRD annotation discovery via
gateway.gke-labs.io/ext-proc-service(transitioningHTTPRoutefromResolvedRefs=False/ HTTP500toResolvedRefs=Truewithout restarting the controller).- Ordered
k8s.io-style redirects (bare repo before subpath, optional.sigsuffix capture, pre-encoded query string capture, path +#fragmentcaptures, and trailing-slash rule ordering).-
?go-get=1coexistence viaHTTPRoutequery-parameter precedence (Pattern A) and singleext_procwithCONTINUEfallback tobackendRefs(Pattern B).- Fail-closed HTTP
504 Gateway Timeoutbehavior whenext_procexceeds the per-call timeout (verifying it does not fall through tobackendRefs).Fixes #1698