From 3f56f9c0531d7c401d8fedc0d823573458f975fd Mon Sep 17 00:00:00 2001 From: Abdurrahmaan Iqbal Date: Mon, 27 Apr 2026 11:30:27 +0100 Subject: [PATCH 1/2] Revert "Add default `copilot update` to `postStartCommand` (#1624)" This reverts commit 732822d359772cb9c7c93af0f357fe9575758dbf. --- src/copilot-cli/devcontainer-feature.json | 3 +-- src/copilot-cli/install.sh | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/copilot-cli/devcontainer-feature.json b/src/copilot-cli/devcontainer-feature.json index bfd97286c..ab433e2ae 100644 --- a/src/copilot-cli/devcontainer-feature.json +++ b/src/copilot-cli/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "copilot-cli", - "version": "1.1.2", + "version": "1.0.0", "name": "GitHub Copilot CLI", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/copilot-cli", "description": "Installs the GitHub Copilot CLI.", @@ -15,7 +15,6 @@ "description": "Select version of the GitHub Copilot CLI, if not latest." } }, - "postStartCommand": "[ -f /etc/devcontainer-copilot-cli/auto-update ] && copilot update || true", "customizations": { "vscode": { "settings": { diff --git a/src/copilot-cli/install.sh b/src/copilot-cli/install.sh index 47c2e3aca..7250fa642 100755 --- a/src/copilot-cli/install.sh +++ b/src/copilot-cli/install.sh @@ -80,9 +80,3 @@ echo "Downloading GitHub Copilot CLI..." install_using_github -# Create a flag file if using "latest" or "prerelease" so the postStartCommand knows to auto-update -if [ "${CLI_VERSION}" = "latest" ] || [ "${CLI_VERSION}" = "prerelease" ]; then - mkdir -p /etc/devcontainer-copilot-cli - touch /etc/devcontainer-copilot-cli/auto-update -fi - From 1ae8d2135c0dc7c0e9f46ed927beb5e3783f3813 Mon Sep 17 00:00:00 2001 From: Abdurrahmaan Iqbal Date: Mon, 27 Apr 2026 11:31:29 +0100 Subject: [PATCH 2/2] Update version of GitHub Copilot CLI to 1.2.0 --- src/copilot-cli/devcontainer-feature.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copilot-cli/devcontainer-feature.json b/src/copilot-cli/devcontainer-feature.json index ab433e2ae..922523e41 100644 --- a/src/copilot-cli/devcontainer-feature.json +++ b/src/copilot-cli/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "copilot-cli", - "version": "1.0.0", + "version": "1.2.0", "name": "GitHub Copilot CLI", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/copilot-cli", "description": "Installs the GitHub Copilot CLI.",