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
3 changed files with 4 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
APP="ERPNext"
var_tags="${var_tags:-erp;business;accounting}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-6144}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
+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"