Task 6: scaffold, config, dependency guard #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scaffold for ci-dispatch (runner classes phase 0-1, Task 6). Stays on v1 until the release review.
internal/kube is a plain net/http client for one namespace with the in-cluster CA and a token re-read every minute. It makes seven request shapes only: list Jobs and Pods, create a Job and a Secret, resume a Job (merge patch {"spec":{"suspend":false}} and nothing else), delete a Job (Background) and delete a Secret. A transport allowlist refuses anything else before it is sent: other namespaces, dot/slash/percent tricks, trailing segments, queries outside the per-shape list, a foreign Host, redirects, any GET on a Secret, other PATCH bodies, and POST bodies whose kind, name or namespace do not match. An AST test keeps each write method in one function behind a constant. internal/tiny builds the suspended Job (pod shape from the plan, the NetworkPolicy spec netpol-gate init container verbatim, activeDeadline from HardStop) and its Secret, owned by the Job. SecretManifest returns a type that prints as [redacted]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FWhaDeswMqYvQaVdpL8oitView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.