v26.13.0 Darwin tarball binaries are not notarized
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 47/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- macos
- 領域
- release
調査の方向性
Start by checking the macOS release packaging job and the post-notarization check referenced in #4527, then compare how it handles the pkg and Darwin tarball binaries. Determine why the v26.13.0 arm64 and x64 tarballs lack notarization tickets while the pkg and v26.12.1 tarball are notarized. Done means both existing tarball binaries are registered with Apple without changing their SHAs.
索引モデルが issue の本文から書いたものです。
説明
I was chasing down a sudden performance regression in a tool that spawns a lot of child processes, and ended up narrowing it to notarization issues with the 26.13.0 macOS tarballs.
The missing notarization sends Gatekeeper / syspolicyd into conniptions: in any process tree launched through a #!/bin/sh bin shim (so every npm/pnpm CLI), syspolicyd logs violates validation category policy. This will likely result in a block in the future and does a full trust evaluation on every process event. That adds ~3.5 ms to every posix_spawn attempt libuv makes while walking PATH, so a child_process spawn by bare name goes from ~10 ms to ~70 ms. Node 22, 24 and 26.12.1 binaries on the same machine are fine.
The bin/node binaries in the published node-v26.13.0-darwin-arm64.tar.gz and node-v26.13.0-darwin-x64.tar.gz are Developer ID signed but have no notarization ticket. node-v26.13.0.pkg is notarized and stapled. The darwin-arm64 tarball binary from v26.12.1 does have a ticket, so this looks specific to the v26.13.0 release build rather than to tarballs in general.
Quick check:
for v in v26.13.0 v26.12.1; do
curl -fsSLO "https://nodejs.org/dist/$v/node-$v-darwin-arm64.tar.gz"
tar -xzf "node-$v-darwin-arm64.tar.gz" "node-$v-darwin-arm64/bin/node"
codesign --verify --verbose=2 -R='notarized' "node-$v-darwin-arm64/bin/node"
done
This logs:
node-v26.13.0-darwin-arm64/bin/node: valid on disk
node-v26.13.0-darwin-arm64/bin/node: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
node-v26.12.1-darwin-arm64/bin/node: valid on disk
node-v26.12.1-darwin-arm64/bin/node: satisfies its Designated Requirement
node-v26.12.1-darwin-arm64/bin/node: explicit requirement satisfied
Same for the x64 tarball.
This may be related to #4527, where the post-notarization check in the macOS release-pkg job intermittently reported source=Unnotarized Developer ID. The retry loop there wraps the pkg check, so the tarball binaries may have slipped past it.
As far as I understand it, fixing this doesn't require changing the published tarballs: submitting a zip of each existing bin/node to notarytool registers its CDHash with Apple, and Gatekeeper looks tickets up by hash, so the SHAs stay the same. Would that be possible so people don't have to tiptoe around 26.13.0?
(Not sure if this belongs here or in nodejs/node. Apologies if I guessed wrong.)
- 主要言語
- Jinja
- スター
- 544
- フォーク
- 184
- 平均マージ
- 3日 12時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nodejs/build のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nodejs/build#4539 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Python 3.10 EOL 2026-10-01 used in Windows対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbuild-agenda
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nodejs/build#4514 · コメント 22 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nodejs/build#4324 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Windows release nodes are offline対応中かも @StefanStojanovic が 1 日前に担当しました。 オープン
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
nodejs/build#4543 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
Release workflow: a build provenance attestation for the gem with `actions/attest-build-provenance`オープンarea: devops area: security lane: strong-agent roadmap size: S type: task
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
arminazimi/slipway#712 ·
メンテナーはふだん 1 日以内に返信
-
[Update Request]:オープンHelp-Wanted Needs-Triage Package-Update
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
microsoft/winget-pkgs#465138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
basaltbytes/usine#725 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/playwright#43759 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts status: backlog type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
netbox-community/netbox-scripts#68 ·
メンテナーはふだん 1 日以内に返信