Closed
Description
openedon Aug 27, 2024
This issue is to address cleanup needed that causes low report task success metrics due to automated testing.
Before any type of report job runs, Task Manager fires a task to the Reporting plugin, which reacts by attempting to load the report job document from the Reporting plugin's data stream. If this fails, nothing further can proceed, and in this case we can't write a specific error code anywhere because the report job document doesn't exist. We can reduce the possibility of this occurring by updating the Delete Report API to unschedule the task from task manager when a report document is deleted.
Doing this will prevent errors of this nature:
Error in finding the report from the scheduled task info!
[id: df438627-34ce-4dc8-b418-563e86252c90] [index: .ds-.kibana-reporting-2024.08.19-000001]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment