Skip to content

[One workflow](fix): suppress workflow flush errors during shutdown#272040

Open
rosomri wants to merge 2 commits into
elastic:mainfrom
rosomri:fix/workflow-shutdown-flush-signal
Open

[One workflow](fix): suppress workflow flush errors during shutdown#272040
rosomri wants to merge 2 commits into
elastic:mainfrom
rosomri:fix/workflow-shutdown-flush-signal

Conversation

@rosomri
Copy link
Copy Markdown
Contributor

@rosomri rosomri commented May 31, 2026

Summary

  • Pass the Task Manager abort signal into periodic workflow persistence flushes so shutdown-time event indexing failures use the existing best-effort path.
  • Add regression coverage that workflow log flushes receive the abort signal.

References

Closes elastic/security-team#17646

Pass the Task Manager abort signal through periodic workflow persistence flushes so shutdown-time event indexing failures use the existing best-effort path instead of logging false-positive errors.

Closes elastic/security-team#17646
@rosomri rosomri added release_note:skip Skip the PR/issue when compiling release notes Team:One Workflow Team label for One Workflow (Workflow automation) labels May 31, 2026
@rosomri rosomri marked this pull request as ready for review May 31, 2026 08:36
@rosomri rosomri requested a review from a team as a code owner May 31, 2026 08:36
@rosomri rosomri added the backport:skip This PR does not require backporting label May 31, 2026
@rosomri rosomri changed the title fix: suppress workflow flush errors during shutdown [One workflow](fix): suppress workflow flush errors during shutdown May 31, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #1 / Alerting snooze should not trigger actions when snoozed should not trigger actions when snoozed

Metrics [docs]

✅ unchanged

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:One Workflow Team label for One Workflow (Workflow automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants