Skip to content

Conversation

@nikitaindik
Copy link
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…34930)

**Resolves: elastic#232644

This PR splits long-running API integration and Jest configs into
smaller configs to reduce overall runtime.
We can’t rely on Buildkite’s `parallelism` parameter here, since it’s
only works for Cypress steps.

## Changes
- **API Integration tests**
  - Split the prebuilt rules config into 3 smaller configs.

- **Rule Upgrade Field Tests (Jest)**
- Merged `common_fields` and `type_specific_fields` dirs into a single
`fields` directory.
  - Replaced 2 configs with 4 smaller ones.
- Implemented round-robin logic to evenly distribute tests across the 4
configs.
- **Alternative**: manually distribute tests into numbered directories.
      - *Pros*: simpler setup.
- *Cons*: requires deciding where each new test should live when adding
new fields.
- Reviewers, tell me if adding this distribution logic is an overkill in
your opinion.

(cherry picked from commit 928d4b2)

# Conflicts:
#	x-pack/solutions/security/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/customization_enabled/index.ts
@nikitaindik nikitaindik added the backport This PR is a backport of another PR label Sep 18, 2025
@nikitaindik nikitaindik enabled auto-merge (squash) September 18, 2025 13:59
@nikitaindik nikitaindik merged commit 77a6655 into elastic:8.19 Sep 18, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
securitySolution 87 88 +1

Total ESLint disabled count

id before after diff
securitySolution 696 697 +1

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.

3 participants