diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 749c31016..159813df8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -438,10 +438,10 @@ jobs: - name: Lint # Errors fail, and the warnings per rule may not pass # scripts/eslint-baseline.json (src, tests and eslint-disable'd - # messages counted apart). Type-aware rules build the src + tests - # program, which outgrows Node's default ~4 GB heap on the runner. + # messages counted apart). The typed src and test programs can exhaust + # an 8 GiB heap. Leave headroom within the runner's 16 GB of RAM. env: - NODE_OPTIONS: --max-old-space-size=8192 + NODE_OPTIONS: --max-old-space-size=10240 TREK_LINT_BASE: refs/remotes/lint-base run: cd server && npm run lint:warnings @@ -990,7 +990,7 @@ jobs: # Fails on any ESLint error, like lint:check did, and on any rule # whose warning count rises above scripts/eslint-baseline.json. # Typed linting (no-floating-promises, no-misused-promises) loads the - # whole TypeScript program, so it gets the heap the server lint gets. + # whole TypeScript program, which exceeds Node's default heap. env: NODE_OPTIONS: --max-old-space-size=8192 TREK_LINT_BASE: refs/remotes/lint-base diff --git a/package-lock.json b/package-lock.json index 93fe6cfa2..d4397cf7d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4118,9 +4118,9 @@ "license": "MIT" }, "node_modules/@hono/node-server": { - "version": "1.19.17", - "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.17.tgz", - "integrity": "sha512-dSneS5qhiauZWGDCeK4o695Xd9nUNjviSZCMQrj10eetr8Uln1ucn6bbphOM6UynAMMtNIzZNSpL9vnASJwrPQ==", + "version": "1.19.19", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.19.tgz", + "integrity": "sha512-Fy9R7PACOzHU9LDpfnuzVyuVYevKQRcEG2mZhmfc+DRdmayEd3RVfa2XOt2IgGcPNgA77Yk63KBszepcMFK5Ng==", "license": "MIT", "engines": { "node": ">=18.14.1" @@ -13271,9 +13271,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.1.2.tgz", + "integrity": "sha512-8BPK2r+sKWC8sDinRwLwrFMq2lXTBBwzYYEB9LiCznfMurOi4FOvQflq3XOLGG+HPdMSVpe+k/s96+AtDEOgPg==", "license": "MIT", "dependencies": { "path-key": "^3.1.0", diff --git a/package.json b/package.json index 7da77b9ef..120646796 100644 --- a/package.json +++ b/package.json @@ -46,10 +46,11 @@ "overrides": { "react": "19.3.1", "react-dom": "19.3.1", - "@hono/node-server": "^1.19.13", + "@hono/node-server": "^1.19.19", "body-parser@^1.20.0": "^1.20.9", "body-parser@^2.0.0": "^2.4.0", "brace-expansion@^2.0.0": "^2.1.7", + "cross-spawn@^7.0.0": "^7.1.2", "dompurify": "^3.4.17", "fast-uri": "^3.1.9", "file-type": "^21.3.4",