Skip to content

E6: run the authoritative OCP 4.20 workload-parameterized pass (deferred from #63) #64

Closed

Description

@pdettori

Follow-up to #62 / PR #63 (merged). The P3.1 E6 rework (real Archetype-A code-review leaves L0/L1/L2, N-vs-workload curve, noise-robust detectKnee) is Kind-verified only — the authoritative OCP 4.20 pass was deferred. This issue tracks running it.

Why OCP still matters

The Kind run established the N-curve shape unambiguously: it is flat at ~20–24:1 (execCount constant = 2), because per-leaf sandbox work is fixed converge git plumbing (.sh-fetch.lock + per-leaf worktree add) amortized over the shared clone — independent of review scope; the scope difference lands in LLM wall-time, not sandbox execs. OCP is unlikely to change that shape, but it is needed for:

  • The authoritative concurrency floor. Kind's knee came out at 2 / floorPass=false, but that was latency-bound on a single node (p95 crossed the 2× baseline at c=4 while throughput kept rising 0.114→0.664 leaves/s). A real multi-node OCP cluster should push the knee much higher (P3's OCP saw no saturation ≤ c=16). The recommended KAGENTI_SANDBOX_CAP floor should come from OCP, not Kind.
  • Confirming the flat curve holds at cluster scale / with real ingress.

How to run (setup gotchas captured so this is executable)

  • export KUBECONFIG=/Users/paolo/Projects/ocp/auth/kubeconfig (ns default); P3 stack (pool + gitd + redis + service) stands. SH_MODEL=claude-haiku-4-5. KSVC_URL=https://serverless-harness-default.apps.rosso1.kubestellar.org.
  • Refresh gitd to pick up the work ref: kubectl apply -f deploy/knative/gitd.yaml && kubectl rollout restart deploy/gitd -n default, then gate on git ls-remote … | grep refs/heads/work before running (gitd has no readiness probe; it pushes work last).
  • Reuse the existing api-key-only llm-credentials — run any setup-type step with ANTHROPIC_* UNSET (the shell env points at the IBM gateway, unreachable from the AWS cluster).
  • The image needs the exec-timing hook + git-in-sandbox. Publish this branch's image (build.yaml on push-to-main already ran for the merge; tag if needed) — the exec-timing hook shipped in P3 (v0.2.x) and P3.1 changed no harness//packages/, so the current published image should already carry it. Verify a single leaf emits [exec-timing] before the full run.
  • OCP kustomize overlay renders only with --load-restrictor LoadRestrictionsNone (parent-dir refs).
  • Run: E6_LIVE=1 bash deploy/knative/e6-saturation.sh (redirect to a log; analyze via subagent). Optionally re-run E7 (unchanged; P3 mixed-ref PASS stands).
  • The driver's live fixes from P3.1: E6 workload-parameterized sandbox-load (#62) #63 are in: exec-timing is aggregated across all Running harness pods (Knative multi-revision routing), and Phase 1 waits for a Running pod + warms the converge path. The trap restores env + scale on exit.

Record

Append the OCP curve + knee floor to deploy/knative/EXPERIMENTS.md (there's a P3.1 Kind result block to sit alongside; trim to the authoritative OCP run + a one-line takeaway).

Refs: #62, PR #63.

Activity

  1. added a commit that references this issue on Jul 4, 2026
    0b6d9de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions