Repository navigation
ci: run apps/mesh/migrations unit tests (were never globbed) - #4374
Merged
Merged
Conversation
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.
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.
Why
The unit-test job in
test.ymlglobbed onlyapps/mesh/src+packagesfor*.test.ts, so the three test files underapps/mesh/migrations/never ran in CI:index.test.ts— the guardrail that a migration file is registered inindex.ts122-split-web-research-tier.test.ts077-tier-only-model-selection.test.tsThis is why #4179 shipped
123-drop-thread-projected-sequnregistered (so it never ran) with the guardrail sitting red, and nobody was alerted. A dead guardrail is worse than none.What
Add
apps/mesh/migrationsto thefindroots. 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.