codeant-ai-for-open-source[bot] commented on PR #38085:
URL: https://github.com/apache/superset/pull/38085#issuecomment-3924466824
## **Sequence Diagram**
The PR removes ForkTsCheckerWebpackPlugin from the development Webpack build
so local dev builds only transpile (via SWC). Full TypeScript checking is
performed separately by CI (npm run type / plugins:build), keeping dev builds
faster while preserving type safety in CI.
```mermaid
sequenceDiagram
participant Developer
participant WebpackDevBuild as Webpack (dev)
participant SWC
participant CI as CI pipeline (npm run type / plugins:build)
Developer->>WebpackDevBuild: start dev build (npm start)
WebpackDevBuild->>SWC: Transpile TS/JS (no ForkTsChecker)
SWC-->>WebpackDevBuild: transpiled bundles
WebpackDevBuild-->>Developer: serve HMR-enabled app (faster)
CI->>CI: run npm run plugins:build && npm run type (full type checking)
CI-->>Developer: CI reports type errors (if any)
```
---
*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]