Skip to content

fix(devcontainer): report a developer tool's failed installer download as a failure #1728

Closed

Description

@dan-petty

Friction

devops devcontainer post-create reports a developer tool as installed when its installer download failed. The person setting up a container sees "Installed standalone claude CLI into $HOME/.local/bin", but there is no claude.

Evidence

Remedy

  • A failed download fails the step, so post-create reports the warning it already has ("Warning: Failed to install standalone claude CLI").
  • For example, fetch the installer with the CLI's HTTP client into a temporary file and run it only after a successful download, or run the pipeline under bash -o pipefail.

Acceptance criteria

  • Tests first: with the download failing, post-create reports the failure warning for uv and claude, not the success message.
  • A successful download still reports the install.
  • uv run devops ci passes.

Activity

  1. added
    source/agent
    type/bug
    on Oct 20, 2026
  2. dan-petty commented on Oct 20, 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 incorrect behavior where failed installer downloads were reported as successful installations.
    • Priority: P2-Medium. This is a correctness issue that affects developer experience but does not block functionality or introduce security risks.
    • Value: Medium. Improves developer tooling reliability for users setting up containers, which impacts usability and productivity.
    • Effort: Medium. Requires modifying shell command execution to properly handle download failures and updating tests to validate the behavior.
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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions