Skip to content

Pin Node to 24.20.0 everywhere - #200

Merged
brianramseyau merged 2 commits into
mainfrom
feature/lock-node-version
Sep 4, 2026
Merged

brianramseyau merged 2 commits into
mainfrom
feature/lock-node-version

Conversation

@brianramseyau

Copy link
Copy Markdown
Owner

Summary

  • Pin Node to the exact 24.20.0 patch across package.json (engines.node), .nvmrc, docker/Dockerfile, docker/dev.Dockerfile, and both GitHub Actions Node setup points (.github/actions/setup/action.yml, .github/workflows/native-build.yml), instead of a floating >=24 / node:24 / node-version: 24.
  • Updates the README badge and prerequisites line to match.
  • Motivated by Fix apps/api test hang: bump @adonisjs/ace to 14.1.1 (Node 24.20 loader regression) #199: the Node 24.20 ace loader regression reached CI/prod undetected because nothing in the repo pinned an exact Node version — this is the scaffolding-stage guardrail that was missing.

Test plan

  • Verified node:24.20.0-bookworm-slim exists on Docker Hub
  • CI passes on this branch with the pinned Node version

🤖 Generated with Claude Code

Was floating on the 24.x major (>=24 engine range, unpinned Dockerfile/CI
tags), which let the Node 24.20 ace loader regression (#199) reach prod
undetected until it broke tests. Pin package.json engines, .nvmrc,
docker/Dockerfile, docker/dev.Dockerfile, and both CI node-version fields
to the same exact version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Comment thread package.json Outdated
@kilo-code-bot

kilo-code-bot Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (7 files)
  • .github/actions/setup/action.yml
  • .github/workflows/native-build.yml
  • .nvmrc
  • README.md
  • docker/Dockerfile
  • docker/dev.Dockerfile
  • package.json
Previous Review Summary (commit 0f94437)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 0f94437)

Status: 1 Issue Found | Recommendation: Merge (1 non-blocking suggestion)

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 1
Issue Details (click to expand)

SUGGESTION

File Line Issue
package.json 9 engines.node exact-pins 24.20.0; .nvmrc/Docker/CI already enforce the exact pin, and the exact engines value warns (or fails under engine-strict=true) on future patch releases
Files Reviewed (7 files)
  • .github/actions/setup/action.yml - 0 issues
  • .github/workflows/native-build.yml - 0 issues
  • .nvmrc - 0 issues
  • README.md - 0 issues
  • docker/Dockerfile - 0 issues
  • docker/dev.Dockerfile - 0 issues
  • package.json - 1 issue

Fix these issues in Kilo Cloud


Reviewed by deepseek-v4-pro-0813 · Input: 24.6K · Output: 3.1K · Cached: 178K

Review guidance: REVIEW.md from base branch main

Exact-pinning engines.node warns (and hard-fails under apps/web/.npmrc's
engine-strict=true) on every future patch release. The actual reproducible
pin lives in .nvmrc/Docker/CI already; engines should just express the
minimum supported version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@brianramseyau
brianramseyau merged commit 4d3c0f4 into main Sep 4, 2026
10 checks passed
@brianramseyau
brianramseyau deleted the feature/lock-node-version branch September 4, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant