Skip to content

Add tags for the query so the search is scoped within the test#236706

Merged
fkanout merged 3 commits into
elastic:mainfrom
fkanout:231522-fix-slo-find-flaky
Oct 10, 2025
Merged

Add tags for the query so the search is scoped within the test#236706
fkanout merged 3 commits into
elastic:mainfrom
fkanout:231522-fix-slo-find-flaky

Conversation

@fkanout
Copy link
Copy Markdown
Contributor

@fkanout fkanout commented Sep 29, 2025

Summary

It fixes #231522 by adding tags to the SLO query and narrowing down the selection to match only the SLO created within the test. That avoids any potential interference with other tests OR the racing conditions (the flakiness is unreproducible locally).

@github-actions github-actions Bot added the author:obs-ux-management PRs authored by the obs ux management team label Sep 29, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#9388

[✅] x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.serverless.config.ts: 25/25 tests passed.

see run history

@fkanout fkanout self-assigned this Sep 29, 2025
@fkanout fkanout added release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v9.2.0 labels Sep 29, 2025
@fkanout fkanout marked this pull request as ready for review September 29, 2025 10:55
@fkanout fkanout requested a review from a team as a code owner September 29, 2025 10:55
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@fkanout fkanout added Feature:SLO backport:all-open Backport to all branches that could still receive a release labels Sep 29, 2025
Copy link
Copy Markdown
Contributor

@baileycash-elastic baileycash-elastic left a comment

Choose a reason for hiding this comment

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

if it fits it ships!

@fkanout fkanout enabled auto-merge (squash) October 10, 2025 11:44
@fkanout fkanout merged commit 02e7114 into elastic:main Oct 10, 2025
12 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.18, 8.19, 9.0, 9.1, 9.2

https://github.com/elastic/kibana/actions/runs/18406758027

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @fkanout

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 10, 2025
…ic#236706)

## Summary

It fixes elastic#231522 by adding tags to the SLO query and narrowing down the
selection to match only the SLO created within the test. That avoids any
potential interference with other tests OR the racing conditions (the
flakiness is unreproducible locally).

(cherry picked from commit 02e7114)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 10, 2025
…ic#236706)

## Summary

It fixes elastic#231522 by adding tags to the SLO query and narrowing down the
selection to match only the SLO created within the test. That avoids any
potential interference with other tests OR the racing conditions (the
flakiness is unreproducible locally).

(cherry picked from commit 02e7114)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 10, 2025
…ic#236706)

## Summary

It fixes elastic#231522 by adding tags to the SLO query and narrowing down the
selection to match only the SLO created within the test. That avoids any
potential interference with other tests OR the racing conditions (the
flakiness is unreproducible locally).

(cherry picked from commit 02e7114)
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
8.18 Backport failed because of merge conflicts
8.19
9.0 Backport failed because of merge conflicts
9.1
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 236706

Questions ?

Please refer to the Backport tool documentation

@fkanout fkanout added backport:version Backport to applied version labels and removed backport:all-open Backport to all branches that could still receive a release labels Oct 10, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 9.2

https://github.com/elastic/kibana/actions/runs/18407721092

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 10, 2025
…ic#236706)

## Summary

It fixes elastic#231522 by adding tags to the SLO query and narrowing down the
selection to match only the SLO created within the test. That avoids any
potential interference with other tests OR the racing conditions (the
flakiness is unreproducible locally).

(cherry picked from commit 02e7114)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 10, 2025
…236706) (#238443)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Add tags for the query so the search is scoped within the test
(#236706)](#236706)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-10-10T12:38:57Z","message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Feature:SLO","Team:obs-ux-management","author:obs-ux-management","v9.2.0","v9.3.0"],"title":"Add
tags for the query so the search is scoped within the
test","number":236706,"url":"https://github.com/elastic/kibana/pull/236706","mergeCommit":{"message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236706","number":236706,"mergeCommit":{"message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d"}}]}]
BACKPORT-->

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
kibanamachine added a commit that referenced this pull request Oct 10, 2025
…#236706) (#238441)

# Backport

This will backport the following commits from `main` to `8.19`:
- [Add tags for the query so the search is scoped within the test
(#236706)](#236706)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-10-10T12:38:57Z","message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Feature:SLO","Team:obs-ux-management","author:obs-ux-management","v9.2.0","v9.3.0"],"title":"Add
tags for the query so the search is scoped within the
test","number":236706,"url":"https://github.com/elastic/kibana/pull/236706","mergeCommit":{"message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236706","number":236706,"mergeCommit":{"message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d"}}]}]
BACKPORT-->

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
kibanamachine added a commit that referenced this pull request Oct 10, 2025
…236706) (#238444)

# Backport

This will backport the following commits from `main` to `9.2`:
- [Add tags for the query so the search is scoped within the test
(#236706)](#236706)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-10-10T12:38:57Z","message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Feature:SLO","Team:obs-ux-management","author:obs-ux-management","v9.2.0","v9.3.0"],"title":"Add
tags for the query so the search is scoped within the
test","number":236706,"url":"https://github.com/elastic/kibana/pull/236706","mergeCommit":{"message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236706","number":236706,"mergeCommit":{"message":"Add
tags for the query so the search is scoped within the test
(#236706)\n\n## Summary\n\nIt fixes #231522 by adding tags to the SLO
query and narrowing down the\nselection to match only the SLO created
within the test. That avoids any\npotential interference with other
tests OR the racing conditions (the\nflakiness is unreproducible
locally).","sha":"02e7114e303492135b4967f5033a5c5e33f7dd5d"}}]}]
BACKPORT-->

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
rylnd pushed a commit to rylnd/kibana that referenced this pull request Oct 17, 2025
…ic#236706)

## Summary

It fixes elastic#231522 by adding tags to the SLO query and narrowing down the
selection to match only the SLO created within the test. That avoids any
potential interference with other tests OR the racing conditions (the
flakiness is unreproducible locally).
nickpeihl pushed a commit to nickpeihl/kibana that referenced this pull request Oct 23, 2025
…ic#236706)

## Summary

It fixes elastic#231522 by adding tags to the SLO query and narrowing down the
selection to match only the SLO created within the test. That avoids any
potential interference with other tests OR the racing conditions (the
flakiness is unreproducible locally).
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Oct 27, 2025
…ic#236706)

## Summary

It fixes elastic#231522 by adding tags to the SLO query and narrowing down the
selection to match only the SLO created within the test. That avoids any
potential interference with other tests OR the racing conditions (the
flakiness is unreproducible locally).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:obs-ux-management PRs authored by the obs ux management team backport:version Backport to applied version labels Feature:SLO release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v8.19.6 v9.1.6 v9.2.0 v9.3.0

Projects

None yet

4 participants