chore(runtime): BIT-31723 upgrade Node 20 → Node 24 LTS + audit PHP/TS code
CI / Test ingest-api (pull_request) Successful in 33s
CI / Test api (pull_request) Successful in 34s
CI / Lint and typecheck admin-ui (pull_request) Successful in 1m19s
CI / Validate Docker build (pull_request) Successful in 3m54s

- Dockerfiles (admin-ui, collector-worker, ingest-api): node:20-bookworm-slim → node:24-bookworm-slim
- CI (.gitea/workflows/ci.yml): node-version '20' → '24' in all 3 jobs
- package.json engines.node: '>=20' → '>=24.22.1' (admin-ui, api, collector-worker, ingest-api, web)
- @types/node: ^20/^22 → ^24 in all packages
- api: bcrypt ^5.1.1 → ^6.0.0 (Node 24 prebuilt binary compat)
- clients/php/ErrorReporter.php: PHP 8.4+ compat audit (no deprecated patterns)
- clients/node/errorReporter.mjs: Node 24+ doc update

All tests verified locally:
- api: 51/51 passed (vitest)
- ingest-api: 40 passed + 14 skipped (vitest)
- collector-worker: 12/12 passed (vitest)
- admin-ui: lint + typecheck clean
- web: lint + typecheck + build clean

Paperclip-Agent: Nelson Baptista (urlKey nelson-baptista; id e34f1b0f-62db-487c-8584-f6a47203f7b5)
Paperclip-Issue: BIT-31723
Paperclip-Run: 76d06689-1879-421f-ad2c-04f5fe85d21d
This commit is contained in:
nelson-baptista committed 2026-10-23 17:30:13 +01:00
1 parent 73acc917f5
commit 836d967aeb
16 files changed
+93 -661

No files matched your search

+5 -2
View File
@@ -12,6 +12,9 @@
"test:watch": "vitest",
"db:migrate": "bash ../scripts/run-mysql-migrations.sh"
},
"engines": {
"node": ">=24.22.1"
},
"dependencies": {
"@fastify/cookie": "^9.3.1",
"@fastify/helmet": "^11.1.1",
@@ -19,7 +22,7 @@
"@fastify/rate-limit": "^9.1.0",
"@fastify/swagger": "^8.14.0",
"@fastify/swagger-ui": "^3.0.0",
"bcrypt": "^5.1.1",
"bcrypt": "^6.0.0",
"fastify": "^4.28.1",
"mysql2": "^3.11.5",
"pino": "^9.1.0",
@@ -28,7 +31,7 @@
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/node": "^20.14.0",
"@types/node": "^24.0.0",
"tsx": "^4.15.6",
"typescript": "^5.4.5",
"vitest": "^1.6.0"