Repository navigation
Description
Split from #3104.
Problem: the issue asks to check whether Harbor runs on our cluster and to run trials there. Harbor supports Docker, Daytona and E2B, and no Kubernetes support is known. The cluster run cannot be built until Harbor supports Kubernetes or a person decides to run Docker on the cluster. Acceptance criteria: When Harbor supports Kubernetes, devops roadmap eval harbor --backend kubernetes --task --trials N runs N trials on the cluster and writes the pass rate and cost to the result file.
Proposed design
Problem statement
The devops roadmap eval harbor run command already runs N trials of one Harbor task through the harbor program. It names the sandbox provider with --provider, which is docker by default, and it writes the pass rate, the trial count and the total cost to result.json under eval/harbor. The item asks for the same trials on the project's own cluster. Harbor names docker, Daytona and E2B, and no Kubernetes provider, so the cluster run waits on an upstream Harbor release. A privileged Docker daemon in a pod breaks the least-privilege runtime rule, so the item adds no runner of its own.
Acceptance criteria
Requirement: Provider forwarded to Harbor
The devops roadmap eval harbor run command MUST pass the value of --provider to the harbor program unchanged.
Scenario: A Kubernetes provider is named
- WHEN
uv run devops roadmap eval harbor run --provider kubernetes --task sample --trials 3runs with the fake harbor program thattests/support/fakes/process.pyinstalls - THEN the argv that the fake harbor program records holds
kubernetesand three trials
Requirement: Pass rate and cost in the result file
The command MUST write the pass rate and the total cost of the trials to result.json under eval/harbor of the data directory.
Scenario: Two passes of three trials
- WHEN the fake harbor program reports two passes and one fail, and each trial reports a cost
- THEN
result.jsonholds the pass rate of two trials out of three and the sum of the three costs
Requirement: Unknown provider refused
The command MUST exit 1 and write no result file when the harbor program reports no provider of the given name.
Scenario: A provider that Harbor does not name
- WHEN
uv run devops roadmap eval harbor run --provider nomad --task sample --trials 1runs and the fake harbor program exits 1 with a message that it has no provider namednomad - THEN the command exits 1 with a message that names
nomad, and noresult.jsonexists
Existing Tool Considered
No alternatives check has run for this item. Harbor is the open, maintained tool that covers the need, and the repository already calls it: devops roadmap eval harbor export writes the task folders, and devops roadmap eval harbor run runs the trials and writes the pass rate, the trial count and the total cost to result.json (docs/TESTING.md:200). Harbor lacks a Kubernetes provider, so the cluster run waits on an upstream release and this item adds no trial runner of its own. A Kubernetes provider built here would duplicate the scheduling, log collection, retry and cost accounting of Harbor, and would need repair at each Harbor release. The item waits for the upstream provider and builds no code in its place.
Key questions
- Does this repository already hold a Harbor runner?: Yes.
devops roadmap eval harborshipsexport, which writes the task folders, andrun, which runs N trials of one task through theharborprogram and writesresult.jsonwith the pass rate, the trial count and the total cost. The command is insrc/devops_cli/commands/roadmap_eval_harbor.pyand the trial run is insrc/devops_cli/roadmap/implement/implement_eval_harbor_run.py. The item adds no second runner; it waits for the Kubernetes provider of this one. [sources: docs/TESTING.md:200, docs/commands/roadmap.md:594, src/devops_cli/commands/roadmap_eval_harbor.py, src/devops_cli/roadmap/implement/implement_eval_harbor_run.py] - Which flag names the sandbox provider of the cluster run?:
--provider, the flag thatrunalready documents. The issue text names--backend; the two names hold one value, and the shipped flag keeps one name. (best practice) [sources: docs/TESTING.md:200, src/devops_cli/commands/roadmap_eval_harbor.py]- Chosen: Keep the shipped
--providerflag.runalready documents--providerfor the sandbox provider, and one value takes one name. - Rejected: Add
--backendas a second name. Two flags for one value confuse the caller and split the tests of one behavior. - Rejected: Rename
--providerto--backend. A rename breaks the documented command and adds no capability.
- Chosen: Keep the shipped
- How do the trials run on the cluster while Harbor has no Kubernetes provider?: The item waits for an upstream Harbor release that adds a Kubernetes provider, and it adds no runner of its own. A privileged Docker daemon in a pod breaks the least-privilege runtime rule, and a Kubernetes provider built here duplicates Harbor. (best practice) [sources: SECURITY.md:21, CONTEXT.md:52, docs/TESTING.md:200]
- Chosen: Wait for the upstream Harbor Kubernetes provider. Harbor owns the trial runner, and CONTEXT.md:52 makes an upstream release a block, not a dependency.
- Rejected: Run Harbor's docker provider in a privileged pod. The pod needs a privileged container or the host Docker socket, which breaks the least-privilege runtime rule of SECURITY.md:21.
- Rejected: Build a Kubernetes provider in this repository. It duplicates the scheduling, log collection, retry and cost accounting of Harbor and needs repair at each Harbor release.
- What does the result file hold, and where is it written?: The shipped
result.jsonundereval/harborof the data directory, with the pass rate, the trial count and the total cost. The item writes no second result file. (best practice) [sources: docs/TESTING.md:200]- Chosen: Keep the shipped
result.json.runalready writes the pass rate, the trial count and the total cost there, and one run takes one record. - Rejected: A new report under
<data_dir>/roadmap_eval/harbor/. It duplicates the shipped result file and gives two records of one run.
- Chosen: Keep the shipped
- What clears the block on the cluster run?: A released
harborversion that names a Kubernetes provider, and a cluster trial with that provider that passes. The offline tests alone do not clear it. (best practice) [sources: CONTEXT.md:52, docs/TESTING.md:201]- Chosen: Clear the block when a released
harborversion names a Kubernetes provider and a cluster trial passes. The provider is the one missing part, and CONTEXT.md:52 makes the upstream release the block. - Rejected: Clear the block when the fake harbor passes the offline tests. A fake proves the argv of the command, not that trials run on the cluster.
- Chosen: Clear the block when a released
Fit
Fits in one pull request.
Suspected block
Harbor has no Kubernetes provider; the cluster run waits on an upstream Harbor release that adds one, and the item clears when a cluster trial with that provider passes.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 2, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.The work is blocked on Harbor adding Kubernetes support, an external dependency not yet available.Running evals on the cluster enables cost and pass-rate measurement in the target environment, but the need is deferred until Harbor supports Kubernetes.Once Harbor supports Kubernetes, the work is to add a backend flag and wire the cluster runner, a moderate change.Both items work on Harbor eval tasks, but #3104 covers the export and run mechanism while the candidate adds a Kubernetes cluster backend option.devops-cli-service commentedon Nov 9, 2026
Refine cannot set this item to Ready at 1b37dbc until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 23, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence