From 853b6b6172b15d78455c4005e6870740299e6a20 Mon Sep 17 00:00:00 2001 From: rhiroe Date: Fri, 18 Sep 2026 10:32:09 +0900 Subject: [PATCH 1/2] fix(github-cli): remove github/gh-copilot from extension install test gh v2.101.0 bundles Copilot as a built-in command, so 'gh extension install github/gh-copilot' now always fails with "copilot" matches the name of a built-in command or alias. --- src/github-cli/README.md | 2 +- src/github-cli/devcontainer-feature.json | 2 +- test/github-cli/install_extensions.sh | 3 +-- test/github-cli/scenarios.json | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/github-cli/README.md b/src/github-cli/README.md index 0da722f69..fa2a38819 100644 --- a/src/github-cli/README.md +++ b/src/github-cli/README.md @@ -16,7 +16,7 @@ Installs the GitHub CLI. Auto-detects latest version and installs needed depende | -------------------------------- | --------------------------------------------------------------------------------------------------- | ------- | ------------- | | version | Select version of the GitHub CLI, if not latest. | string | latest | | installDirectlyFromGitHubRelease | - | boolean | true | -| extensions | Comma-separated list of GitHub CLI extensions to install (e.g. 'dlvhdr/gh-dash,github/gh-copilot'). | string | | +| extensions | Comma-separated list of GitHub CLI extensions to install (e.g. 'dlvhdr/gh-dash,github/gh-aw'). | string | | ## OS Support diff --git a/src/github-cli/devcontainer-feature.json b/src/github-cli/devcontainer-feature.json index 9b7f51e89..8de4277fd 100644 --- a/src/github-cli/devcontainer-feature.json +++ b/src/github-cli/devcontainer-feature.json @@ -21,7 +21,7 @@ "extensions": { "type": "string", "default": "", - "description": "Comma-separated list of GitHub CLI extensions to install (e.g. 'dlvhdr/gh-dash,github/gh-copilot')." + "description": "Comma-separated list of GitHub CLI extensions to install (e.g. 'dlvhdr/gh-dash,github/gh-aw')." } }, "customizations": { diff --git a/test/github-cli/install_extensions.sh b/test/github-cli/install_extensions.sh index 1538ff3f2..d5b302afd 100644 --- a/test/github-cli/install_extensions.sh +++ b/test/github-cli/install_extensions.sh @@ -8,8 +8,7 @@ source dev-container-features-test-lib check "gh-version" gh --version check "gh-extension-installed" gh extension list | grep -q 'dlvhdr/gh-dash' -check "gh-extension-installed-2" gh extension list | grep -q 'github/gh-copilot' -check "gh-extension-installed-3" gh extension list | grep -q 'github/gh-aw' +check "gh-extension-installed-2" gh extension list | grep -q 'github/gh-aw' check "gh-aw-runs" gh aw version # Report result diff --git a/test/github-cli/scenarios.json b/test/github-cli/scenarios.json index c6dc2350e..dd7766ddb 100644 --- a/test/github-cli/scenarios.json +++ b/test/github-cli/scenarios.json @@ -31,7 +31,7 @@ "features": { "github-cli": { "version": "latest", - "extensions": "dlvhdr/gh-dash,github/gh-copilot,github/gh-aw" + "extensions": "dlvhdr/gh-dash,github/gh-aw" } } } From 4b0a9c74ff3061258dfb9b9fd73b4f577760caae Mon Sep 17 00:00:00 2001 From: rhiroe Date: Fri, 18 Sep 2026 10:32:31 +0900 Subject: [PATCH 2/2] chore(github-cli): bump feature version to 1.1.3 --- src/github-cli/devcontainer-feature.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github-cli/devcontainer-feature.json b/src/github-cli/devcontainer-feature.json index 8de4277fd..d4d8dbb7c 100644 --- a/src/github-cli/devcontainer-feature.json +++ b/src/github-cli/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "github-cli", - "version": "1.1.2", + "version": "1.1.3", "name": "GitHub CLI", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/github-cli", "description": "Installs the GitHub CLI. Auto-detects latest version and installs needed dependencies.",