Skip to content

fix(ci): the devcontainer smoke test runs each platform by its own manifest digest #1949

Closed

Description

@dan-petty

Friction

The DevContainer Image check fails on the v0.2.39 release pull request (#1947). The step "Start the DevContainer Image as Its Remote User" (.github/actions/devcontainer-smoke) stops with exit code 125:

docker: cannot overwrite digest sha256:fce872844cff8ef48eaf3f9357bcedda216de03d7d646afe291ec37a3202832b

Evidence

  • Run 39896894272 (feat(release): v0.2.39 #1947, head f98ccd1) and run 39893000196 (head 50c9727) fail with the same error. The failure is deterministic.
  • The step runs devcontainer up on <repository>@<index digest>, which pulls the runner's platform. Then it runs docker run --platform "$PLATFORM" "$REF" for linux/amd64 and linux/arm64 on the same index digest.
  • The classic image store of the runner's Docker keeps one image for each repository@digest reference. The linux/arm64 pull maps the same reference to a second image, and Docker refuses it.
  • release.yml calls the same action in its devcontainer-smoke job, so after the merge the job "Attest & Tag DevContainer Image" does not run either.
  • The job runs only on pull requests into main, so the release pull request is the first run since fix(devcontainer): the published image applies the devcontainer features again, so remoteUser vscode exists #1901.

Proposed remedy

Read the image index once with docker buildx imagetools inspect --raw "$REF". Run each platform by its own manifest digest (<repository>@<platform digest>), which is a different reference for each platform. Update test_the_devcontainer_smoke_action_starts_the_pushed_digest_as_vscode in tests/test_workflow_contracts.py to require this. The fix must land in release/v0.2.39 before #1947 merges.

Activity

  1. added
    source/agent
    type/bug
    on Oct 23, 2026
  2. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Type: type/bug. The candidate fixes a defect in the CI process.
    • Priority: P1-High. The issue blocks a release and causes CI failures. The failed run 39896894272 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 on the board.
    • Value: High. The fix enables successful release workflows for users.
    • Effort: Medium. The fix requires updating the action and test expectations.
  3. added this to the v0.2.39 milestone on Oct 23, 2026
  4. added
    status/in-progress
    on Oct 23, 2026
  5. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

    This fix goes into v0.2.39 by the owner rule that a release branch holds every change its release needs before the release pull request merges. The DevContainer Image check of the release pull request #1947 fails on this defect, and the post-merge job devcontainer-smoke in release.yml uses the same action.

  6. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

    What changed

    #1950, merged into release/v0.2.39 as fe70a13.

    Fixes #1949

    The DevContainer Image check of the release pull request #1947 fails with docker: cannot overwrite digest. The smoke action ran linux/amd64 and linux/arm64 by the one index digest. The classic image store of the runner keeps one image for each repository@digest, so it refused the second platform. release.yml calls the same action, so after the merge the image would not get its attestation or its tags.

    51 file(s) changed.

    How it was verified

    Check runs at 0617505:

    • Prune PR DevContainer Images: pass
    • Audit Defect PR Hardening: skipping
    • zizmor: pass
    • devops-cli: pass
    • bandit: pass
    • CodeQL: pass
    • Tests & Coverage: pass
    • Rule Pack Tests: pass
    • Changed-Test Independence: pass
    • Fail-to-Pass Self-Check: pass
    • Analyze (python): pass
    • Fail-to-Pass Check: pass
    • Analyze (actions): pass
    • Static Analysis: pass
    • DevContainer Image: skipping
    • Service Image: skipping
    • Dependency Freshness: skipping

    Acceptance Criteria of docs/agent/tasks/task-1949-devcontainer-smoke-runs-each-platform-by-its-digest.md:

    • test_the_devcontainer_smoke_action_starts_the_pushed_digest_as_vscode requires the index read and a docker run by the digest of each platform. It fails on the base.
    • The jq filter selects the digest of linux/amd64 and linux/arm64 from an index with an attestation manifest, and it gives exit code 4 for a platform that the index does not hold.
    • uv run devops ci passes (pre-push hook).
    • Pending a person: the DevContainer Image check of the release pull request feat(release): v0.2.39 #1947 passes after this pull request merges.
  7. removed
    status/in-progress
    on Oct 30, 2026
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

    source/agenttype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions