test: add regression tests for Docker-in-Docker removal #223
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.
Add integration tests verifying Docker CLI and daemon are unavailable in agent containers after PR #205 removed Docker-in-Docker support.
Test Coverage
dockercommand not found (which dockerfails)docker runfails with "command not found" errordocker-composenot installed/var/run/docker.sockImplementation
Created
tests/integration/no-docker.test.tsfollowing existing test patterns:Known Issue
Tests currently fail against pre-built registry images (
ghcr.io/githubnext/gh-aw-firewall/agent:latest), which were built before PR #205 and still contain Docker CLI. Tests will pass once new images are published from commit8d81fe4or later.Workaround: Use
buildLocal: truetest option (currently blocked by NodeSource Node.js 22 installation issues).Verification
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.