Repository navigation
Description
Split from #3701.
Problem: The harness from #3701 defines the 20-copy measure and checks its report offline, but the new copy path has not been measured on a real two-node cluster. Why deferred: The implement job has no Kubernetes token (CONTEXT.md:142) and the runner image has no kubectl (Dockerfile:51). A person or an agent with cluster access must run the harness after #3701 merges. Acceptance criteria: Run 20 copies of 100 MiB of random data through the new copy path (_copy_argv in src/devops_cli/k8s/volume_move.py) on two nodes. At least 20 copies complete. The SHA-256 content digest of each copy matches its source. Record 20/20 complete copies and 20/20 digest matches in the pull request or a comment.
Proposed design
Problem statement
Run the #3701 live measure after the merge. The harness defines the 20-copy measure and checks its report offline. Nobody has run the measure on a real two-node cluster, so the new copy path has no live reliability result. The implement job cannot run it: its pod holds no Kubernetes token and its image holds no kubectl. A person or an agent with cluster access must run the harness and record the counts.
Acceptance criteria
Requirement: Pending a person after the merge
After the merge, a person or an agent with cluster access SHALL run 20 copies of 100 MiB of random data through copy_argv on a two-node cluster.
Scenario: Twenty copies complete
- WHEN The person or agent runs the test(k8s): measure volume move copy reliability live #3701 measure in
src/devops_cli/k8s/volume_move_measure.pyon the two-node cluster. - THEN The recorded result states 20 complete copies and 0 failed copies.
Requirement: Two different nodes
The live measure MUST run the source copy pod and the destination copy pod on two different nodes.
Scenario: The copy pods name different nodes
- WHEN The person or agent reads the node of each copy pod with
kubectl get pod -o wide -n <namespace>. - THEN The NODE column shows different nodes for the source copy pod and the destination copy pod, and the recorded result states both node names.
Requirement: Content digest matches
Each of the 20 copies MUST have the same content digest as its source.
Scenario: Every content digest matches
- WHEN The person or agent compares the
contentfield of each sourceCopyDigestwith thecontentfield of its destinationCopyDigest. - THEN The recorded result states 20 content digest matches and 0 differences.
Requirement: Recorded counts
The run MUST record the complete-copy count and the digest-match count, each out of 20, in an issue comment or a pull request body.
Scenario: Both counts are recorded
- WHEN The live run ends and the person or agent writes the result with
devops gh issue commentor in the pull request body. - THEN The issue comment or the pull request body states 20/20 complete copies and 20/20 content digest matches.
Existing Tool Considered
No alternatives check has run. The need is a live 20-copy measure across two nodes, with a content digest for each copy. The #3701 harness in src/devops_cli/k8s/volume_move_measure.py covers it. The harness drives kubectl (Apache-2.0) for the two exec streams, GNU tar (GPL-3.0) to pack and to extract, and GNU sha256sum (GPL-3.0) for the digest. No open, maintained tool measures the reliability of a copy path across two Kubernetes nodes: such a tool needs a scheduler and a cluster, and the person or agent supplies both. This item writes no transfer, count or digest code, so it has no build cost.
Key questions
- Does the test(k8s): measure volume move copy reliability live #3701 harness exist at the commit being refined?: Yes.
src/devops_cli/k8s/volume_move_measure.pyexists and callscopy_argv.tests/k8s/test_k8s_volume_measure.pychecks its report offline. The file is in the tree, so test(k8s): measure volume move copy reliability live #3701 has merged and this item has no dependency on it. [sources: src/devops_cli/k8s/volume_move_measure.py, tests/k8s/test_k8s_volume_measure.py] - Which function does the live measure exercise?:
copy_argv, not_copy_argvas the issue body writes it.copy_argvatsrc/devops_cli/k8s/volume_move.py:329builds onebash -o pipefailprogram. That program streams GNU tar from the source pod into GNU tar in the destination pod through twokubectl exec -istreams. [sources: src/devops_cli/k8s/volume_move.py:329, src/devops_cli/k8s/volume_move_measure.py] - How does the copy path show that a copy is correct?:
CopyDigestatsrc/devops_cli/k8s/volume_move.py:134holdsentries,files,bytes,metadataandcontent. Thecontentfield carries the content digest of the copy. An equalcontentvalue on both sides shows equal data. [sources: src/devops_cli/k8s/volume_move.py:134, src/devops_cli/k8s/volume_move_measure.py] - Why can the implement job not run the live measure?: The runner pod mounts no Kubernetes ServiceAccount token, and the runner image holds no
kubectl. The implement job therefore cannot reach a cluster. [sources: CONTEXT.md, k8s/devops/cronjob-runner.yaml] - Which cluster does the live measure need?: A real cluster with at least two nodes. The source copy pod mounts the old claim on the old node. The destination copy pod selects the target node by its hostname label. The stream therefore crosses the node network. (best practice) [sources: src/devops_cli/k8s/volume_move.py]
- Chosen: Two-node cluster. The stream crosses the node network, which is the path that the copy change affects. Only this case measures that path.
- Rejected: Single-node cluster. Both copy pods run on one node. The stream never crosses the node network, so the measure shows nothing new.
- Rejected: Mock of the API server. test(k8s): measure volume move copy reliability live #3701 already checks the report offline. A mock cannot show the end of a stream under a real API server.
- Who runs the live measure?: A person or an agent with
kubectlaccess and a two-node cluster runs the test(k8s): measure volume move copy reliability live #3701 harness after the merge. The implement job cannot: its pod holds no Kubernetes token and its image holds nokubectl. (best practice) [sources: CONTEXT.md, k8s/devops/cronjob-runner.yaml]- Chosen: A person or an agent with cluster access. Only an actor with a kubeconfig reaches a real two-node cluster. The runner pod holds no Kubernetes token.
- Rejected: The implement job in the runner. The runner pod mounts no Kubernetes token and the runner image holds no
kubectl, so the job cannot reach a cluster.
- How does the plan record the live proof?: The plan records the live proof as an acceptance criterion named
Pending a person after the merge. The criterion states the run and the recorded counts. The plan does not ask a person question, because the run is a post-delivery step and no design choice remains. (best practice) [sources: CONTEXT.md, src/devops_cli/k8s/volume_move_measure.py]- Chosen: Post-merge acceptance criterion. The run happens after the merge, so the plan records it as a criterion named
Pending a person after the merge. - Rejected: Defer the whole item. This item is already the deferred live run from test(k8s): measure volume move copy reliability live #3701. A second deferral files the same work again.
- Rejected: Person question. The run needs no design choice. A person question would ask what the plan already states.
- Chosen: Post-merge acceptance criterion. The run happens after the merge, so the plan records it as a criterion named
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
testprefix of the title gives the type.(k8s)scope of the title gives the scope.The measure confirms the copy fix on a real cluster, but it does not block other work.The result gives evidence that the new copy path is reliable, and users get no direct change.A person with cluster access runs the existing harness and records the numbers.a live measure of 20 copies of 100 MiB through the new volume move copy path on two nodes, with the digest check and the recorded resultas the change that both ask for.Item 3701 gives the same acceptance criteria: 20 copies of 100 MiB on two nodes, digest matches, and recorded numbers.A person closes one of the two if that is so.devops-cli-service commentedon Nov 8, 2026
Refine cannot set this item to Ready at 7935fba while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
The next refine round also looks at the item again when a commit on the default branch changes one of these files:
CONTEXT.md.devops-cli-service commentedon Nov 8, 2026
Refine cannot set this item to Ready at aa772d6 while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
The next refine round also looks at the item again when a commit on the default branch changes one of these files:
k8s/devops/cronjob-runner.yaml.devops-cli-service commentedon Nov 9, 2026
Refine cannot set this item to Ready at 28356ed while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
The next refine round also looks at the item again when a commit on the default branch changes one of these files:
k8s/devops/cronjob-runner.yaml.devops-cli-service commentedon Nov 11, 2026
Refine cannot set this item to Ready at 9087b39 while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
The next refine round also looks at the item again when a commit on the default branch changes one of these files:
k8s/devops/cronjob-runner.yaml.dan-petty commentedon Nov 14, 2026
Blocked on a live cluster and a person: this item is the live run of the #3701 harness, and #3701 is returned because no agent session can reach a two-node cluster or record real digest results. The runner pod has no Kubernetes token and its image holds no kubectl (k8s/devops/cronjob-runner.yaml:33, Dockerfile:51), so the 20-copy measure and its k8s/README.md record cannot be produced or verified offline.
devops-cli-service commentedon Nov 14, 2026
Refine cannot set this item to Ready at 6d21b5b while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
The next refine round also looks at the item again when a commit on the default branch changes one of these files:
k8s/devops/cronjob-runner.yaml.docs(openspec): plan #3701 Add the volume move copy reliability harne…
devops-cli-service commentedon Nov 16, 2026
Refine cannot set this item to Ready at b1c4892 while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
feat(k8s): Add the volume move copy reliability harness (#5920)
devops-cli-service commentedon Nov 16, 2026
Owner question: A person or an agent with cluster access must run the #3701 harness on a real two-node cluster. The implement job has no Kubernetes token and no
kubectl.Options
Recommendation: Decide the question: only a person can answer it.
Evidence
The next refine round also looks at the item again when a commit on the default branch changes one of these files:
k8s/devops/cronjob-runner.yaml.devops-cli-service commentedon Nov 17, 2026
Owner question: A person or an agent with cluster access must run the #3701 harness on a real two-node cluster. The implement job has no Kubernetes token and no
kubectl.Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 20, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 21, 2026
Owner question: See the first point of Open questions and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 21, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 26, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 26, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
dan-petty commentedon Nov 28, 2026
Replacement check for #7498 (PR #7518, which replaces the volume move copy with pv-migrate): this item becomes obsolete when PR #7518 merges. The PR deletes
src/devops_cli/k8s/volume_move_measure.pyand its tests: the measure ran the tar pipe ofcopy_argvand the bash digest, and the move no longer has either. The copy is pv-migrate, whose own integration tests run real migrations across two kind clusters (integration/integration_test.goat v3.8.0). After the merge, this item can close as not planned.