[8.19] [Build] Split tasks by arch for increased parallelism (#223471)#226892
Merged
Ikuni17 merged 2 commits intoelastic:8.19from Jul 17, 2025
Merged
[8.19] [Build] Split tasks by arch for increased parallelism (#223471)#226892Ikuni17 merged 2 commits intoelastic:8.19from
Ikuni17 merged 2 commits intoelastic:8.19from
Conversation
## Summary Closes elastic/kibana-operations#110 This is a continuation of elastic#217929. Previously a `Task` created two artifacts of a specific flavor, one for `x64` and one for `ARM64`. These were still running serially, even though the `Task` itself was parallelized. This PR splits each architecture into its own `Task` so we can increase parallelism. The result is a 14% further decrease in time taken for the build step; 53 min down to 46 min. Between the two PRs, the artifact build time is reduced 57%! ### Testing https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/6413 ### Next steps - Moving the ARM artifact builds to an ARM native machine would likely see the next biggest reduction because they take 2-3 times longer than their x86 counterparts. Though this would likely be a decent amount of work. - Some of the `global` tasks could be grouped into parallel tasks, but there is some dependency between those tasks and the gains would be minimal. (cherry picked from commit b51fab2) # Conflicts: # src/dev/build/tasks/os_packages/create_os_package_tasks.ts
Contributor
Author
|
buildkite test this |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
cc @Ikuni17 |
jbudz
approved these changes
Jul 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.19:Questions ?
Please refer to the Backport tool documentation