fix(opencode.ai): improve install robustness and test coverage#273
Merged
fix(opencode.ai): improve install robustness and test coverage#273
Conversation
Copilot
AI
changed the title
[WIP] Fix installation issue with opencode.ai feature
fix(opencode.ai): improve install robustness and test coverage
Apr 21, 2026
sebst
requested changes
Apr 21, 2026
Member
sebst
left a comment
There was a problem hiding this comment.
Implement the suggested changes
…, bump to 1.0.7 Agent-Logs-Url: https://github.com/devcontainer-community/devcontainer-features/sessions/afd98687-ece6-400b-b19f-8c38d4737274 Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Contributor
Author
Done in d896f45. Applied all three changes:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
sebst
approved these changes
Apr 21, 2026
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.
The
opencode.aifeature has had recurring install failures traced to accumulated technical debt: a non-standarddebian_get_arch()implementation with an unscopedarchvariable, missingapt_get_cleanupat the end ofinstall(), and a test that only checks file existence rather than binary execution.Changes
install.sh: Addlocal archindebian_get_arch()to prevent variable leak underset -o allexport; remove stale commented-outdpkgline; addapt_get_cleanupcall at end ofinstall()to match the standard pattern used byfzf,starship.rs, and otherstest/opencode.ai/test.sh: Replace existence-only check withopencode --versionto catch runtime failures (missing libs, wrong binary, broken extraction)devcontainer-feature.json/ rootREADME.md: Version bump1.0.6→1.0.7Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
containers.dev/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f opencode.ai -i debian:latest .(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f opencode.ai -i ubuntu:latest . --property=Memor--noprofile ls -alF�� /var/log -collect-logs er n(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f opencode.ai -i mcr.microsoft.com/devcontainers/base:ubuntu . ocker grep -F la/TWCA_Global_Root_CA.crt 1.crt /usr/bin/grep(dns block)docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f opencode.ai -i debian:latest .(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f opencode.ai -i ubuntu:latest . --property=Memor--noprofile ls -alF�� /var/log -collect-logs er n(dns block)eastus.data.mcr.microsoft.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/devcontainer features test --skip-scenarios -f opencode.ai -i mcr.microsoft.com/devcontainers/base:ubuntu . ocker grep -F la/TWCA_Global_Root_CA.crt 1.crt /usr/bin/grep(dns block)opencode.ai/usr/bin/curl curl -fsSL REDACTED bash --no�� --noprofile(dns block)If you need me to access, download, or install something from one of these locations, you can either: