Skip to content

build: include SBOMs in binary release artifacts - #67829

Open
BethGriggs wants to merge 1 commit into
nodejs:mainfrom
BethGriggs:ship-sbom
Open

BethGriggs wants to merge 1 commit into
nodejs:mainfrom
BethGriggs:ship-sbom

Conversation

@BethGriggs

@BethGriggs BethGriggs commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Initially opening this PR to run a test build so I can check the SBOM is built correctly and inspect the contents on each release platform.


Generate a CycloneDX SBOM after building binary tarballs and include it in the tarball as node-<version>-sbom.cdx.json. Also embed the same SBOM in the macOS installer resources.

Document the experimental status and how consumers can retrieve the SBOM.

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. labels Nov 27, 2026
Generate a CycloneDX SBOM after building binary tarballs. Include it as
node-<version>-sbom.cdx.json, and embed the same SBOM in the macOS
installer resources.

Document the experimental status and explain how consumers can retrieve
the SBOM.

Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
@BethGriggs
BethGriggs marked this pull request as ready for review November 27, 2026 16:21
@BethGriggs

Copy link
Copy Markdown
Member Author

Would someone in @nodejs/releasers be able to kick off a test build for this so I can check the output, please?

@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 90.51%. Comparing base (2fdac69) to head (433b46b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #67829      +/-   ##
==========================================
+ Coverage   90.49%   90.51%   +0.02%     
==========================================
  Files         805      805              
  Lines      285872   285872              
  Branches    55191    55199       +8     
==========================================
+ Hits       258696   258757      +61     
+ Misses      17273    17219      -54     
+ Partials     9903     9896       -7     

see 39 files with indirect coverage changes

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aduh95

aduh95 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

It probably makes sense to wait for #67792 to land first, even though it's unlikely to break anything

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

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants