Skip to content

fix(ci): a failed compose download fails with_docker_in_docker #53

Done

Description

@dan-petty

Problem

A run of test-all.yaml on main failed. The scenario with_docker_in_docker of podman-in-podman did not build its container. The Feature ghcr.io/devcontainers/features/docker-in-docker:4 downloads Docker Compose and its checksum from GitHub during the build. The checksum download gave no checksum.

Evidence

  • Run 46516904533 (commit c25580f), job test-scenarios (podman-in-podman, 0), gives this line: sha256sum: docker-compose.sha256sum: no properly formatted checksum lines found.
  • The same scenario of podman-outside-podman passed in that run. Both scenarios passed in the runs 46513384731 and 46514483862.
  • src/docker-in-docker/install.sh of devcontainers/features gets the checksum with curl -sSL, with no -f. Thus an HTTP error page can go to sha256sum. The log does not show the HTTP status.
  • The test script with_docker_in_docker.sh of podman-in-podman does not use Docker Compose.

Expected

The scenario downloads no tool that its test does not use. A short failure of that download does not fail the run.

Existing tool

The option dockerDashComposeVersion of the Feature docker-in-docker accepts the value none. Set it in the scenario with_docker_in_docker of the two scenarios.json files, after a check that no test script uses Docker Compose. A run of the two scenarios proves the change.

Source

Source: https://github.com/dan-petty/devcontainer-features/actions/runs/46516904533

Alternatives check of 2026-11-30: in-use.
The repository already uses this tool.
Tool: ghcr.io/devcontainers/features/docker-in-docker:4 (https://github.com/devcontainers/features), MIT, last activity 2026-11-30, maintained.
Reason: Searches found no other tool. The Feature docker-in-docker has the option dockerDashComposeVersion, and the value none stops the Compose and checksum download, so the scenario keeps its purpose. The issue already names it.

Covers:

  • Option dockerDashComposeVersion takes the value none
  • Value none skips the Docker Compose and checksum download
  • Feature stays in the scenario, so the test purpose holds

Lacks:

  • No HTTP status check on the checksum download
  • No retry of a failed download
  • No control of Compose downloads in other Features

Proposed design

Problem statement

A transient failure of the Docker Compose checksum download fails the with_docker_in_docker scenario of podman-in-podman. The test script does not use Docker Compose. The change sets the docker-in-docker Feature option dockerDashComposeVersion to none in both Podman scenario files. A live check of each scenario proves the result.

Acceptance criteria

Requirement: Podman-in-podman scenario skips Compose

The with_docker_in_docker scenario of podman-in-podman SHALL set dockerDashComposeVersion to none for the docker-in-docker Feature in test/podman-in-podman/scenarios.json.

Scenario: Podman-in-podman live check

  • WHEN The live check npx devcontainer features test -f podman-in-podman --skip-autogenerated --skip-duplicated runs.
  • THEN The command exits 0 and prints a build log with no docker-compose.sha256sum line.

Requirement: Podman-outside-podman scenario skips Compose

The with_docker_in_docker scenario of podman-outside-podman SHALL set dockerDashComposeVersion to none for the docker-in-docker Feature in test/podman-outside-podman/scenarios.json.

Scenario: Podman-outside-podman live check

  • WHEN The live check npx devcontainer features test -f podman-outside-podman --skip-autogenerated --skip-duplicated runs after .github/scripts/start-podman-host.sh.
  • THEN The command exits 0 and prints a build log with no docker-compose.sha256sum line.

Existing Tool Considered

The alternatives check of 2026-11-30 in the issue body gives the verdict in-use for ghcr.io/devcontainers/features/docker-in-docker:4 (https://github.com/devcontainers/features), MIT, maintained. The repository already uses this Feature. See that check for what the Feature covers and lacks. The Feature lacks an HTTP status check on the checksum download, a retry of a failed download, and control of Compose downloads in other Features. The change sets dockerDashComposeVersion to none, so these two scenarios download no Compose and need no status check or retry. Other Features are out of scope. The change builds no code, so it has no build, keep or fix cost.

Key questions

  • Do the two with_docker_in_docker test scripts use Docker Compose?: No. Neither script invokes docker compose or docker-compose. Each script checks that docker reaches dockerd and that dockerd works. [sources: test/podman-in-podman/with_docker_in_docker.sh, test/podman-outside-podman/with_docker_in_docker.sh]
  • Which scenarios install the docker-in-docker Feature?: Only the with_docker_in_docker scenario of podman-in-podman and the with_docker_in_docker scenario of podman-outside-podman. No other scenario names ghcr.io/devcontainers/features/docker-in-docker:4. [sources: test/podman-in-podman/scenarios.json, test/podman-outside-podman/scenarios.json]
  • Which value of dockerDashComposeVersion stops the Docker Compose download?: The value none, as the alternatives check in the issue body records. The change adds dockerDashComposeVersion: "none" to the docker-in-docker entry of both scenario files. The live check fails if the Feature rejects the value. (best practice) [sources: test/podman-in-podman/scenarios.json:95, test/podman-outside-podman/scenarios.json:81]
    • Chosen: Set dockerDashComposeVersion to none. The alternatives check records that the Feature accepts none and that none skips the Compose and checksum download.
    • Rejected: Keep the default v2. The default downloads Compose and its checksum, so the transient failure stays.
    • Rejected: Patch the install script of the upstream Feature. The repository does not own the Feature, and a patch adds code to keep.
    • Rejected: Remove the docker-in-docker Feature from the scenarios. The scenario tests Podman next to docker-in-docker, so removal changes its purpose.
  • Does the change keep the purpose of the two scenarios?: Yes. The docker-in-docker entry stays, and the test scripts still check that docker reaches dockerd and that dockerd works. [sources: test/podman-in-podman/scenarios.json:95, test/podman-in-podman/with_docker_in_docker.sh:24, test/podman-outside-podman/scenarios.json:81, test/podman-outside-podman/with_docker_in_docker.sh:25]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/bug
    source/agent
    scope/ci
    status/new
    on Nov 30, 2026
  2. dan-petty commented on Nov 30, 2026

    @dan-petty
    OwnerAuthor
    • Priority: A run of test-all.yaml on main failed, which is a CI failure. The failed run 46516904533 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Related: feat(podman-in-podman): add the podman-in-podman Feature 1.0.0 #5, which asks for a different change. Both involve the podman-in-podman feature and its test scenarios, but item 5 adds the feature while the candidate fixes a CI failure in its test scenario.
  3. added
    value/medium
    effort/low
    priority/p1-high
    on Nov 30, 2026
  4. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

  5. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (10)

    Tools considered:

    Searches run:

    • devcontainers docker-in-docker feature dockerDashComposeVersion none, results: 5
    • devcontainer features test scenario skip docker compose install, results: 5
    • "docker-in-docker" devcontainer feature README dockerDashComposeVersion, results: 5
    • github devcontainers features src docker-in-docker devcontainer-feature.json dockerDashComposeVersion, results: 5
    • devcontainers features docker-in-docker install.sh dockerDashComposeVersion none skips compose, results: 5
    • devcontainer docker-in-docker feature options compose version none, results: 5
    • ghcr.io devcontainers features docker-in-docker README options, results: 5
    • docker-in-docker feature install.sh compose checksum curl sha256sum failure, results: 5
    • dockerDashComposeVersion, results: 5
    • devcontainer feature docker in docker compose version none option documentation containers.dev, results: 5

    Sources:

  6. added
    status/ready
    and removed
    status/new
    on Nov 30, 2026
  7. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

  8. added
    owner/service
    on Dec 1, 2026
  9. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Plan state: branch fix/53-a-failed-compose-download-fails-with, draft pull request #56. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.

    The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:

    1. Set dockerDashComposeVersion to none in both scenarios: 10039 tokens

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • major verify_form at tasks (1): The verify command does not check the work of the group. Nothing in the repository shows a devops ci test subcommand that takes a scenarios.json path. The repository only uses devops ci --check --only ... and devops openspec check. Even if it ran, it would not show that dockerDashComposeVersion is none in both files, and it would not run the live scenarios. The plan also states that the live checks cannot run in the implement pod, so the group has no valid verify step. Evidence: "uv run devops ci test test/podman-in-podman/scenarios.json"
  10. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    The stage job staged the plan of draft pull request #56. The plan state comment of #56 holds the branch, the task groups and the findings.

    The runs of the planner and the review made 23 model request(s), and used 647774 input tokens and 25960 output tokens. The tool calls, in order:

    Run 1 (stage):

    1. research_lookup({"question":"docker-in-docker devcontainer feature option dockerDashComposeVersion value none skips Docker Compose install"})
    2. search_code({"text":"dockerDashComposeVersion"})
    3. search_code({"text":"docker-in-docker:4"})
    4. read_file({"path":".pre-commit-config.yaml"})

    Run 2 (stage):

    1. search_code({"text":"devops ci"})

    Run 3 (stage):

    1. search_code({"text":"devcontainer features test"})

    Run 5 (stage_verify):

    1. search_code({"text":"ci test"})
    2. list_files({"directory":""})
    3. search_code({"text":"devops ci"})
    4. search_code({"text":"uv run"})
    5. list_files({"directory":".devops"})
    6. read_file({"path":".devops/project.toml"})
    7. search_code({"text":"devops ci test","path":"openspec"})
    8. search_code({"text":"devops ","path":".github"})
    9. search_code({"text":"pyproject"})
    10. search_code({"text":"devops ci","path":"openspec/changes/archive"})

    Tool calls: list_files=2 (empty=0), read_file=2 (empty=0), research_lookup=1 (empty=0), search_code=11 (empty=6)

    The stage job read the open pull requests and their files in 1 GraphQL request(s).

    The plan request held these comments of the item whole: #53 (comment), #53 (comment), #53 (comment), #53 (comment).

  11. removed
    owner/service
    on Dec 1, 2026
  12. added a commit that references this issue on Dec 1, 2026
  13. added
    status/planned
    owner/service
    status/in-progress
    status/in-review
    and removed
    status/ready
    status/planned
    status/in-progress
    on Dec 1, 2026
  14. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    The draft pull request #57 holds the final title and body. In mode on of roadmap.fix_checks.mode, the watch row marks it ready when its checks pass, and a fix-checks Job repairs a failed check whose name gives the class test, lint or types. In each other case the watch row stops the item: another failed check, a cancelled check, a conflict, a fix-checks Job that ended with no repair, or another mode.

    Spend: 11 model requests, 277959 input tokens, 2049 output tokens.

  15. removed
    owner/service
    on Dec 1, 2026
  16. removed
    status/in-review
    on Dec 1, 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

    effort/lowpriority/p1-highscope/cisource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions