Pin listing API and CI to patched Node 24 #3

Merged
PlasticDigits merged 2 commits from fix/security-node-runtime-20261022 into main 2026-10-22 12:33:44 +00:00
Owner

The live listing API runs an older Node 22 runtime despite the repository requesting Node 24. Pin Node 24.22.1 Bookworm by digest in a multi-stage Dockerfile, compile the existing TypeScript, ship production dependencies only, and run as the Node user. Its healthcheck enforces the patched Node24 floor and localhost /health. Update CI from EOL Node20 to the same pinned release.

Also update the transitive proxy-addr lockfile entry from 2.0.7 to 2.0.8 to fix critical CVE-2026-90711, caught by the required Trivy check. No application logic, dependency manifest or runtime environment changes. Use the existing Coolify resource with Dockerfile build pack. This Forgejo repository is authoritative and mirrors to the GitHub source used by Coolify.

Validation: actual image build and isolated network-disabled server checks passed /health, /chains, /tokens, unknown-token404, non-root UID and the Docker healthcheck. Independent image/runtime verification passed; it also passed again against final frozen75e5e9c including proxy-addr2.0.8. Required Woodpecker CI is now green at 75e5e9c. npm test is the documented failing stub and is not an acceptance check; the TypeScript build and actual HTTP behavior are exercised. Required Woodpecker PR checks remain enforced.

Tracking approved rollout: PlasticDigits/cl8y-forgejo#67

The live listing API runs an older Node 22 runtime despite the repository requesting Node 24. Pin Node 24.22.1 Bookworm by digest in a multi-stage Dockerfile, compile the existing TypeScript, ship production dependencies only, and run as the Node user. Its healthcheck enforces the patched Node24 floor and localhost /health. Update CI from EOL Node20 to the same pinned release. Also update the transitive proxy-addr lockfile entry from 2.0.7 to 2.0.8 to fix critical CVE-2026-90711, caught by the required Trivy check. No application logic, dependency manifest or runtime environment changes. Use the existing Coolify resource with Dockerfile build pack. This Forgejo repository is authoritative and mirrors to the GitHub source used by Coolify. Validation: actual image build and isolated network-disabled server checks passed /health, /chains, /tokens, unknown-token404, non-root UID and the Docker healthcheck. Independent image/runtime verification passed; it also passed again against final frozen75e5e9c including proxy-addr2.0.8. Required Woodpecker CI is now green at 75e5e9c. npm test is the documented failing stub and is not an acceptance check; the TypeScript build and actual HTTP behavior are exercised. Required Woodpecker PR checks remain enforced. Tracking approved rollout: https://git.cl8y.com/PlasticDigits/cl8y-forgejo/issues/67
fix: pin listing API and CI to patched Node 24
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
170588411f
Patch proxy-addr IP spoofing vulnerability
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
75e5e9c370
PlasticDigits deleted branch fix/security-node-runtime-20261022 2026-10-22 12:33:44 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/listing-api!3
No description provided.