Skip to content

build: upgrade pprof to 5.15.1 for custom Node 22 - #32

Draft
vuttikais-asana wants to merge 2 commits into
v22.21.1from
vuttikais/pprof-5.15.1-node22-build
Draft

vuttikais-asana wants to merge 2 commits into
v22.21.1from
vuttikais/pprof-5.15.1-node22-build

Conversation

@vuttikais-asana

@vuttikais-asana vuttikais-asana commented Oct 29, 2026 •

Copy link
Copy Markdown

Build pprof 5.15.1 against the existing pointer-compressed Node 22 binary and headers, and stage it in its versioned package-store directory for the dd-trace 5.116.0 upgrade. The new archive contains only pprof 5.15.1; existing immutable archives retain 5.8.0 for current deployments and rollback. Codez must update dd-trace and the archive references together.

Handle the changed prebuilt filename in pprof 5.15.1 and smoke-test loading and encoding a wall-time profile for the rebuilt package. Disable npm lifecycle scripts during source dependency installation so the explicit node-gyp invocation uses our custom headers. Pin node-gyp to 11.5.0 and limit compilation to two jobs.

Validation: a sandbox Docker trial uses the exact SHA256-verified Node 22.21.1 archive referenced by codez. The 5.15.1 build loads with pointer compression enabled and captures/encodes nonempty wall-time and heap profiles. The simplified single-version recipe also passed its native wall-time smoke test. The trial adapts extraction to codez's repackaged archive and skips unrelated bcrypt/cld/unix-dgram builds.

Arm64, FIPS, full application profiling, and the publishing workflow still require validation. This fork-only Dockerfile change does not modify Node source; the Node test suite and codez git lint were not run for this separate repository.

@vuttikais-asana vuttikais-asana changed the title build: retain pprof 5.8.0 and add 5.15.1 for custom Node 22 build: upgrade pprof to 5.15.1 for custom Node 22 Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant