codeant-ai-for-open-source[bot] commented on PR #38343:
URL: https://github.com/apache/superset/pull/38343#issuecomment-4046374651
## **Sequence Diagram**
This PR extends the assets workflow so tag metadata is included in exported
bundles and reapplied during import. Tag restoration on import is gated by the
TAGGING_SYSTEM feature flag.
```mermaid
sequenceDiagram
participant User
participant AssetsAPI
participant AssetsExport
participant AssetsImport
participant TagService
User->>AssetsAPI: Request asset export bundle
AssetsAPI->>AssetsExport: Export databases datasets charts dashboards
queries
AssetsExport->>TagService: Export tags for chart and dashboard ids
TagService-->>AssetsExport: Tag metadata files
AssetsExport-->>User: Bundle includes assets and tags
User->>AssetsAPI: Upload asset bundle for import
AssetsAPI->>AssetsImport: Import assets from bundle
AssetsImport->>AssetsImport: Create charts and dashboards
alt TAGGING_SYSTEM enabled
AssetsImport->>TagService: Apply tags from bundle to imported assets
end
AssetsImport-->>User: Import completed with tags preserved
```
---
*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]