chore: add Copilot cloud sandbox setup with hve-core-all plugin - #220
Merged
Conversation
Add .github/workflows/copilot-setup-steps.yml, .devcontainer/devcontainer.json, and .devcontainer/setup-hve-core.sh to pre-install the GitHub Copilot CLI and the hve-core-all plugin (microsoft/hve-core) for both the Copilot cloud agent sandbox and local dev containers. The plugin install is best-effort/non-fatal so environments still start if it fails. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
JoshLuedeman
enabled auto-merge (squash)
July 22, 2026 18:30
JoshLuedeman
disabled auto-merge
July 22, 2026 18:30
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.
What was added
Three files to give the GitHub Copilot cloud agent (and local dev containers) a sandbox pre-loaded with the
hve-core-allCopilot CLI plugin from microsoft/hve-core:.devcontainer/setup-hve-core.sh— shared, best-effort installer used by both the cloud sandbox and dev container. Installs@github/copilotCLI, adds themicrosoft/hve-coreplugin marketplace, installshve-core-all@hve-core, then lists installed plugins. Every step falls back to a::warning::on failure — nothing here is fatal..github/workflows/copilot-setup-steps.yml— thecopilot-setup-stepsjob Copilot cloud agent runs before starting work. Checks out the repo, sets up Node 22 and Python 3.12 (matching CI), installs frontend/backend deps (continue-on-error: true), runs the shared install script, then verifies tool versions..devcontainer/devcontainer.json— a Python 3.12 devcontainer base image with the Node 22 feature added, running the same dependency install +setup-hve-core.shviapostCreateCommand.All third-party GitHub Actions are pinned to full commit SHAs (with the version as a trailing comment), since this repo's existing workflows do not yet pin and none of them are pinned to SHAs to compare against.
Detected stack
frontend/package-lock.json)npm run build· Test:npm run test:coverage· Lint:npm run lintpyproject.toml(backend/pyproject.toml)pip install -e ".[dev]"· Test:pytest tests/ -v --cov=app --cov-fail-under=75· Lint:ruff check app/infra/main.bicep), validated in CI withaz bicep build./dev.sh up(Docker Compose: backend + frontend + SQL Server), no existing.devcontainer/.github/workflows/ci.yml,dev.sh,backend/pyproject.toml, andfrontend/package.json.hve-core-all install result: ✅ SUCCESS (no auth prompt encountered)
Ran
.devcontainer/setup-hve-core.shdirectly in this (headless, non-interactive) Ubuntu validation environment. Relevant log output:npm install -g @github/copilotstep "failed" only because the Copilot CLI binary was already present in this validation sandbox (EEXIST) — the script's non-fatal|| echo "::warning::..."handled it as designed and execution continued.copilot plugin listconfirmshve-core-all@hve-core (v3.3.101)is installed and available.GITHUB_TOKEN/auth-related failure was observed at any step in this environment. This is the key signal for the fleet rollout:hve-core-allinstalls cleanly headless when thecopilotCLI is already authenticated/available, as it is in the Copilot cloud agent sandbox.Other validation
actionlint .github/workflows/copilot-setup-steps.yml— no findings.jq empty .devcontainer/devcontainer.json— valid JSON.devcontainer buildwas not run — thedevcontainerCLI is not available in this validation environment.devcontainer.jsonwas hand-verified against the repo's stack (Python 3.12 base image + Node 22 feature) and mirrors the samesetup-hve-core.shused by the GitHub Actions workflow.Notes
continue-on-error: truein the workflow,|| echo/|| truein the script) so setup failures never prevent the sandbox or dev container from starting.