You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deploy/k8s: test-strength follow-ups from the slice 1 reviews #433
Test-strength follow-ups from the task reviews of #427 (P6 on Kubernetes slice 1). None of these is a known bug; each closes a gap that a future regression could slip through.
Manifest tests (packages/supervisor/test/k8s/):
Pin the relay's ingress rule count, or assert the whole ingress array. A broader third rule on 9443 would pass today.
One loop over every container and initContainer in every overlay, asserting Pod Security restricted fields (seccomp, allowPrivilegeEscalation: false, drop: [ALL], non-root).
base-redis: pin defaultMode: 288, runAsUser: 999 and the Service port.
The "every workload has its own policy" loop: exclude default-deny and allow-dns by name. allow-dns currently satisfies it for the sandbox.
env-parity: assert the template variable counts, or fail on differently shaped lines (# NAME=, export NAME=, indented), so a new variable cannot slip through.
setup.sh tests (deploy/k8s/tests/setup.test.sh):
A --build case: docker build --load …, no docker pull, still kind load.
Assert that genkeys' kc run gets </dev/null.
Replace the dead #!/usr/bin/env bash heredoc shebangs with a write_mock NAME helper that writes the $REAL_BASH shebang itself.
The shasum fallback test is skipped on Linux without shasum. Exercise the selection logic with a shim instead.
smoke.sh:
Claim 9: ko if more than one non-terminating supervisor pod exists, or port-forward to pod/<name>.
kc_exec duplicates kc's context logic. Use one shared helper.
Mock model: check each K8S-SMOKE-* marker returns its own command, not just any bash tool_use.
Relay (packages/sandbox-relay/test/):
A test for a presence put that is in flight when teardown runs: no further put, no timer left.
Activity
test(sandbox-relay): a presence put in flight at teardown schedules n…