Skip to content

[release/10.0] Generate a signed catalog for Node JavaScript files - #1910

Merged
akoeplinger merged 3 commits into
release/10.0from
akoeplinger/node-js-catalog-release-10.0
Sep 22, 2026
Merged

akoeplinger merged 3 commits into
release/10.0from
akoeplinger/node-js-catalog-release-10.0

Conversation

@akoeplinger

@akoeplinger akoeplinger commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Generate separate signed catalogs for Emscripten and Node JavaScript files, explicitly identifying Emscripten in the existing property/item names.
  • Backport the managed catalog integration from 4b07a4c using Microsoft.DotNet.Build.Tasks.FileCatalog 10.0.0-beta.26461.103, matching the existing Arcade version.
  • Replace the Windows-only PowerShell/makecat implementation with GenerateFileCatalog on all platforms and remove the obsolete script.
  • Skip Node catalog generation when the staged payload contains no JavaScript. The previous script warning was treated as an error in both Windows jobs in build 1607156.
  • Register the package for dependency flow and use explicit signing entries for emscripten-js.cat, node-js.cat, and python.cat. Existing packaging includes the generated catalogs.

Validation

  • Restored and ran the real Arcade 10 managed catalog task on macOS using the actual target and package reference extracted from eng/emsdk.proj.
  • Verified DER catalog structure and SHA256 membership for recursive JavaScript inputs, exclusion of non-JavaScript files, and SDK/Node isolation.
  • Verified an empty Node payload succeeds with warnings treated as errors and does not produce a Node catalog.
  • Full CI and official signing remain to be verified.

akoeplinger and others added 3 commits September 22, 2026 14:58
Use the existing Windows catalog generation script for the Node payload.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 5b6aab95-fb3e-4805-94d3-dcb3b8c8a310
Replace the Windows-only makecat script with the backported managed task for both Emscripten and Node catalogs. Skip an empty Node payload without emitting the warning that fails CI, and align catalog signing with newer branches.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 5b6aab95-fb3e-4805-94d3-dcb3b8c8a310
Include the Tools.props change from the managed catalog migration.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 5b6aab95-fb3e-4805-94d3-dcb3b8c8a310
@akoeplinger
akoeplinger merged commit f208471 into release/10.0 Sep 22, 2026
10 checks passed
@akoeplinger
akoeplinger deleted the akoeplinger/node-js-catalog-release-10.0 branch September 22, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants