Common entry chain
Every module request reaches the same main-process fetcher.
- workermodule runner: rpc().fetch()Worker sends a module request.startVitestModuleRunner.ts:145-151
- worker transport / RPC boundary
- maincreateMethodsRPC().fetch()Main-process RPC handler receives the request.rpc.ts:30-44
- mainproject._fetcher()Project-level fetch function is called.rpc.ts:44
- mainModuleFetcher.fetch()Branch by persistent-cache availability and worker transport.fetchModule.ts:360-379