Skip to content

[9.3] [CI] Enable Jest selective testing by default on PRs (#266326)#266396

Merged
kibanamachine merged 1 commit intoelastic:9.3from
kibanamachine:backport/9.3/pr-266326
Apr 29, 2026
Merged

[9.3] [CI] Enable Jest selective testing by default on PRs (#266326)#266396
kibanamachine merged 1 commit intoelastic:9.3from
kibanamachine:backport/9.3/pr-266326

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

## Summary

Jest unit and integration test groups are filtered to affected packages
on PR builds by default. Add the GitHub label
`ci:prevent-selective-testing` to run the full Jest suite. The previous
opt-in label `ci:use-selective-testing` is removed. On-merge and other
non-PR pipelines are unchanged (`GITHUB_PR_NUMBER` unset).

> On pull request builds, Jest unit and integration test groups are
narrowed to configs under affected packages (see
`pick_test_group_run_order` in CI stats). Add the GitHub label
`ci:prevent-selective-testing` to run the full Jest suite instead.
Touching files listed in `CRITICAL_FILES_JEST_*` in `const.ts` also
skips filtering for the relevant test type.

Made with [Cursor](https://cursor.com)

(cherry picked from commit f29a9c3)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 29, 2026
@kibanamachine kibanamachine enabled auto-merge (squash) April 29, 2026 13:30
@kibanamachine
Copy link
Copy Markdown
Contributor Author

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @delanni

@kibanamachine kibanamachine merged commit f54bd4b into elastic:9.3 Apr 29, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants