You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(devcontainer): report a developer tool's failed installer download as a failure #1728
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
_bootstrap_developer_tools in src/devops_cli/commands/devcontainer.py runs sh -c "curl -LsSf https://astral.sh/uv/install.sh | sh" and sh -c "curl -fsSL https://claude.ai/install.sh | bash". It then reports success when the exit status is 0.
A pipeline's exit status is its last command's, and neither command sets pipefail. When curl fails, the shell gets empty input and exits 0.
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.
Activity
dan-petty commentedon Oct 20, 2026
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.
The candidate fixes incorrect behavior where failed installer downloads were reported as successful installations.This is a correctness issue that affects developer experience but does not block functionality or introduce security risks.Improves developer tooling reliability for users setting up containers, which impacts usability and productivity.Requires modifying shell command execution to properly handle download failures and updating tests to validate the behavior.