Skip to content

RC1-2 follow-up polish (closes #98 items) - #99

Merged
pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:chore/rc1-2-followups-98
Jul 13, 2026
Merged

pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:chore/rc1-2-followups-98

Conversation

@pdettori

Copy link
Copy Markdown
Member

RC1-2 follow-up polish (closes items in #98)

Small, non-blocking follow-ups from the RC1-2 (#97) review, now that RC1-1 (#96) and RC1-2 (#97) have merged. No behavior change to the AuthBridge path; all still gated behind SH_AUTHBRIDGE.

  • ab2-config.yaml — reword the config comment: it mirrors the spike-verified forward-proxy config and adds judge_inference: true to match AB1's ibac setup, rather than being a literal "EXACT" copy of the spike's minimal snippet. (M1)
  • echo-target.yaml — add a CPU limit + CPU/memory requests and readiness/liveness probes (httpGet / :8080) to the echo Deployment. (M3)
  • authbridge-manifests.test.ts — assert the sandbox container does not mount the creds secret (only the authbridge-ab2 sidecar may), guarding the secret-free invariant; plus a positive assert that the sidecar does mount it. (M4)
  • leaf-smoke.sh — the H2 inject/deny curls now read the sandbox's own ECHO_CRED env (pod-side sh -c expansion) instead of a hardcoded placeholder literal. (M5)

Already handled and not in this PR: M2 (echo non-root USER node) landed in #97; I2 (curl in the shared sandbox.Dockerfile) was a documented design decision the review judged acceptable — no change.

Verification

  • pnpm --filter @sh/knative-server test → 95 passed (6 new assertions).
  • Live Kind re-gate: 16/16 leaf-smoke claims pass with SH_AUTHBRIDGE=1 — the M3 echo probes roll out clean as non-root, and the M5 $ECHO_CRED curls drive H2-inject/deny successfully; H1 + standard claims unaffected.
  • bash -n + shellcheck clean; base sandbox-pool.yaml untouched; flag-off path unchanged.

Closes the actionable items in #98.

Assisted-By: Claude Code

…e test, NO_PROXY doc, ECHO_CRED curls

Addresses the remaining non-blocking follow-ups from rossoctl#98:
- ab2-config.yaml: reword the config comment (mirrors the spike-verified forward
  proxy + adds judge_inference:true to match AB1's ibac), not a literal 'EXACT' copy. (M1)
- echo-target.yaml: add a CPU limit + requests and readiness/liveness probes to
  the echo Deployment. (M3)
- authbridge-manifests.test.ts: assert the sandbox container does NOT mount the
  creds secret (only the authbridge-ab2 sidecar does) — guards the secret-free
  invariant; + positive assert the sidecar mounts creds. (M4)
- leaf-smoke.sh: H2 inject/deny curls now read the sandbox's own ECHO_CRED env
  (pod-side sh -c expansion) instead of a hardcoded placeholder literal. (M5)

Live Kind re-gate: 16/16 leaf-smoke claims still pass with SH_AUTHBRIDGE=1.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori merged commit 43403c7 into rossoctl:main Jul 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant