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
[plan] Create integration test suite for agent-runner environment parity #11975
Develop a comprehensive integration test suite that validates the agent container environment has parity with the GitHub Actions runner environment for essential tools, libraries, and environment variables.
Context
As we close the gap between the agent container and the action runner, we need automated tests to verify that:
Mounted utilities are accessible and functional
Runtime tools (Python, Node.js, Go, Ruby) can be found and executed
Environment variables are correctly mirrored
Shared libraries are properly linked
Without these tests, we risk regressions and incomplete implementations.
Approach
Create a test workflow that runs inside the agent container and verifies:
Essential /usr/bin utilities are accessible (jq, curl, git, etc.)
All runtime binaries are in PATH and executable (node, python3, go, ruby)
Environment variables are set correctly (JAVA_HOME, ANDROID_HOME, etc.)
Shared libraries can be loaded (test with ldd on key binaries)
Add Go integration tests in pkg/workflow/*_test.go files
Create a smoke test workflow in .github/workflows/agent-runner-parity.md
Document the test approach in specs/agent-container-testing.md
Activity