Skip to content

docs(openspec): fix plan #2554 pull at the deploy call site - #3073

Merged
dan-petty merged 2 commits into
mainfrom
docs/2554-fix-plan
Nov 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/2554-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The plan for #2554 had defects. Pull request #2996 staged it. This pull request corrects the plan in place. It changes no code and no test.

The old plan put the image pull in the wrong code. The new plan puts it in WorkloadSandboxEngine._spawn_container, the code that devops sandbox deploy runs. The plan now also matches the real error text of the engine, uses the existing condition field for the conditional dry-run request, and records the dry-run change as a delta of command-dry-run-class.

Plans #2554

The plan put the pull in the workload runner, which devops sandbox deploy does not run. Move it to WorkloadSandboxEngine._spawn_container.

Put the fake group before the group that needs it, and add the contract scenario with its recorded exchange. Add the dry-run plan group. Fix the Protocol name, the paths and the test locations. Replace the Feasibility text with command output. Add the Acceptance map. Move the spec delta to the capability sandbox-image-pull.
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes

  • Test 3.1(c) now matches Image pull failed for python:3\.14-slim: .*pull access denied. The SDK error text starts with 404 Client Error, so the reason does not follow the colon at once. Design text aligned.
  • Task 4.2 and design use PlannedRequest.condition ("the image is not on the engine") and not text in the target. Task 4.1 asserts the [only if ...] form.
  • The dry-run requirement moved from the new capability sandbox-image-pull to a MODIFIED copy of sandbox-request-plans in command-dry-run-class.
  • Proposal facts fixed: test_sandbox_logs.py does not deploy; the create_container grep lists the definition and two callers.
  • Earlier commit: the pull sits in WorkloadSandboxEngine._spawn_container, not in the runner.

Evaluation findings (PR #2996)

  • Confirmed and fixed: match pattern (major), condition field (minor), two wrong statements (minor).
  • Partly confirmed: group 4 is not a criterion of the issue. I kept it, because the dry-run rule (feat(cli): reachable --dry-run previews for delegated commands #412) says a dry run lists the requests of the real run, and the real run now makes two more. I used the alternative the finding offers (a MODIFIED delta). The proposal says a person can drop group 4.

Verification

  • openspec validate 2554-devops-sandbox-deploy-fails-with-a --strict: valid.
  • uv run devops openspec check: passed.
  • tests/invariants/test_change_folders.py: 17 passed.
  • Hooks ran on commit and push. Branch is up to date with origin/main.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 13:55
@dan-petty
dan-petty merged commit 00e4351 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2554-fix-plan branch November 1, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant