Repro repository for GitHub Copilot cloud agent behavior with job containers. The repo now also carries its own build/test container definition so the setup is not hidden behind another repository's GHCR image.
This repository isolates one question:
- Does a Copilot cloud agent session show live session output when
.github/workflows/copilot-setup-steps.ymluses a real jobcontainer:?
It also contains:
- a repo-local GHCR build workflow for the container image used by the repro
- a normal Actions workflow using the same container so regular Actions logs can be compared against Copilot session logs
Detailed background, observed behavior, tested hypotheses, and next steps are captured in docs/copilot-container-log-investigation.md.
.github/workflows/ghcr-build-test-container.ymlBuilds and optionally pushesghcr.io/emmtrix/agent-test-build-testfromdocker/build-test-container/..github/workflows/copilot-setup-steps.ymlCopilot setup workflow usingcontainer: ghcr.io/emmtrix/agent-test-build-test:latest..github/workflows/container-smoke.ymlNormal Actions workflow using the same runner and container.
- Start a Copilot coding agent session against this repository.
- Ask the agent to make a tiny visible change such as adding one line to
notes.txt. - Check whether the Copilot session UI shows live output.
- Compare that with the normal Actions run logs from
container-smoke.yml.
- build definition lives in
docker/build-test-container/ - GHCR image name:
ghcr.io/emmtrix/agent-test-build-test - Copilot workflow uses
ubuntu-latestplus the repo-owned image - normal Actions smoke test also uses
ubuntu-latestplus the same repo-owned image
This keeps the image definition inside the repro so container changes can be tracked and rebuilt from this repository alone.