elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
20.14k stars 8.27k forks source link

[Response Ops][Task Manager] Validating task schedule interval during task claim #204241

Closed ymao1 closed 1 month ago

ymao1 commented 1 month ago

Summary

Seen in serverless and ECH logs (for 8.18-SNAPSHOT deployments):

Failed to poll for work: Invalid interval "PT1M". Intervals must be of the form {number}m. Example: 5m.

Upon investigation, it looks like 2 endpoint response tasks somehow have their schedule interval set to PT1M. Still trying to determine how this happened but this PR validates the schedule interval during the task claim process and skips claiming those tasks so the the entire polling process doesn't fail.

elasticmachine commented 1 month ago
:robot: Jobs for this PR can be triggered through checkboxes. :construction: :information_source: To trigger the CI, please tick the checkbox below :point_down: - [ ] Click to trigger **kibana-pull-request** for this PR! - [ ] Click to trigger **kibana-deploy-project-from-pr** for this PR!
elasticmachine commented 1 month ago

:green_heart: Build Succeeded

Metrics [docs]

✅ unchanged

cc @ymao1