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.
: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!
Summary
Seen in serverless and ECH logs (for 8.18-SNAPSHOT deployments):
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.