Skip to content

ci(e2e): skip E2E tests on docs-only PRs#1705

Merged
notgitika merged 2 commits into
aws:mainfrom
notgitika:ci/e2e-skip-docs-paths
Jul 8, 2026
Merged

ci(e2e): skip E2E tests on docs-only PRs#1705
notgitika merged 2 commits into
aws:mainfrom
notgitika:ci/e2e-skip-docs-paths

Conversation

@notgitika

Copy link
Copy Markdown
Contributor

Adds a paths filter to pull_request_target so E2E only runs when CLI source, e2e/browser tests, packaging manifests, vitest config, or the e2e workflows change. Docs-only PRs no longer consume a CI AWS account slot
or ~30 min runtime.

Adds a paths filter to the pull_request_target trigger so E2E tests only
run when a change can actually affect agent behavior: CLI source, e2e or
browser tests, packaging manifests, the vitest config, or the e2e
workflow files. Docs-only PRs (and other non-code changes) no longer
consume a shared CI AWS account slot or ~30 min of runtime.

Includes package-lock.json / npm-shrinkwrap.json alongside package.json
so dependency-only changes still trigger the suite.
@notgitika notgitika requested a review from a team July 8, 2026 15:00
@github-actions github-actions Bot added the size/xs PR size: XS label Jul 8, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label Jul 8, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.22.0.tgz

How to install

gh release download pr-1705-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-0.22.0.tgz

@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Jul 8, 2026

@agentcore-cli-automation agentcore-cli-automation left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sensible change overall — the paths filter cleanly excludes docs-only PRs. One gap worth addressing before merging: several files that affect what E2E actually tests aren't in the filter, so changes to them would silently skip E2E. Left an inline comment with specifics.

Comment thread .github/workflows/e2e-tests.yml
@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label Jul 8, 2026
aidandaly24
aidandaly24 previously approved these changes Jul 8, 2026
Address review: the paths filter omitted files that produce the agentcore
binary E2E installs. Add tsconfig*.json (build:lib), esbuild.config.*
(build:cli), and scripts/** (bundle/copy-assets/generate-schema plus the
check-old-cli.mjs postinstall hook). A change to any of these in isolation
would otherwise silently skip E2E.
@github-actions github-actions Bot added size/xs PR size: XS and removed size/xs PR size: XS labels Jul 8, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Jul 8, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Jul 8, 2026
@notgitika notgitika merged commit 32536fa into aws:main Jul 8, 2026
30 checks passed
@notgitika notgitika deleted the ci/e2e-skip-docs-paths branch July 8, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants