Compare commits

...
Author SHA1 Message Date
MickLesk 8e1fef0d06 Paperclip: type-check the server with one checker so the build fits in 8 GB
Since v2026.1106.0 the server's tsc 7 run peaks at ~8.5 GB with its default
4 checkers and gets killed in an 8 GB container (exit 137, #18819).
With one checker it peaks at ~5.7 GB; the full build passes at 8 GB.
2026-11-18 00:22:45 +01:00
2 changed files with 3 additions and 0 deletions

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ function update_script() {
msg_warn "The lockfile of this release is out of date, resolving dependencies without it"
$STD pnpm install --no-frozen-lockfile
}
sed -i 's/"compilerOptions": {/&\n "checkers": 1,/' server/tsconfig.json
$STD pnpm build
unset NODE_OPTIONS
msg_ok "Rebuilt Paperclip"
+2
View File
@@ -36,6 +36,8 @@ $STD pnpm install --frozen-lockfile || {
msg_warn "The lockfile of this release is out of date, resolving dependencies without it"
$STD pnpm install --no-frozen-lockfile
}
# tsc 7 type-checks the server with 4 checkers by default and needs ~8.5 GB that way, ~5.7 GB with one
sed -i 's/"compilerOptions": {/&\n "checkers": 1,/' server/tsconfig.json
$STD pnpm build
unset NODE_OPTIONS
msg_ok "Built Paperclip"