Repository navigation
chore(ci): record which unit tests a change reaches, without skipping any - #10593
Merged
Merged
Conversation
… any Adds @useblacksmith/vitest to the apps/sim unit run in CI in shadow mode. Each run records what every test file loads and logs how many files a selecting run would have skipped, while still running every test. Nothing about what runs changes; the logs are the evidence for deciding whether to let PR runs skip unaffected tests.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Confidence Score: 5/5
[Low impact] No blocking issues were found; the PR appears safe to merge. SummaryAdds pinned
Reviews (1) · Last reviewed commit: "chore(ci): record which unit tests a cha..." · Reviewed by Greptile |
waleedlatif1
added a commit
that referenced
this pull request
Dec 1, 2026
… process (#10597) The test replaced the global process with a spread copy, which drops EventEmitter methods such as process.on. Since #10593 added the Blacksmith vitest plugin in CI (GITHUB_ACTIONS=true), the run calls process.on during the file and test shard 2/2 failed with "process.on is not a function". Stub only the env var, and restore it after each test.
This branch was successfully deployed
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.
Summary
@useblacksmith/vitest0.7.0 (pinned; the newest release past the 7-day minimum release age) to the apps/sim unit-test config, CI only (GITHUB_ACTIONS), unit mode only (not integration or live)shadow mode: N of M would have been skippedType of Change
Testing
GITHUB_ACTIONS=trueover 25 test files: first run records, second run reports 25 of 25 would have been skipped and still runs all 495 testsChecklist
test-auditauthoring gate)