Skip to content

ci(e2e): Run all E2E tests when CI config changes - #25391

Merged
mydea merged 1 commit into
developfrom
ci/e2e-run-all-on-ci-changes
Oct 15, 2026
Merged

mydea merged 1 commit into
developfrom
ci/e2e-run-all-on-ci-changes

Conversation

@mydea

@mydea mydea commented Oct 15, 2026

Copy link
Copy Markdown
Member

The E2E matrix only includes apps whose @sentry/* dependencies Nx marks as affected, or that changed themselves. Nx doesn't track .github/**, so a PR that only changes workflows or actions (for example how E2E apps are installed or run) gets an empty E2E matrix and never exercises its own change.

The other test jobs already handle this through changed_ci (any change under .github/). The required and optional matrix steps now drop --base in that case. getTestMatrix.mjs already returns every app without --base, as on pushes to develop. Optional apps keep their existing conditions: they still don't run on fork PRs, Dependabot PRs or release branches.

The tradeoff is that unrelated .github changes, such as CODEOWNERS, also run the full matrix. That matches how the rest of CI treats them.

🤖 Generated with Claude Code

The E2E matrix only includes apps affected according to Nx, which doesn't know
about `.github/**`. A PR that only changes workflows or actions therefore ran no
E2E tests. Like the other test jobs, the matrix now includes everything when
`changed_ci` is set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mydea
mydea added this pull request to stack #25392 October 15, 2026 11:37
@mydea
mydea marked this pull request as ready for review October 15, 2026 11:52
@mydea
mydea requested review from Lms24 and isaacs October 15, 2026 11:52

@JPeer264 JPeer264 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The mentioned tradeoffs are OK given that we would break something by accident

@mydea
mydea removed this pull request from stack #25392 October 15, 2026 11:58
@mydea
mydea added this pull request to stack #25397 October 15, 2026 11:58
@mydea
mydea removed this pull request from stack #25397 October 15, 2026 12:51
@mydea
mydea added this pull request to stack #25401 October 15, 2026 12:52
@mydea
mydea removed this pull request from stack #25401 October 15, 2026 12:55
@mydea
mydea added this pull request to stack #25405 October 15, 2026 12:55
@mydea
mydea merged commit 1b494da into develop Oct 15, 2026
389 of 390 checks passed
@mydea
mydea deleted the ci/e2e-run-all-on-ci-changes branch October 15, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants