Skip to content

feat(ci): onboard vitest-runner onto the CLDMV v4 release flow - #2

Closed
Shinrai wants to merge 1 commit into
masterfrom
chore/scaffold-cldmv-v4-workflows
Closed

feat(ci): onboard vitest-runner onto the CLDMV v4 release flow#2
Shinrai wants to merge 1 commit into
masterfrom
chore/scaffold-cldmv-v4-workflows

Conversation

@Shinrai

@Shinrai Shinrai commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Onboards vitest-runner onto the CLDMV v4 flow. This scaffold PR targets master because the repo isn't on the staging flow yet; after merge, next/hotfixes fast-forward to master (they're strict ancestors — no history lost) and the flow activates.

  • Replaces the standalone ci.yml with the workflow-ci.yml@v4 caller + adds the full v4 suite (release-flow, publish, codeql, scorecard, master-commit-audit, update-major-version-tags, v4-bootstrap).
  • Adds build:ci = lint && format:check && types:build so the reusable CI keeps the lint + format gates the old standalone CI had (the reusable doesn't run them on its own) and regenerates the tracked types/.
  • Fixes secret CLDMV_BOT_APP_IDCLDMV_BOT_APP_CLIENT_ID; type_check_command → npm run types:check; Node matrix 20/22/24.

Validated: YAML + actionlint clean; npm run build:ci runs green (types regenerate byte-identical). After merge: FF next/hotfixes to master, dispatch v4-bootstrap, confirm org bot + GPG + NPM_TOKEN secrets. The pending fix/coverage-summary-nonnumeric-pct-guard bug fix then opens cleanly against next.

Replace the standalone ci.yml with thin callers of the CLDMV/.github @v4
reusable workflows and install the full v4 release-flow + core-cicd +
security entry callers.

Workflows added/replaced (.github/workflows/):
  ci.yml (replaces standalone), feature-pr.yml, hotfix-redirector.yml,
  next-release.yml, next-reset.yml, hotfixes-release.yml,
  pr-title-normalizer.yml, publish.yml, codeql.yml, scorecard.yml,
  master-commit-audit.yml, update-major-version-tags.yml, v4-bootstrap.yml

Per-repo customizations:
  package_name=@cldmv/vitest-runner; type_check_command=npm run types:check;
  max_node_major=24 (keeps Node 24 LTS in the matrix, matching old CI).

package.json: add build:ci = lint && format:check && types:build, so the
lint + format gates the old standalone CI ran are preserved (workflow-ci@v4
does not run lint/format itself) and publish/CI regenerate types from source.
@Shinrai

Shinrai commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of #1.

Both PRs carry the same head (chore/scaffold-cldmv-v4-workflows @ 93d694b); this one targeted master to bootstrap the flow directly, while #1 was auto-opened by the scaffold's own feature-pr.yml (which runs from the pushed ref on push) targeting next. We'll take the normal staging path instead: merge #1 into next — which also catches next up to the 4 commits currently only on master (blobsDir/mergeReports, engines bump, Prettier, ESLint) — and let the release PR carry nextmaster. No history is lost either way.

@Shinrai Shinrai closed this Jul 29, 2026
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.

1 participant