aws / aws/agentcore-cli

Allow selecting an exact E2E test for PR workflows

Open
#1,816 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
283
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
183

Description

### Problem

The PR E2E workflow always runs its baseline suites plus changed E2E files. Maintainers cannot manually target one E2E
file or one exact test against a PR head, which makes focused verification slower and more expensive.

### Proposed behavior

Add manual workflow inputs that:

- Check out a specified PR head.
- Select one tracked `e2e-tests/**/*.test.ts` file.
- Optionally select the exact test declared at a source line or match a Vitest test-name pattern.
- Preserve the existing automatic PR behavior when no selector is provided.
- Validate all user-provided selectors before invoking Vitest.

Contributor guide

Open the contributing guide

Research direction

Start with the PR E2E workflow and its existing baseline and changed-file behavior. Trace how the workflow checks out a PR head and invokes Vitest, then add and validate inputs for one tracked e2e-tests/**/*.test.ts file, an optional source line, or a test-name pattern. Done means selectors are rejected before Vitest and empty inputs preserve automatic PR runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.