codeant-ai-for-open-source[bot] commented on PR #38888:
URL: https://github.com/apache/superset/pull/38888#issuecomment-4136417987

   ## **Sequence Diagram**
   
   This PR documents how scheduled alerts and reports in Superset are executed 
through Celery Beat and Celery Worker, and how resulting emails are delivered 
to a local MailHog SMTP server for easy testing.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant Superset
       participant CeleryBeat as Celery Beat
       participant CeleryWorker as Celery Worker
       participant MailHog
   
       User->>Superset: Configure alert or report with cron schedule
       CeleryBeat->>Superset: Run reports scheduler task from beat schedule
       Superset->>CeleryWorker: Enqueue report execution task
       CeleryWorker->>Superset: Execute report and generate content
       Superset->>MailHog: Send report email via SMTP settings
       User->>MailHog: Open web UI to confirm received email
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to