Repository navigation
fix(devcontainer): report a developer tool's failed installer download as a failure - #2304
Merged
Merged
Conversation
…d as a failure `devops devcontainer post-create` previously executed installer shell pipelines for uv and claude with `sh -c`. Without pipefail enabled, a failed download exited with status 0, causing post-create to report the tool as installed. Execute the installer pipelines with `bash -o pipefail -c`. A failed curl download returns the non-zero exit code of curl and reports the installation failure warning. Closes #1728 Change: `openspec/changes/archive/2026-10-26-1728-devcontainer-installer-download-failure/`
dan-petty
marked this pull request as ready for review
October 26, 2026 15:46
dan-petty
deleted the
fix/1728-devcontainer-installer-download-failure
branch
October 26, 2026 15:46
dan-petty
pushed a commit
that referenced
this pull request
Oct 26, 2026
🤖 I have created a release *beep* *boop* --- ## [0.6.4](v0.6.3...v0.6.4) (2026-10-26) ### Bug Fixes * **devcontainer:** report a developer tool's failed installer download as a failure ([#2304](#2304)) ([6ca95c1](6ca95c1)) * **k8s:** network policy peers name only namespaces that exist ([#1656](#1656)) ([#2302](#2302)) ([c77b6e3](c77b6e3)) * **k8s:** skip post-Helm deletes whose CRD is not installed ([#2307](#2307)) ([fe01b30](fe01b30)), closes [#1818](#1818) * **k8s:** warn on kubectl and kubelet version skew in doctor and deploy-stack ([#2306](#2306)) ([001a7af](001a7af)), closes [#1640](#1640) * **review:** do not cache rejected review plan replies ([#1810](#1810)) ([#2308](#2308)) ([aece067](aece067)) ### Performance Improvements * **ci:** the Static Analysis job runs Bandit once ([#2305](#2305)) ([9cca449](9cca449)), closes [#1746](#1746) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
devops devcontainer post-createpreviously executed installer shell pipelines for uv and claude withsh -c. Without pipefail enabled, a failed download exited with status 0, causing post-create to report the tool as installed.Execute the installer pipelines with
bash -o pipefail -c. A failed curl download returns the non-zero exit code of curl and reports the installation failure warning.Closes #1728
Change:
openspec/changes/archive/2026-10-26-1728-devcontainer-installer-download-failure/Changes
uvinstaller pipeline with["bash", "-o", "pipefail", "-c", "curl -LsSf https://astral.sh/uv/install.sh | sh"].claudeinstaller pipeline with["bash", "-o", "pipefail", "-c", "curl -fsSL https://claude.ai/install.sh | bash"].tests/test_devcontainer.pyasserting that failed downloads foruvandclaudereport the failure warning instead of the installation success, and that successful downloads report the installation.uv run devops ci fail-to-pass --base origin/main(2 failed on base, 0 errored).