Skip to content

[8.x] Update task state version after execution. (#215559)#216246

Merged
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-215559
Apr 2, 2025
Merged

[8.x] Update task state version after execution. (#215559)#216246
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-215559

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

This PR fixes the missing stateVersion update in the `partialUpdate`
method.

[update](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.ts#L62)
method already uses the validated task that already has the stateVersion
field.

but the `partialUpdate` misses it.

(cherry picked from commit 6373b0c)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 28, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 28, 2025 00:04
@kibanamachine kibanamachine merged commit f5f8a86 into elastic:8.x Apr 2, 2025
8 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #36 / aiops log rate analysis in cases attaches log rate analysis to a case

Metrics [docs]

✅ unchanged

History

cc @ersin-erdal

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.

3 participants