Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Fix Storybook memory bug (#22742)
## Summary & Motivation Disable react-docgen in Storybook build, because pulling in massive generated GraphQL types is causing memory failures in CI/Vercel. ## How I Tested These Changes Add a memory-limited build command to package.json: ``` "build-storybook-limited": "NODE_OPTIONS=--max_old_space_size=2048 storybook build" ``` Run this to repro the memory failure. Kill docgen (as in the PR), rerun. Verify that the build completes correctly.
- Loading branch information
dd2c4e7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagit-storybook ready!
✅ Preview
https://dagit-storybook-leyvjn8hc-elementl.vercel.app
Built with commit dd2c4e7.
This pull request is being automatically deployed with vercel-action
dd2c4e7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagit-core-storybook ready!
✅ Preview
https://dagit-core-storybook-2yqs31t0w-elementl.vercel.app
Built with commit dd2c4e7.
This pull request is being automatically deployed with vercel-action