[9.4](backport #52005) [beatreceiver][packetbeat] Delegate shutdown_timeout logic to libbeat - #52266
[9.4](backport #52005) [beatreceiver][packetbeat] Delegate shutdown_timeout logic to libbeat#52266mergify[bot] wants to merge 2 commits into
Conversation
|
Cherry-pick of 663f454 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
🤖 GitHub commentsJust comment with:
|
|
Pinging @elastic/sec-linux-platform (Team:Security-Linux Platform) |
|
This pull request has not been merged yet. Could you please review and merge it @khushijain21? 🙏 |
TL;DRThe Buildkite failure is caused by unresolved cherry-pick conflict markers in Remediation
Investigation detailsRoot CauseThe backport commit could not be cleanly applied. The PR diff still contains conflict markers at Evidence
VerificationThe failure is directly confirmed by both independent CI steps; no additional tests were run because the source does not parse until the conflicts are resolved. What is this? | From workflow: PR Buildkite Detective Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
Adapt #52005 to 9.4 by adding Beat.ShutdownTimeout for the beater assignment and switching the processor flush wait to publish_timeout, without pulling main-only logger changes. Assisted-By: Composer Co-authored-by: Cursor <cursoragent@cursor.com>
|
Resolved the cherry-pick conflicts and pushed. 9.4 adaptation: Packetbeat beater/config compile cleanly locally. |
TL;DRThe Remediation
Investigation detailsRoot CauseThe failure is a code-quality gate on the backport commit, not a runner or dependency failure. The same four findings are emitted by golangci-lint v2.12.2 on all three runners. The PR head contains the flagged patterns: global logging in Evidence
ValidationNo tests were run; this was a read-only workflow-log investigation. The three platform jobs independently reported the same four findings. Follow-upAfter applying the changes, rerun the What is this? | From workflow: PR Actions Detective Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
|
This PR requires backport of #51136. Which is not planned. Hence closing this PR |
Proposed commit message
This PR delegates
shutdown_timeoutlogic to libbeat. It stays consistent with how other beats also handle the same.This is also required so that we do not wait for
shutdown_timeoutperiod every time the config is validated hereChecklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.Disruptive User Impact
None
Will also close #52031
This is an automatic backport of pull request #52005 done by Mergify.