Nx
Enterprise
Nx
Overview
Sign in / Sign up
Open main menu
Nx
GitHub
Select a tab
Overview
Runs
Analytics
Nx
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Filter
Filter exact branch match
Exact
Select status
Succeeded
32193
2056d5f6 Merge branch 'nrwl:master' into fix/project-graph-race-condition-v3
17 days ago
by enki
Failed
32162
ff92b8dc Merge branch 'fix/project-graph-race-condition-v2' of github.com:VibeOOO/nx into fix/project-graph-race-condition-v2
18 days ago
by enki
Failed
32162
3ba075f6 Merge branch 'master' into fix/project-graph-race-condition-v2
18 days ago
by enki
Failed
32162
414991d8 Merge branch 'master' into fix/project-graph-race-condition-v2
18 days ago
by enki
Canceled
32162
414991d8 Merge branch 'master' into fix/project-graph-race-condition-v2
18 days ago
by enki
Succeeded
master
c9021b0e fix(vite): NxReporter compatible with Vitest ≥0.29 (#31425) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(vite): must begin with lowercase` --> ## Current Behavior Running `nx test … --reporter=verbose` (or any additional Vitest reporter) on projects that use **Vitest ≥ 0.29** hangs indefinitely at the end of the run. `vitest` itself finishes, but the Nx task-runner never receives the *done* signal because **`NxReporter` only implements the legacy `onFinished()` hook**. When multiple reporters are configured, Vitest now emits `onTestRunEnd()` instead of `onFinished()`, so the promise in `NxReporter` remains unresolved and the worker process stays alive forever. ## Expected Behavior `nx test` (and affected `nx run-many --target=test`) exits cleanly on **all** Vitest versions, regardless of how many reporters are passed. * `NxReporter` resolves its internal promise via **either** `onTestRunEnd` (Vitest ≥ 0.29) **or** `onFinished` (Vitest ≤ 0.28). * No functional change in watch-mode. * No extra timers or fallbacks – just one shared helper. ## Implementation Notes * Added `onTestRunEnd` method that delegates to a private `_handleFinished`. * Re-implemented `onFinished` as a thin delegate to the same helper. * Original error-detection logic is untouched. ## Related Issue(s) Closes nrwl/nx#<insert-issue-number-if/when-one-exists> Co-authored-by: Paul Bohm <{{GITHUB_NOREPLY_EMAIL}}>
2 months ago
by enki
Succeeded
31425
15487302 fix(vite): NxReporter compatible with Vitest ≥0.29
2 months ago
by enki
Previous Page
Prev
Next
Next Page