Repository navigation
release: v4.35.4 - make types:check the fleet type-check script name - #439
Merged
Merged
Conversation
Repos used test:types, types:check and typecheck for the same tsc --noEmit check, and test:types also meant a consumer-side test of the shipped types in uuid and slothlet. package-layout.md now fixes the names: types:check is the source check CI runs, types:build emits declarations, and test:types is only a consumer types test that runs inside test. The ci.yml template, the setup guide, the precommit example and the type_check_command defaults in workflow-ci, coverage-badge and coverage-pr-comment all use npm run types:check.
Node 25+ dropped corepack and lts/* now resolves to 26, so every corepack enable failed, pnpm/yarn never reached PATH and pnpm consumers died at install with 'pnpm: not found'. A shared enableCorepack() helper now installs corepack from npm when the binary is missing, then enables it. install-dependencies, build-project, run-tests, create-package, update-package-version and the setup-node composite all use it. The inline 'Enable corepack' steps in the coverage, lint-format and type-check jobs are removed, since install-dependencies right after them does the provisioning. The npm install lives in the Node script, not a workflow run block, so the scorecard Pinned-Dependencies check isn't affected. Fixes #437
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - fix: make types:check the fleet type-check script name (042c75e) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes _No other changes_ <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Node 25+ no longer bundles corepack, and `lts/*` is now Node 26, so `corepack enable` failed and pnpm/yarn never got provisioned. A shared `enableCorepack()` helper now installs corepack from npm when the binary is missing, and every pnpm/yarn call site and the setup-node composite go through it. Resolves #437
The coverage legs ran type_check_command unconditionally, so a repo without the named script failed on next and the release PR while the feature-PR Type Check job skipped it with a notice. Both coverage reusables now use the same guard.
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - fix: skip the coverage type check when its script is missing (e5d1d1c) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes _No other changes_ <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Shinrai
approved these changes
Nov 7, 2026
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.4 — 2026-11-06
Patch release with two CI fixes. pnpm and yarn repos work again on Node 26, and
types:checkis now the one type-check script name across the fleet.Bug Fixes
lts/*now resolves to Node 26, socorepack enablefailed and pnpm/yarn repos died withpnpm: not found. A sharedenableCorepack()helper installs corepack from npm when the binary is missing, then enables it. If either step fails it logs a warning and carries on, in case pnpm/yarn is already onPATH.build-project,run-tests,create-package,install-dependencies,update-package-versionand thesetup-nodecomposite all call it, and the separate "Enable corepack" steps in the coverage, lint-format and type-check jobs are gone. npm repos skip it. Fixes #437. (#438)types:checkis the type-check script. The fleet usedtypecheck,test:typesandtypes:checkfor the same job, and the reusables defaulted totest:types.workflow-ci.yml,reusable-coverage-badge.ymlandreusable-coverage-pr-comment.ymlnow defaulttype_check_commandtonpm run types:check, and theci.ymltemplate, the setup guide and the lint/format convention follow suit. The type-check step in both coverage reusables now skips with a notice when the named script doesn't exist, the same way the🔎 Type Checkjob already did; before, a missing script failed the coverage job onnextand on the release PR. package-layout.md fixes three names:types:checkrunstsc --noEmiton the source and is what CI runs,types:buildemits declarations, andtest:typesis kept for consumer-side tests of the published types. (#436, #440)Upgrade notes
@v4tag.test:typesdefault and has notypes:checkscript now skips the type check with a notice, on feature PRs and in the coverage jobs. Add atypes:checkscript (or settype_check_commandinci.yml) to keep it running.👥 Contributors
Co-authored-by: Shinrai [email protected]