Repository navigation
fix(ci): default the Node.js test matrix to 22.22.0, the fleet floor - #408
Merged
Merged
Conversation
The CLDMV dev toolchain (chokidar 6, tsup 9) needs Node 22.22, so a matrix starting at 22.12 fails on its lowest job. Changes min_node_version in the reusable workflows and the core-cicd example callers.
Shinrai
approved these changes
Nov 1, 2026
cldmv-bot Bot
added a commit
that referenced
this pull request
Nov 1, 2026
# v4.35.0 — 2026-11-01 Minor release. Org bootstrap now creates the orphan `badges` branch, the pre-commit hook can check only staged files, and a new README template and format convention cover CLDMV packages. It also validates the label catalog before the org label sync touches any repo, stops routine Dependabot bumps from being redirected to `hotfixes`, and raises the default CI test floor to Node.js 22.22.0. ## Added - **Org bootstrap creates the `badges` branch.** The `branches` step of `org-bootstrap-repo` now creates the orphan `badges` branch the coverage-badge job pushes to, holding only a short README, when the repo doesn't have one. An existing `badges` branch is never reset. Two new inputs control it: `badges_branch` (default `badges`) and `create_badges_branch` (default `true`). Under dry-run the step only logs what it would create. Fixes [#403](#403). ([#413](#413)) - **The pre-commit hook can check staged files only.** `examples/git-hooks/pre-commit` (and this repo's `.githooks/pre-commit`) passes the staged paths to optional `lint:staged` and `format:check:staged` npm scripts when a repo defines them. Repos without them keep running the whole-repo `lint` and `format:check`. `docs/conventions/lint-format-precommit.md` documents the scripts, including a note that `xargs` may split a very large staged list across several runs. Fixes [#401](#401). ([#414](#414)) - **README template and format convention.** `examples/readme/README.template.md` is the standard layout for a CLDMV package README, with the full badge set and placeholders for package name, default branch and content sections. `docs/conventions/readme-format.md` describes the sections and is linked from the README, `examples/README.md` and the release-flow doc. Wiring the template into scaffolding is listed there as follow-up. Fixes [#404](#404). ([#415](#415)) ## Fixed - **The label catalog is validated before the org label sync starts.** `sync-org-labels` checks every entry in `data/github-labels.json` first: name and description lengths against GitHub's limits, a six-digit hex colour, aliases as a list of strings, and no name or alias claimed by two labels. Any problem is reported as an error annotation and the job exits before a single repo is touched, instead of failing with HTTP 422 in every repo as the over-long description in v4.33.0 did. `data/github-labels.test.mjs` uses the same check. Fixes [#402](#402). ([#412](#412)) - **Routine Dependabot bumps stay on `next` when the body quotes a GHSA id.** The hotfix redirector treated any GHSA id in a Dependabot PR body as a security update, and Dependabot copies upstream release notes into the body, which often name advisories. A routine `@cldmv/vitest-runner` bump was redirected to `hotfixes` that way. When the repo's routine Dependabot target is known, the PR's base branch alone now decides. The body is only checked when the target is unknown. Fixes [#409](#409). ([#410](#410)) - **The CI test matrix starts at Node.js 22.22.0.** The `min_node_version` default in `workflow-ci.yml`, `workflow-release.yml` and `reusable-build-and-test.yml`, and in the `ci.yml`, `publish.yml` and `release.yml` templates, moves from 22.12.0 to 22.22.0, the fleet floor the dev toolchain needs. ([#408](#408)) ## Documentation - **Package layout convention drops devcheck.** `docs/conventions/package-layout.md` no longer describes a root `devcheck.mjs`: the `<pkg>-dev` condition picks `src/` or `dist/`, and both are legitimate. It also sets `engines.node` to `>=22.22.0` and shows building the vitest condition settings with `devCondition()`, passing the worker flag through `test.execArgv`. ([#407](#407)) ## Dependencies - Dev toolchain bumped to latest: `eslint` 10.14, `prettier` 3.9.10, `@eslint/css` 2, `@eslint/json` 2.1, `globals` 17.14 and the `@cldmv` jsonv packages. ([#416](#416)) - `overrides` pin `katex` to `>=0.19.1 <1.0.0` and `minimatch` to `^11.0.3`, the patched versions of the transitive dependencies pulled in by the eslint and `@eslint/markdown` chain. ([#417](#417)) ## Upgrade notes - No breaking changes. Consumers get the bootstrap, redirector and CI changes through the rolling `@v4` tag once `v4` points at this release. - A repo that pins `min_node_version` in its own `ci.yml` keeps that value. Raise it to `22.22.0` to match the fleet floor. - To use staged-only pre-commit checks, copy the updated hook into the repo's `.githooks/` and add `lint:staged` / `format:check:staged` scripts as shown in the convention doc. <details> <summary>👥 Contributors</summary> - @Shinrai </details> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
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.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors