Skip to content

ci: onboard v4 staging-branch workflow flow + @cldmv/vitest-runner - #4

Merged
Shinrai merged 2 commits into
nextfrom
ci/modernize-v4-workflows
Aug 3, 2026
Merged

Shinrai merged 2 commits into
nextfrom
ci/modernize-v4-workflows

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

👥 Contributors

Adds the 22-file CLDMV v4 CI/release workflow set (copied from the
git-embedded golden reference, customized per repo) plus
.github/dependabot.yml, targeting the existing next/hotfixes branches.

- CI matrix floor set to Node 20 (LTS) — the devDependency test
  toolchain (vitest 4 / @cldmv/vitest-runner) requires >=20.19, not
  package.json's own engines.node (>=18.12, left unchanged — nothing
  in the runtime source requires 20+).
- Type-check wired to the existing test:types (tsc --noEmit) script;
  not skipped, unlike the git-embedded template default.
- build_command uses the repo's real build/build:ci scripts rather
  than the "no build step" stub.
- Wired @cldmv/vitest-runner (OOM-safe, per-file child-process
  runner) via tests/run-vitest.mjs + .configs/vitest.config.mjs.
  Renamed the 7 existing tests/*.vest.mjs files to the fleet-wide
  *.test.vitest.mjs convention and pointed the config include glob /
  harness testFilePattern at it.
- Bumped eslint/typescript/vitest toolchain deps to latest, which
  also resolved 4 transitive npm audit findings (ajv, brace-expansion,
  js-yaml, minimatch via eslint 9 -> 10).
- Added lint:fix/format/format:check scripts (a .configs/.prettierrc
  already existed) and coverage/ci:coverage per the vitest-runner
  convention.

Not included: regenerated types/**/*.d.mts output from the
typescript devDependency bump — running build:types locally exposed
that the shipped hand-authored type declarations don't match the
real (async-factory-function) runtime exports; that's a pre-existing
issue tracked separately, not a CI-wiring change.
@cldmv-bot cldmv-bot Bot added the ! ci → next v4 flow: ci contributor PR targeting the next integration branch label Aug 3, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

The whole file assumes the index.mjs named exports (HoldMyTask,
Queue, TaskManager, TaskQueue, QueueManager, TaskProcessor) are
constructors, but they're actually async factory functions —
a pre-existing mismatch, not something introduced by the
vitest-runner harness switch (reproduces identically with a bare
`vitest run`, before any of this branch's changes).

This is the first time these tests have run under CI (no workflows
existed before this branch), so it's the first time the mismatch
was caught. Skipping rather than fixing inline — the fix is a real
behavior decision (which side is wrong: the aliases or the tests)
that belongs to the maintainer, not to a CI-onboarding PR. Tracked
in #3.
@Shinrai
Shinrai merged commit a2ee3f0 into next Aug 3, 2026
19 checks passed
@cldmv-bot
cldmv-bot Bot deleted the ci/modernize-v4-workflows branch August 3, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! ci → next v4 flow: ci contributor PR targeting the next integration branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants