Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Vitest architecture

Changing types/general in Vitest reaches 189 modules. 30 files call it directly. Snapshot cab34bb.

The first file to open in Vitest is types/general. A change there reaches 189 of 264 modules.

This lead file reaches 72% of the graph. The median published proof reaches 60%.

types/general189 · 30 fan-in
utils/traces189 · 27 fan-in
runner/types186 · 67 fan-in
types/worker186 · 28 fan-in
runtime/config186 · 24 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Vitest (packages/vitest/src) · Score: 72/100 (Moderate technical debt) · 264 modules · 1,121 edges · TypeScript · 66 of 94 · Language score median 80.1

Cycles
100+
Duplicate authorities
0
God modules
16
Layer violations
8
arc impact types/general

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Vitest
[![ArcSight architecture proof for Vitest](https://arcsight.ai/badge/proof/vitest/)](https://arcsight.ai/repositories/vitest/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Vitest · cab34bb

RankFileFan-inBlastShare
1types/general

concentrates too many responsibilities, shared utility hub

3018972%
2utils/traces

concentrates too many responsibilities, shared utility hub, crosses a layer boundary

2718972%
3runtime/runner/types6718670%
4types/worker2818670%
5runtime/config2418670%

Circular dependencies

This snapshot records 100+ dependency cycles.

Nearby proofs

Snapshot notes

In vitest-dev vitest, a change that begins in types general keeps traveling until it reaches utils traces, with runner types as the third file on that walk and the node-core group as the group around them, snapshot mark ecffcbefae.

types worker is worth opening beside types general because runtime config still participates when types worker moves, and pools types stays in view for vitest-dev vitest, snapshot mark ecffcbefae.

Review types browser only after utils traces and types coverage are both on the table, since the link from utils coverage back to runner types belongs to vitest-dev vitest under snapshot mark ecffcbefae.

utils chain and workers types are later stops, and a reviewer who has already seen types general should still look at types rpc before treating the node-core group as understood for vitest-dev vitest, snapshot mark ecffcbefae.

types general closes the file list after utils traces and runner types, which keeps the vitest-dev vitest note tied to snapshot mark ecffcbefae, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • node-core (150 modules)
  • runner-types (102 modules)
  • vm-esm-executor (8 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in vitest-dev vitest: types general?
Start with types general, because the rest of the vitest-dev vitest walk leaves from that file and utils traces is the next file in the same review. Commit ecffcbefae records it.
What else is on the vitest-dev vitest walk besides types general and runner types?
runner types and types worker stay on the walk with runtime config, which are different files from types general inside the node-core group for vitest-dev vitest. Commit ecffcbefae records it.
How should a reviewer use pools types in the vitest-dev vitest snapshot?
Keep pools types, types browser, and types coverage open together, then check utils coverage before merging the vitest-dev vitest change. Commit ecffcbefae records it.
Where does the vitest-dev vitest review stop after utils chain?
Stop after utils chain, workers types, and types rpc have been compared with types general, leaving the node-core group until those vitest-dev vitest files are clear. Commit ecffcbefae records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/vitest/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo