Skip to content

feat: capture Node.js trace categories via Perfetto - #52973

Merged
MarshallOfSound merged 1 commit into
42-x-yfrom
manual-bp/42-x-y/50591
Aug 19, 2026
Merged

MarshallOfSound merged 1 commit into
42-x-yfrom
manual-bp/42-x-y/50591

Conversation

@VerteDinde

Copy link
Copy Markdown
Member

Backport of #50591

See that PR for details.

Manual backport notes: patches/node was regenerated against this branch's Node (v24.18.1) rather than text-merged: 42-x-y's series plus the new build_enable_perfetto.patch were applied to a v24.18.1 tree (one context fix-up in unofficial.gni for chore_exclude_electron_node_folder_from_exit-time-destructors.patch) and re-exported with script/lib/git.py. The resulting build_enable_perfetto.patch content is identical to the original change; the other node patch diffs are index/offset-only. The chromium and v8 patches are unchanged from the original (this branch is on the same Chromium major the original landed against) and apply cleanly to 148.0.7778.280. The spec additions are appended to this branch's larger api-content-tracing-spec.ts. Supersedes the earlier trop attempt #50885 (approved, then closed as stale).

Notes: Fixed contentTracing module to capture Node.js trace categories.

* feat: capture Node.js trace categories via Perfetto

* fix: crash in ELECTRON_RUN_AS_NODE

* chore: cleanup macro usage

* chore: update patches

Backport notes: patches/node regenerated against this branch's Node (v24.18.1); build_enable_perfetto.patch content is identical to the original change, the other node patch updates are index/offset only.

(cherry picked from commit c0f187f)
@VerteDinde
VerteDinde requested a review from a team as a code owner August 18, 2026 22:38
@VerteDinde VerteDinde added backport This is a backport PR semver/minor backwards-compatible functionality 42-x-y labels Aug 18, 2026
@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) August 19, 2026 07:21
@MarshallOfSound
MarshallOfSound merged commit dfa11b7 into 42-x-y Aug 19, 2026
117 checks passed
@MarshallOfSound
MarshallOfSound deleted the manual-bp/42-x-y/50591 branch August 19, 2026 07:21
@release-clerk

release-clerk Bot commented Aug 19, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed contentTracing module to capture Node.js trace categories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport/requested 🗳 backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants