Skip to content

[9.2] [ResponseOps] Split alerting security_and_spaces group8 FTR config to fix CI timeout (#260029)#261147

Merged
steliosmavro merged 1 commit intoelastic:9.2from
steliosmavro:backport/9.2/pr-260029
Apr 3, 2026
Merged

[9.2] [ResponseOps] Split alerting security_and_spaces group8 FTR config to fix CI timeout (#260029)#261147
steliosmavro merged 1 commit intoelastic:9.2from
steliosmavro:backport/9.2/pr-260029

Conversation

@steliosmavro
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

… fix CI timeout (elastic#260029)

## Summary

`security_and_spaces/group8` had 262 tests taking ~40 minutes. With ~10
minutes of step overhead this consistently exceeded the 50-minute
Buildkite timeout — all tests passed but the step was killed during
post-test cleanup, triggering 3 automatic retries and wasting ~236
minutes of CI time per affected PR.

Split into two groups targeting ~20 minutes each, with minor test
quality fixes along the way.

## Changes

- **group8** — 5 `it` blocks: return rules with gaps, ordering
(asc/desc), filter by gap status, filter by aggregated status
- **group17** (new) — 5 `it` blocks: deleted rule, empty results, latest
gap timestamp, no timestamp when no gaps, invalid params
- Registered `group17` in `.buildkite/ftr_platform_stateful_configs.yml`
and `.github/CODEOWNERS`
- Replaced inline `if` auth guard with a consistent `switch` pattern
matching the rest of the file
- Split "filter by gap status" `it` block into separate `unfilled` and
`filled` assertions

(cherry picked from commit 37a00eb)

# Conflicts:
#	.buildkite/ftr_platform_stateful_configs.yml
#	.github/CODEOWNERS
#	x-pack/platform/test/alerting_api_integration/security_and_spaces/group8/tests/alerting/gap/get_rules_with_gaps.ts
@steliosmavro steliosmavro merged commit 1528b12 into elastic:9.2 Apr 3, 2026
19 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