Repository navigation
Conversation
The subjects job re-packs the publish run's build artifact without installing dependencies, so a prepack build (llm-translator's tsup) failed with 'tsup: not found' and no .intoto.jsonl was attached. Publishing already packs with --ignore-scripts, so skipping lifecycle scripts here keeps the subjects matching the published tarball. Fixes #444
…t:dist test:cjs runs the CommonJS entry check plus any CommonJS-only tests in tests/cjs/. test:dist is the full suite against dist/; an unbundled build (tsup bundle: false) can redirect resolved src/ paths to dist/ instead of switching tests to by-name imports. Refs #442
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - docs: v4.35.5 release notes and README What's New (27ac440) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Provenance's subjects job re-packs the publish run's build artifact without installing deps, so a `prepack` build (llm-translator's tsup) died with `tsup: not found` and no `.intoto.jsonl` got attached. Publishing already packs with `--ignore-scripts`, so adding it to both `npm pack` calls here keeps the sha256 subjects matching what npm got. Resolves #444
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - docs: add the provenance fix to the v4.35.5 notes (b929e21) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v4.35.5 — 2026-11-08
Patch release with one workflow fix and a package-layout update. SLSA provenance attaches again for packages that build in
prepack, and the package layout convention now names the CommonJS test scripttest:cjsand definestest:distas the full test suite run against the build.Bug Fixes
reusable-provenance.ymlre-packs the publish run's build artifact withnpm pack, which runsprepackfirst. The job never installs dependencies, so a package whoseprepackbuilds (llm-translator's tsup) failed withtsup: not found, the SLSA job was skipped and no.intoto.jsonlwas attached to the release. Bothnpm packcalls now pass--ignore-scripts, the same as the publish side, so the subjects still match the published tarball. Fixes #444. (#445)Documentation
test:cjsandtest:distin the package layout. package-layout.md called the script that runstests/cjs/entry.test.cjstest:dist, though it only checks the CommonJS entry on the build. That script is nowtest:cjs: the entry check (dist/index.cjsloadingdist/index.mjs) plus any CommonJS-only tests intests/cjs/.test:distnow means the whole vitest suite run againstdist/instead ofsrc/. Tests import the package by name, and the vitest config leaves the<pkg>-devcondition out for--mode=dist, with a resolve test checking the import landed on the right tree (CLDMV/gitmulti is the reference). Unbundled builds (tsupbundle: false) can instead redirect resolvedsrc/paths todist/, which also runs internal-module tests against the build. Fixes #442. (#443)Upgrade notes
@v4tag. Repos that named the CommonJS entry checktest:distshould rename it totest:cjs.👥 Contributors
Co-authored-by: Shinrai [email protected]