Commit be28e8e
# Backport
This will backport the following commits from `main` to `8.18`:
- [[Fleet] Add install retry to ensureInstalledPackage
(#224265)](#224265)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Jill
Guyonnet","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-18T12:23:47Z","message":"[Fleet]
Add install retry to ensureInstalledPackage (#224265)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/213337\n\nWhen requests to
install a package as part of the logic ensuring that a\npackage is
installed are fired concurrently, the second request fails\nwith a 409
`version_conflict_engine_exception`, which causes flakiness\nin tests.
Ignoring these errors in transform installs was already\nattempted in
#177380. This PR adds\na retry
mechanism directly into the package install to consolidate
the\nflow.\n\n### Identify risks\n\nLow probability risk of slower
package policy
creation.","sha":"62f56c884b87e953ef9d6c09e693a70691c28c09","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","backport:prev-major","v9.1.0"],"title":"[Fleet]
Add install retry to
ensureInstalledPackage","number":224265,"url":"https://github.com/elastic/kibana/pull/224265","mergeCommit":{"message":"[Fleet]
Add install retry to ensureInstalledPackage (#224265)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/213337\n\nWhen requests to
install a package as part of the logic ensuring that a\npackage is
installed are fired concurrently, the second request fails\nwith a 409
`version_conflict_engine_exception`, which causes flakiness\nin tests.
Ignoring these errors in transform installs was already\nattempted in
#177380. This PR adds\na retry
mechanism directly into the package install to consolidate
the\nflow.\n\n### Identify risks\n\nLow probability risk of slower
package policy
creation.","sha":"62f56c884b87e953ef9d6c09e693a70691c28c09"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/224265","number":224265,"mergeCommit":{"message":"[Fleet]
Add install retry to ensureInstalledPackage (#224265)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/213337\n\nWhen requests to
install a package as part of the logic ensuring that a\npackage is
installed are fired concurrently, the second request fails\nwith a 409
`version_conflict_engine_exception`, which causes flakiness\nin tests.
Ignoring these errors in transform installs was already\nattempted in
#177380. This PR adds\na retry
mechanism directly into the package install to consolidate
the\nflow.\n\n### Identify risks\n\nLow probability risk of slower
package policy
creation.","sha":"62f56c884b87e953ef9d6c09e693a70691c28c09"}}]}]
BACKPORT-->
Co-authored-by: Jill Guyonnet <[email protected]>
1 parent 0ca1e4d commit be28e8e
File tree
1 file changed
+28
-10
lines changed1 file changed
+28
-10
lines changedLines changed: 28 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
212 | 214 | | |
213 | 215 | | |
214 | 216 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
225 | 243 | | |
226 | 244 | | |
227 | 245 | | |
| |||
0 commit comments