Skip to content

ci: run apps/mesh/migrations unit tests (were never globbed) - #4374

Merged
pedrofrxncx merged 1 commit into
mainfrom
ci/run-migrations-unit-tests
Jul 8, 2026
Merged

pedrofrxncx merged 1 commit into
mainfrom
ci/run-migrations-unit-tests

Conversation

@pedrofrxncx

@pedrofrxncx pedrofrxncx commented Jul 8, 2026 •

Copy link
Copy Markdown
Collaborator

Why

The unit-test job in test.yml globbed only apps/mesh/src + packages for *.test.ts, so the three test files under apps/mesh/migrations/ never ran in CI:

  • index.test.ts — the guardrail that a migration file is registered in index.ts
  • 122-split-web-research-tier.test.ts
  • 077-tier-only-model-selection.test.ts

This is why #4179 shipped 123-drop-thread-projected-seq unregistered (so it never ran) with the guardrail sitting red, and nobody was alerted. A dead guardrail is worse than none.

What

Add apps/mesh/migrations to the find roots. All three tests pass locally. Integration/e2e are still excluded by the existing name filters.

Context

Follow-up to #4370. That PR's branch was auto-deleted on squash-merge and this commit got stranded on the deleted branch by a bad push; this is the same one-line change re-landed cleanly on top of current main.

🤖 Generated with Claude Code


Summary by cubic

Fix CI test discovery to run migration unit tests. We now include apps/mesh/migrations in the test search, so the three migration tests (including the index.test.ts guardrail) run in CI; integration and e2e tests remain excluded.

Written for commit 1efe395. Summary will update on new commits.

Review in cubic

The unit-test job globbed only `apps/mesh/src` + `packages`, so the three
tests under apps/mesh/migrations/ never ran in CI — including index.test.ts,
the guardrail against forgetting to register a migration. That's why #4179
shipped 123-drop-thread-projected-seq unregistered with the guardrail red.
Add apps/mesh/migrations to the find roots; all three pass.
@pedrofrxncx
pedrofrxncx merged commit 91312c6 into main Jul 8, 2026
14 checks passed
@pedrofrxncx
pedrofrxncx deleted the ci/run-migrations-unit-tests branch July 8, 2026 18:33
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