Commit d766fda
committed
fix(ci): give the web build a heap ceiling and repair stale typecheck filters
The `apps/pythinker-web` vite build needs just over 2 GB of old space since
the workspace file editor pulled Monaco into the production graph. macOS
runners default to a ~2053 MB ceiling, so three jobs died with exit 134:
Desktop Release's `mac` and Release's `darwin-x64` / `darwin-arm64` native
bundles. Linux and Windows runners default higher and stayed green, which is
why CI never caught it.
Setting the ceiling in the package's own build script covers every consumer —
CI, Nix, both release workflows and local builds — and stays portable, unlike
a `NODE_OPTIONS=` prefix, which cmd.exe rejects on the Windows desktop job.
Measured floor: 2048 MB fails, 2560 MB passes; the build peaks near 2.2 GB.
Separately, `pnpm --filter <name>` exits 0 when nothing matches, so three
typecheck gates had gone quietly dead: `@pymodel/dashboard-server` and
`@pymodel/dashboard-web` matched nothing after the vis rename, and
`pythinker-code` matched the CLI directory instead of the VS Code extension
(`pythinker`), leaving the extension unchecked. Resolving each filter before
running it turns a stale name back into a failure.1 parent ae4211f commit d766fda
3 files changed
Lines changed: 20 additions & 12 deletions
File tree
- .github/workflows
- apps
- pythinker-code/dist-web
- pythinker-web
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments