-
Notifications
You must be signed in to change notification settings - Fork 4
Description
got the following error from the tests:
0.141 Installing OpenCode version: latest 0.144 Resolving latest version using GitHub API... 0.244 GitHub API failed, falling back to HTML parsing... 0.244 Attempting to resolve latest version from releases page HTML... 0.331 Failed to resolve version from HTML, using known fallback version... 0.332 ERROR: Feature "OpenCode" (Unknown) failed to install! Look at the documentation at https://opencode.ai/docs for help troubleshooting this error. ------[2026-01-03T03:52:18.980Z] Dockerfile.extended:24
23 |
24 | >>> RUN --mount=type=bind,from=dev_containers_feature_content_source,source=opencode_0,target=/tmp/build-features-src/opencode_0
25 | >>> cp -ar /tmp/build-features-src/opencode_0 /tmp/dev-container-features
26 | >>> && chmod -R 0755 /tmp/dev-container-features/opencode_0
27 | >>> && cd /tmp/dev-container-features/opencode_0
28 | >>> && chmod +x ./devcontainer-features-install.sh \
[2026-01-03T03:52:18.980Z] 29 | >>> && ./devcontainer-features-install.sh
30 | >>> && rm -rf /tmp/dev-container-features/opencode_0
31 |
ERROR: failed to build: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/opencode_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/opencode_0 && cd /tmp/dev-container-features/opencode_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/opencode_0" did not complete successfully: exit code: 1
[2026-01-03T03:52:18.984Z] Exit code 1
[-] Failed to launch container:
Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-runner/container-features/0.80.3-1767412329351 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/base:ubuntu --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-runner/container-features/0.80.3-1767412329351/Dockerfile.extended -t vsc-1767412328597-acedafda425670a23d007a146a17b79e6ca96ec4f735dddbcaa8e59d0cfbc49c-features /tmp/devcontainercli-runner/empty-folder
fix the script for installing opencode. I think the issue has to do or with a rename of files on the opencode gh or something similar. Don't change the behaviour of the script. Just validate that it is pulling the correct binary, that it exists and that it installs