You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(devcontainer): post-create and post-start tests start no real installer, uv sync, kubectl or sudo #1731
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/testType test: a new or changed test
Split from #1725 (CI time budget), so that this row is one issue delivered by one pull request.
Friction
The devcontainer post-create and post-start tests start real programs:
Installers: on the GitHub runner, which has no claude, four post-create tests run Claude Code's real installer, a 276 MB download, on every CI run.
uv: the instruction-generator test also syncs semgrep and bandit from PyPI with uv.
kubectl: four post-start tests ask a real kubectl for the kubeconfig's contexts, because the unset context defaults to minikube.
sudo:test_ensure_path_ownership_and_mount_edge_cases runs a real sudo chown -R None:1000, because it sets os.getuid to return None instead of removing it.
Evidence
On the runner:test_devcontainer_post_create_scaffolds_agent_instructions takes 16.9s. The post_create, setup_volume and run_lifecycle tests of TestDevcontainerCli take 13.0s, 12.8s and 12.0s.
Runner-like PATH: post_create took 19.4s, of which the installer was 19.3s.
Remedy
The tests answer post-create's programs as installed, pass --skip-tools where they don't test tool installation, name no Kubernetes context where they don't assert on the context step, and test a missing getuid by removing it. Every assertion stays.
Acceptance criteria
None of these tests starts an installer, uv, kubectl or sudo. A per-test spawn probe confirms it.
Each of them takes under 1s on a runner-like PATH.
Stops the devcontainer post-create and post-start tests from running real installers, a uv sync, kubectl and sudo. These are among the slowest tests on the GitHub runner. This row was split from #1725's CI time budget.
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/testType test: a new or changed test
Activity
test(devcontainer): the ownership test removes getuid instead of runn…
test(devcontainer): post-create and post-start tests start no real in…
dan-petty commentedon Oct 20, 2026
What changed
#1730, merged into
release/v0.2.38as e0618b7.4 file(s) changed.
How it was verified
Check runs at d998c94:
Acceptance Criteria of
docs/agent/tasks/task-1731-devcontainer-tests-start-no-real-programs.md:No Acceptance Criteria section.
feat(release): v0.2.38 (#1799)
feat(release): v0.2.38 (#1798)