Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Describe the bug
Hey team. was not able to find this in the docs or on GitHub quickly. I am wondering why everything seems to be correct, but transform 0ms?
I tested running 2 shards and then merging the blobs.
Here are the stats:
### Shard 1
Test Files 20 passed (20)
Tests 204 passed (204)
Start at 01:18:07
Duration 1.01s (transform 1.52s, setup 2.07s, import 3.88s, tests 890ms, environment 1ms)
### Shard 2
Test Files 20 passed (20)
Tests 233 passed (233)
Start at 01:18:08
Duration 1.27s (transform 1.89s, setup 2.10s, import 3.82s, tests 2.49s, environment 1ms)
### Merged report
Test Files 40 passed (40)
Tests 437 passed (437)
Start at 01:18:09
Duration 2.28s (transform 0ms, setup 4.17s, import 7.70s, tests 3.38s, environment 2ms)
Per blob 1.01s 1.27s
is this intended? I would assume if we can calculate import then transform is also there.
Thank you.
Reproduction
https://github.com/n0th1ng-else/voice-to-text-bot/tree/vitest-merge-report-stats
pnpm installpnpm test- give sequential stats (if needed)pnpm test:merge- runs 2 shards + merges the report
System Info
System:
OS: macOS 26.3
CPU: (10) arm64 Apple M5
Memory: 112.31 MB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.11.1 - /Users/sen/.nvm/versions/node/v24.11.1/bin/node
npm: 11.6.2 - /Users/sen/.nvm/versions/node/v24.11.1/bin/npm
pnpm: 10.33.0 - /Users/sen/Library/pnpm/pnpm
Browsers:
Chrome: 149.0.7827.54
Safari: 26.3
npmPackages:
@vitest/coverage-v8: 4.1.5 => 4.1.5
@vitest/ui: 4.1.5 => 4.1.5
vitest: 4.1.5 => 4.1.5
vitest-sonar-reporter: 3.0.0 => 3.0.0Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Activity
fix: correct transform time calculation in merged report (#10570) (#1…