Compare commits

...
Author SHA1 Message Date
MickLesk 07909c82e1 Paperclip: type-check the server with one checker and a Go memory limit
v2026.1202.0's server tsc (TypeScript 7, Go) sits at the 10 GB container
limit with its default four checkers and never finishes; installs since
the release fail in pnpm build. One checker with GOMEMLIMIT=6GiB builds
in under 3 minutes with an 8.3 GB peak.
2026-12-05 14:43:00 +01:00
2 changed files with 8 additions and 2 deletions

No files matched your search

+4 -1
View File
@@ -56,8 +56,11 @@ function update_script() {
msg_warn "The lockfile of this release is out of date, resolving dependencies without it"
$STD pnpm install --no-frozen-lockfile
}
# tsc 7 (Go) ignores NODE_OPTIONS; four checkers no longer fit in 10 GB, one with GOMEMLIMIT peaks at ~8 GB
sed -i 's/"compilerOptions": {/&\n "checkers": 1,/' server/tsconfig.json
export GOMEMLIMIT=6GiB
$STD pnpm build
unset NODE_OPTIONS
unset NODE_OPTIONS GOMEMLIMIT
msg_ok "Rebuilt Paperclip"
msg_info "Updating Agent CLIs"
+4 -1
View File
@@ -36,8 +36,11 @@ $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 (Go) ignores NODE_OPTIONS; four checkers no longer fit in 10 GB, one with GOMEMLIMIT peaks at ~8 GB
sed -i 's/"compilerOptions": {/&\n "checkers": 1,/' server/tsconfig.json
export GOMEMLIMIT=6GiB
$STD pnpm build
unset NODE_OPTIONS
unset NODE_OPTIONS GOMEMLIMIT
msg_ok "Built Paperclip"
msg_info "Installing Agent CLIs"