Skip to content

release: v4.35.4 - make types:check the fleet type-check script name - #439

Merged
cldmv-bot[bot] merged 9 commits into
masterfrom
next
Nov 7, 2026
Merged

cldmv-bot[bot] merged 9 commits into
masterfrom
next

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

v4.35.4 — 2026-11-06

Patch release with two CI fixes. pnpm and yarn repos work again on Node 26, and types:check is now the one type-check script name across the fleet.

Bug Fixes

  • corepack on Node 25+. Node stopped bundling corepack in 25, and lts/* now resolves to Node 26, so corepack enable failed and pnpm/yarn repos died with pnpm: not found. A shared enableCorepack() 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 on PATH. build-project, run-tests, create-package, install-dependencies, update-package-version and the setup-node composite 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:check is the type-check script. The fleet used typecheck, test:types and types:check for the same job, and the reusables defaulted to test:types. workflow-ci.yml, reusable-coverage-badge.yml and reusable-coverage-pr-comment.yml now default type_check_command to npm run types:check, and the ci.yml template, 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 Check job already did; before, a missing script failed the coverage job on next and on the release PR. package-layout.md fixes three names: types:check runs tsc --noEmit on the source and is what CI runs, types:build emits declarations, and test:types is kept for consumer-side tests of the published types. (#436, #440)

Upgrade notes

  • No caller changes needed for the corepack fix; it rides the @v4 tag.
  • A repo that relied on the old test:types default and has no types:check script now skips the type check with a notice, on feature PRs and in the coverage jobs. Add a types:check script (or set type_check_command in ci.yml) to keep it running.
👥 Contributors

Co-authored-by: Shinrai [email protected]

Shinrai and others added 5 commits November 6, 2026 07:47
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
@cldmv-bot cldmv-bot Bot added ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: patch This release contains only backwards-compatible bug fixes type: bug Something is broken or not behaving as expected area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: documentation Relates to docs, README updates, guides, or inline code comments labels Nov 6, 2026
Shinrai and others added 4 commits November 6, 2026 15:28
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>
## 🚀 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.4 release notes (3b68567)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
@cldmv-bot
cldmv-bot Bot merged commit b67b322 into master Nov 7, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: patch This release contains only backwards-compatible bug fixes type: bug Something is broken or not behaving as expected type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: documentation Relates to docs, README updates, guides, or inline code comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pnpm/yarn consumers fail on Node 26: corepack isn't bundled any more

1 participant