codeant-ai-for-open-source[bot] commented on PR #38776:
URL: https://github.com/apache/superset/pull/38776#issuecomment-4100476177
## **Sequence Diagram**
This PR replaces mocked extension components with real contribution
registration in tests for all SQL Lab extension slots. The tests now verify end
to end wiring from registration to host rendering, command execution, and
cleanup.
```mermaid
sequenceDiagram
participant Test
participant Helpers
participant Registry
participant Host
participant Toolbar
Test->>Helpers: Register test view or toolbar action
Helpers->>Registry: Register view command and menu item
Test->>Host: Render SQL Lab host component
Host->>Registry: Load contributions for slot
Registry-->>Host: Return contributed items
Host->>Toolbar: Render contributed action buttons
Test->>Toolbar: Click contributed action
Toolbar->>Registry: Execute command callback
Test->>Helpers: Run cleanup after test
Helpers->>Registry: Dispose registrations and reset state
```
---
*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]