codeant-ai-for-open-source[bot] commented on PR #38880:
URL: https://github.com/apache/superset/pull/38880#issuecomment-4133301897
## **Sequence Diagram**
This PR changes the dashboard screenshot caching endpoint so that
download-triggered screenshots default to force true, ensuring that image and
PDF downloads always generate fresh screenshots with current dashboard data
instead of using cached thumbnails.
```mermaid
sequenceDiagram
participant User
participant DashboardUI as Dashboard UI
participant API as Dashboard API
participant Worker as Screenshot Worker
User->>DashboardUI: Click download dashboard as image or pdf
DashboardUI->>API: Request dashboard screenshot
API->>API: Build screenshot state and set force true
API->>Worker: Enqueue screenshot job with force true
Worker-->>API: Generate fresh screenshot
API-->>DashboardUI: Respond accepted for screenshot generation
```
---
*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]