GitHub user dosubot[bot] added a comment to the discussion: Background report generation and running new ones in background
<!-- Answer --> Superset supports background report generation and notification upon completion through its report scheduling feature. You can set up reports to be generated on a schedule and send notifications through various channels, such as email and Slack, once the report is ready. This is managed by the `ReportSchedule` class in the `superset/reports/models.py` file <sup>[[1]](https://github.com/apache/superset/blob/master/superset/reports/models.py)</sup>. For displaying progress or status updates in the UI, Superset uses a combination of polling and WebSocket connections. The system tracks the status of asynchronous events through a job ID, updating the status as the job progresses. This allows the UI to display messages like "Report in progress..." and update when the report is ready <sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/middleware/asyncEvent.ts)</sup>. These features enable users to trigger report generation from the UI and access the report once it's completed. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/dbb4394a-592a-4ceb-910e-9d36fffa8195?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/dbb4394a-592a-4ceb-910e-9d36fffa8195?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/dbb4394a-592a-4ceb-910e-9d36fffa8195?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/dbb4394a-592a-4ceb-910e-9d36fffa8195?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dbb4394a-592a-4ceb-910e-9d36fffa8195?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/dbb4394a-592a-4ceb-910e-9d36fffa8195?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dbb4394a-592a-4ceb-910e-9d36fffa8195?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33532#discussioncomment-13203313 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
