ci: Build node-pc runtime on n8nio/base image - #36284
Merged
Merged
Conversation
Contributor
PR review overviewBased on ownership of the 2 changed files in this PR:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
4 tasks
ivov
marked this pull request as ready for review
August 14, 2026 10:12
ivov
enabled auto-merge
August 14, 2026 10:13
Contributor
There was a problem hiding this comment.
No issues found across 2 files
Architecture diagram
sequenceDiagram
participant WF as Workflow (CI)
participant GHCR as GHCR Registry
participant DHI as DHI Registry
participant Build as Builder Stage (Alpine)
participant Base as n8nio/base:26.5.1
participant Runtime as Runtime Stage (node-pc)
participant Cloud as Cloud Launch / AppArmor
Note over WF,Cloud: CI Build Pipeline for node-pc Image
WF->>GHCR: Login to Docker registries (push)
WF->>Build: Build stage (compiles pointer-compressed Node)
Build->>Build: Compile Node with v8_enable_pointer_compression
Note over Base,Runtime: Runtime Stage (Dockerfile)
Base->>Runtime: FROM n8nio/base:26.5.1 (multi-arch digest)
Runtime->>Runtime: Remove stock Node binaries (node, npm, npx, corepack)
Runtime->>Runtime: Remove /usr/local/bin/node
Build->>Runtime: COPY compiled Node from builder stage
Runtime->>Runtime: Verify Node version & pointer compression
Runtime->>Runtime: Symlink /usr/local/bin/node to /usr/bin/node
Note over Runtime,Cloud: Runtime Image Usage
Cloud->>Runtime: Launch container (expects /usr/local/bin path)
Runtime->>Cloud: Node runtime with pointer compression enabled
Note over WF,DHI: DHI Registry Login Removed (no longer needed)
Matsuuu
approved these changes
Aug 14, 2026
shortstacked
approved these changes
Aug 14, 2026
Contributor
|
Got released with |
heymynameisrob
pushed a commit
that referenced
this pull request
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR rebuilds the runtime stage of the
node-pcimage (pointer-compressed Node.js) on top ofn8nio/base:26.5.1so we reuse the base's package layer, paths, and policies. What remains is only the Node swap.Also drops the DHI registry login from the workflow, since nothing pulls
dhi.ioanymore.Follow-up to: #35756 (comment)
Related Linear tickets, Github issues, and Community forum posts
https://app.notion.com/p/n8n/Halving-memory-usage-via-pointer-compression-3ac5b6e0c94f8005af87e93a9f837b53
Review / Merge checklist
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)