Skip to content

fix(build): pin Node 22.23.5 for Railpack - #53

Merged
KMKoushik merged 1 commit into
mainfrom
fix/railpack-node-pin
Nov 12, 2026
Merged

KMKoushik merged 1 commit into
mainfrom
fix/railpack-node-pin

Conversation

@KMKoushik

@KMKoushik KMKoushik commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Adds .nvmrc = 22.23.5 so Railpack pins the patched Node exactly. Without it Railpack resolves 22.x from engines to 22.23.4 (railpack info).

Safe to merge before the builder switch: Nixpacks plans are byte-identical with and without .nvmrc, and a real nixpacks build still installs and runs 22.23.5 via nixpacks.toml. nixpacks.toml stays for rollback.

Verified locally with Railpack 0.43.0 using the service's pnpm build / pnpm start:

  • build log: node │ 22.23.5 │ idiomatic-version-file, pnpm install --frozen-lockfile
  • runtime has libssl3, so Prisma uses its openssl-3.0.x engines (no railpack.json needed)
  • against an empty Postgres: all 18 migrations apply, /api/healthz returns 200 (and 503 once the DB stops), /auth/signin returns 200, the admin feedback API returns 200

Summary by CodeRabbit

  • Chores
    • Updated the project’s Node.js version requirement to 22.23.5.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The .nvmrc file now specifies Node.js version 22.23.5.

Changes: Node.js Runtime Pin

Layer / File(s) Summary
Set the Node.js version
.nvmrc
.nvmrc now specifies Node.js version 22.23.5.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to 00c19

This pins the Node version used by Railpack builds to 22.23.5. The change is minimal and reversible, and no merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: pinning Node to 22.23.5 for the Railpack build. The changeset adds a .nvmrc with 22.23.5, which matches the title. The title uses the conventional fix(build) prefix an…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: pinning Node to 22.23.5 for the Railpack build. The changeset adds a .nvmrc with 22.23.5, which matches the title. The title uses the conventional fix(build) prefix and is short and specific.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9fd7a129-d6df-4962-9a9c-cc32f104f5e0
Commits

Reviewing files that changed from the base of the PR and between 33c4cdd and 00c197e.

Files selected for processing: 1

  • .nvmrc

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@KMKoushik
KMKoushik merged commit ab467d1 into main Nov 12, 2026
2 checks passed
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