Skip to content

feat(NA): add support for p75 durations on pick test group bin packing from ci-stats#253862

Merged
mistic merged 4 commits intoelastic:mainfrom
mistic:use-p75-for-ci-stats-pick-groups
Feb 19, 2026
Merged

feat(NA): add support for p75 durations on pick test group bin packing from ci-stats#253862
mistic merged 4 commits intoelastic:mainfrom
mistic:use-p75-for-ci-stats-pick-groups

Conversation

@mistic
Copy link
Copy Markdown
Contributor

@mistic mistic commented Feb 19, 2026

Depends on https://github.com/elastic/kibana-ci-stats/pull/1009

This PR adds durationPercentile: 75 to the ci stats pickTestGroupRunOrder request. This tells ci stats to use the p75 of the last 5 runs (instead of the single most-recent run) when estimating config durations for bin-packing. Requires the corresponding ci-stats server change to be deployed first. If no param is provided, legacy continues to be used.

@mistic mistic self-assigned this Feb 19, 2026
@mistic mistic marked this pull request as ready for review February 19, 2026 01:07
@mistic mistic requested a review from a team as a code owner February 19, 2026 01:07
@mistic mistic added chore Team:Operations Kibana-Operations Team release_note:skip Skip the PR/issue when compiling release notes backport:all-open Backport to all branches that could still receive a release v9.4.0 labels Feb 19, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@mistic mistic requested a review from jbudz February 19, 2026 01:09
@mistic mistic requested a review from Ikuni17 February 19, 2026 03:41
@elastic elastic deleted a comment from elasticmachine Feb 19, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @mistic

@mistic mistic merged commit 67284e0 into elastic:main Feb 19, 2026
15 of 16 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.2, 9.3

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 19, 2026
…g from ci-stats (elastic#253862)

Depends on elastic/kibana-ci-stats#1009

This PR adds durationPercentile: 75 to the ci stats
pickTestGroupRunOrder request. This tells ci stats to use the p75 of the
last 5 runs (instead of the single most-recent run) when estimating
config durations for bin-packing. Requires the corresponding ci-stats
server change to be deployed first. If no param is provided, legacy
continues to be used.

(cherry picked from commit 67284e0)
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts
9.3

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 253862

Questions ?

Please refer to the Backport tool documentation

mistic added a commit to mistic/kibana that referenced this pull request Feb 19, 2026
…g from ci-stats (elastic#253862)

Depends on elastic/kibana-ci-stats#1009

This PR adds durationPercentile: 75 to the ci stats
pickTestGroupRunOrder request. This tells ci stats to use the p75 of the
last 5 runs (instead of the single most-recent run) when estimating
config durations for bin-packing. Requires the corresponding ci-stats
server change to be deployed first. If no param is provided, legacy
continues to be used.

(cherry picked from commit 67284e0)

# Conflicts:
#	.buildkite/pipeline-utils/ci-stats/pick_test_group_run_order.ts
mistic added a commit to mistic/kibana that referenced this pull request Feb 19, 2026
…g from ci-stats (elastic#253862)

Depends on elastic/kibana-ci-stats#1009

This PR adds durationPercentile: 75 to the ci stats
pickTestGroupRunOrder request. This tells ci stats to use the p75 of the
last 5 runs (instead of the single most-recent run) when estimating
config durations for bin-packing. Requires the corresponding ci-stats
server change to be deployed first. If no param is provided, legacy
continues to be used.

(cherry picked from commit 67284e0)

# Conflicts:
#	.buildkite/pipeline-utils/ci-stats/pick_test_group_run_order.ts
@mistic
Copy link
Copy Markdown
Contributor Author

mistic commented Feb 19, 2026

💚 All backports created successfully

Status Branch Result
9.2
8.19

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 Feb 19, 2026
…packing from ci-stats (#253862) (#253892)

# Backport

This will backport the following commits from `main` to `9.3`:
- [feat(NA): add support for p75 durations on pick test group bin
packing from ci-stats
(#253862)](#253862)

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

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2026-02-19T06:16:20Z","message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v9.4.0"],"title":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats","number":253862,"url":"https://github.com/elastic/kibana/pull/253862","mergeCommit":{"message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253862","number":253862,"mergeCommit":{"message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb"}}]}] BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
chrisbmar pushed a commit to chrisbmar/kibana that referenced this pull request Feb 19, 2026
…g from ci-stats (elastic#253862)

Depends on elastic/kibana-ci-stats#1009

This PR adds durationPercentile: 75 to the ci stats
pickTestGroupRunOrder request. This tells ci stats to use the p75 of the
last 5 runs (instead of the single most-recent run) when estimating
config durations for bin-packing. Requires the corresponding ci-stats
server change to be deployed first. If no param is provided, legacy
continues to be used.
mistic added a commit that referenced this pull request Feb 19, 2026
…packing from ci-stats (#253862) (#253893)

# Backport

This will backport the following commits from `main` to `9.2`:
- [feat(NA): add support for p75 durations on pick test group bin
packing from ci-stats
(#253862)](#253862)

<!--- Backport version: 10.2.0 -->

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2026-02-19T06:16:20Z","message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v9.4.0"],"title":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats","number":253862,"url":"https://github.com/elastic/kibana/pull/253862","mergeCommit":{"message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253862","number":253862,"mergeCommit":{"message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb"}},{"url":"https://github.com/elastic/kibana/pull/253892","number":253892,"branch":"9.3","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
mistic added a commit that referenced this pull request Feb 19, 2026
… packing from ci-stats (#253862) (#253894)

# Backport

This will backport the following commits from `main` to `8.19`:
- [feat(NA): add support for p75 durations on pick test group bin
packing from ci-stats
(#253862)](#253862)

<!--- Backport version: 10.2.0 -->

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2026-02-19T06:16:20Z","message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v9.4.0"],"title":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats","number":253862,"url":"https://github.com/elastic/kibana/pull/253862","mergeCommit":{"message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253862","number":253862,"mergeCommit":{"message":"feat(NA):
add support for p75 durations on pick test group bin packing from
ci-stats (#253862)\n\nDepends on
https://github.com/elastic/kibana-ci-stats/pull/1009\n\nThis PR adds
durationPercentile: 75 to the ci stats\npickTestGroupRunOrder request.
This tells ci stats to use the p75 of the\nlast 5 runs (instead of the
single most-recent run) when estimating\nconfig durations for
bin-packing. Requires the corresponding ci-stats\nserver change to be
deployed first. If no param is provided, legacy\ncontinues to be
used.","sha":"67284e0141691845af8b0fc5378039bb63f7bdfb"}},{"url":"https://github.com/elastic/kibana/pull/253892","number":253892,"branch":"9.3","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
ersin-erdal pushed a commit to ersin-erdal/kibana that referenced this pull request Feb 19, 2026
…g from ci-stats (elastic#253862)

Depends on elastic/kibana-ci-stats#1009

This PR adds durationPercentile: 75 to the ci stats
pickTestGroupRunOrder request. This tells ci stats to use the p75 of the
last 5 runs (instead of the single most-recent run) when estimating
config durations for bin-packing. Requires the corresponding ci-stats
server change to be deployed first. If no param is provided, legacy
continues to be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release chore release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v8.19.12 v9.2.6 v9.3.1 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants