원클릭으로
run-e2e
Run E2E tests locally using the new-e2e framework with Pulumi-based infrastructure
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run E2E tests locally using the new-e2e framework with Pulumi-based infrastructure
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate the Agent Supply Chain newsletter by researching team activity on GitHub and Confluence, then creating a Confluence draft and Gmail draft
Give your AI agents something more useful than a prompt. Velocity through clarity.
Extract an Allium specification from an existing codebase. Use when the user has existing code and wants to distil behaviour into a spec, reverse engineer a specification from implementation, generate a spec from code, turn implementation into a behavioural specification, or document what a codebase does in Allium terms.
Run a structured discovery session to build an Allium specification through conversation. Use when the user wants to create a new spec from scratch, elicit or gather requirements, capture domain behaviour, specify a feature or system, define what a system should do, or is describing functionality and needs help shaping it into a specification.
Generate tests from Allium specifications. Use when the user wants to propagate tests, generate test files from a spec, write tests for a specification, create property-based tests, produce state machine tests, check test coverage against spec obligations, or understand what tests a specification requires.
Autonomously work on Jira backlog tickets, creating PRs and shepherding them to merge
| name | run-e2e |
| description | Run E2E tests locally using the new-e2e framework with Pulumi-based infrastructure |
| allowed-tools | Bash, Read, Glob, Grep |
| argument-hint | <test-path-or-name> [--run TestName] [--keep-stack] [--configparams key=value] |
| model | sonnet |
Run E2E tests from test/new-e2e/tests/ using dda inv new-e2e-tests.run.
Parse $ARGUMENTS to determine what to run. The user may provide:
windows/install-test, agent-platform/upgrade, containers)TestInstall, TestUpgrade)Resolve the test target:
test/new-e2e/ to targets, so targets must be relative to that directory (e.g., ./tests/agent-subcommands/flare, NOT ./test/new-e2e/tests/...)agent-subcommands/flare, use ./tests/agent-subcommands/flare as --targetstest/new-e2e/tests/ using Glob, then strip the test/new-e2e/ prefix for the targetTest), find which package contains it using Grep under test/new-e2e/tests/, then set --targets to the package path (relative to test/new-e2e/) and --run to the test nameBuild the command:
dda inv new-e2e-tests.run --targets=./tests/<path> [flags]
IMPORTANT: --targets paths are relative to test/new-e2e/. Do NOT include test/new-e2e/ in the target path.
Supported flags (pass through from $ARGUMENTS):
--run <regex> — Only run tests matching this regex--skip <regex> — Skip tests matching this regex--keep-stack — Keep infrastructure up after test (for debugging)--configparams <key=value> — Override Pulumi ConfigMap parameters--agent-image <image:tag> — Use a specific agent image--cluster-agent-image <image:tag> — Use a specific cluster agent image--stack-name-suffix <suffix> — Add suffix to stack name (useful for stuck stacks)--verbose / --no-verbose — Toggle verbose output (default: verbose)--max-retries <n> — Retry failed tests up to n times--flavor <flavor> — Package flavor (e.g., "datadog-agent")--cache — Enable test cache (disabled by default)Before running, confirm the full command with the user.
Run the command with a 60-minute timeout (infrastructure provisioning can take a while). Use run_in_background for the Bash tool since e2e tests are long-running.
After completion, summarize the results: which tests passed, which failed, and any useful error output.
The following must be configured before running e2e tests:
pulumi CLI installed~/.test_infra_config.yaml exists with proper configurationIf any prerequisite is missing, inform the user what needs to be set up.
Tests are organized under test/new-e2e/tests/, running ls test/new-e2e/tests should give the list of test packages
If the test was previously executed and that the infra is in a weird state, that Pulumi is not aware of, trying to rerun the test with the same stack can lead to strange error, like resource being replaced, while they should not exist at all yet. To avoid that issue it is possible to execute the test with a stack with a different name, using --stack-name-suffix , please use short stack name suffix. Stop the execution early when you detect that issue in the logs
# Run all tests in a directory
dda inv new-e2e-tests.run --targets=./tests/windows/install-test
# Run a specific test
dda inv new-e2e-tests.run --targets=./tests/agent-platform/tests/upgrade --run TestUpgrade
# Keep stack for debugging
dda inv new-e2e-tests.run --targets=./tests/containers --run TestContainerLinux --keep-stack
# Run with specific agent image
dda inv new-e2e-tests.run --targets=./tests/agent-platform/tests --agent-image "my-registry/agent:latest"
# Run with stack name suffix
dda inv new-e2e-tests.run --targets=./tests/windows/install-test --stack-name-suffix 2
## Usage
- `/run-e2e windows/install-test` — Run all Windows install tests
- `/run-e2e windows/install-test --run TestInstall` — Run only TestInstall
- `/run-e2e TestUpgrade` — Auto-find and run TestUpgrade
- `/run-e2e agent-platform --keep-stack` — Run with stack kept alive
## Output
Show the user the full command before running, then report test results when done.