codeant-ai-for-open-source[bot] commented on PR #37345:
URL: https://github.com/apache/superset/pull/37345#issuecomment-3787031283
## **Sequence Diagram**
Shows how custom_errors are extracted from engine specs, merged into
generated database docs, and surfaced in the UI as an "Errors" tag and a
Troubleshooting section on each database page.
```mermaid
sequenceDiagram
participant CI / Dev as Docs Generator
participant Extractor as extract_custom_errors.py
participant DatabasesJSON as databases.json
participant DocsUI as Frontend (DatabaseIndex / DatabasePage)
participant User
Docs Generator->>Extractor: Run extraction script (python) to parse
engine specs
Extractor-->>Docs Generator: JSON map of module -> custom_errors
Docs Generator->>DatabasesJSON: Merge custom_errors into each DB doc
entry
DocsUI->>DatabasesJSON: Load generated databases data (with
custom_errors)
DocsUI-->>User: Show "Errors" tag (count) in index and render
Troubleshooting section on DB page
```
---
*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]