From 12576471b2f0d2f160cc99fcca2cab6205f9cc40 Mon Sep 17 00:00:00 2001 From: Dan Wahlin Date: Mon, 6 Apr 2026 15:23:50 -0700 Subject: [PATCH] chore: optimize devcontainer for Codespaces prebuilds - Move install commands from postCreateCommand to onCreateCommand so they are cached during prebuild, reducing codespace startup time. - Remove gh extension install for gh-copilot since gh copilot is now a built-in command in GitHub CLI v2.88.0+. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 815c26b..c0831c5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,6 +12,6 @@ ] } }, - "onCreateCommand": "pip install pytest && npm install -g @github/copilot && gh extension install github/gh-copilot", + "onCreateCommand": "pip install pytest && npm install -g @github/copilot", "postStartCommand": "echo '✅ Python, pytest, GitHub CLI, and Copilot CLI are ready. Run: cd samples/book-app-project && python book_app.py help'" }