fix(#1080): allow uninspected request bodies on Vertex AI profile - #1081
Conversation
|
/fs-fix-stop |
|
Fix agent disabled for this PR. Remove the |
|
🤖 Finished Review · ✅ Success · Started 8:12 PM UTC · Completed 8:26 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.79 |
|
Risk Assessment: low (1/5) DetailsMinimal additive config change (11 lines, 1 file) from a trusted bot author; all signals unchanged from prior assessment — protected path (profiles/) and security issue label contribute minor signal, but the change is trivially revertible with no dependency, CI, or security-sensitive pattern changes. Previous runRisk Assessment: low (1/5) DetailsMinimal additive config change (5 lines, 1 file) from a trusted bot author. All acceptance criteria from issue #1080 are met. The security issue label and protected path (profiles/) contribute minor signal, but the change is easily revertible and introduces no new dependencies, CI changes, or security-sensitive patterns. |
ReviewFindingsMedium
Low
Previous runReviewFindingsMedium
Low
|
Add allow_uninspected_credentials: true to the *.googleapis.com endpoint in profiles/fullsend-vertex-ai.yaml. OpenShell 0.0.110+ resets any inspected request whose body contains the literal gateway-placeholder prefix (NVIDIA/OpenShell#2904), which causes ECONNRESET failures when agents quote the placeholder namespace in model request bodies. This flag skips the request-body placeholder scan while preserving TLS termination, bearer header injection, and method/path rule enforcement. The scaffold copies were already patched in fullsend-ai/fullsend#6695; this is the fleet harness copy loaded from this repository. Closes #1080 Signed-off-by: Wayne Sun <gsun@redhat.com> Assisted-by: Claude (code), Codex (review), Grok (review)
b86cc4a to
5866efd
Compare
|
🤖 Finished Review · ✅ Success · Started 8:28 PM UTC · Completed 8:41 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.50 |
waynesun09
left a comment
There was a problem hiding this comment.
Maintainer approval (security-flagged opt-in). One-line profile change reviewed by Codex and Grok against the OpenShell v0.0.115 source and verified on a live 0.0.115 gateway: the field is honoured at the profile layer and composed into the provider policy; it skips only the request-body placeholder marker guard while TLS termination, bearer injection and method/path rules remain enforced. Same decision as fullsend-ai/fullsend#6695 (ADR 0092) for the scaffold copies; analysis in fullsend-ai/fullsend#6716. All required checks green on 5866efd, threads resolved.
|
🤖 Finished Retro · ✅ Success · Started 9:11 PM UTC · Completed 9:29 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $5.55 |
|
PR #1081 added Timeline: Issue #1080 created (19:57) → triage ($0.58, 4 min) → What went well:
Primary waste — redundant review on metadata-only force-push: The maintainer amended the code agent's commit to add This scenario is covered by existing issue #108 ("Short-circuit review on rebase-only pushes to avoid redundant sub-agent dispatch"), which has the Autonomy assessment: The No new proposals are warranted. The primary cost optimization (short-circuiting review on content-identical force-pushes) is already tracked by #108 with ready-to-code priority. |
Summary
allow_uninspected_credentials: trueto the*.googleapis.comendpoint inprofiles/fullsend-vertex-ai.yamlto bypass OpenShell 0.0.110+'s request-body placeholder-prefix guard (bug(supervisor): literal and foreign-provider placeholders in conversation history block inference NVIDIA/OpenShell#2904)Context
The scaffold copies were already patched in fullsend-ai/fullsend#6695 (ADR 0092). This change applies the same fix to the fleet harness copy loaded from this repository. See fullsend-ai/fullsend#6716 for the full analysis and reproduction table.
Testing
protocol: rest,access: read-write, andenforcement: enforcealongside the new fieldCloses #1080
Post-script verification
agent/1080-vertex-allow-uninspected)20bd058ec31d8cd9a6c34bb9d04b5247b0440fce..HEAD)Review takeover (maintainer)
Independently reviewed by Codex and Grok against the NVIDIA/OpenShell v0.0.115 source, and verified on a local 0.0.115 gateway:
crates/openshell-providers/src/profiles.rsEndpointProfile, copied byendpoint_to_protointo the composed_provider_*policy). Importing this exact file withopenshell provider profile import --file profiles/fullsend-vertex-ai.yamlon 0.0.115 succeeds andprovider list-profiles -o jsonshowsallow_uninspected_credentials: trueon the*.googleapis.comendpoint.protocol: rest, defaulttls).*.googleapis.com, read-write). Narrowing that host is out of scope here — the sandbox also reachessts.googleapis.com/oauth2.googleapis.comfor the in-sandbox WIF exchange, and OpenShell rejects overlapping endpoints whose request-processing metadata disagree — and the exposure the flag adds on other googleapis hosts is only the skipped body marker scan (those bodies never carry placeholders either).harness/*.yaml) references this profile, so the fix applies fleet-wide; no other model-fronting profile exists in this repo.generateContenttraffic, noted in the profile comment.Security-flagged approval (OpenShell's policy schema asks for it for this field): this is the same decision fullsend made in fullsend-ai/fullsend#6695 / ADR 0092 for the scaffold copies; approved here by the maintainer as part of this takeover.