You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e307781
Browse filesBrowse the repository at this point in the historyBrowse files
test(plugins): observe active registry reuse at the boundary tools.ts crosses
Four `resolvePluginTools` tests failed on `main`: the compatible-registry mock
was never called. #133518 moved `resolveCompatibleRuntimePluginRegistry` out of
`loader-runtime-registry.ts` into `active-runtime-registry.ts` so active-registry
reads stop pulling in the loader eagerly. `tools.ts` calls
`getLoadedRuntimePluginRegistry`, which now reaches that function intra-module,
so the file's `vi.mock("./loader.js")` seam stopped observing it.
Behavior was never affected: the tool names resolve and no cold load happens,
because the real implementation moved verbatim. Only the observation point was
stale, so count the call at the boundary `tools.ts` actually crosses and keep
delegating to the real implementation.
Verified against d3e058c^ (87/87 pass) and d3e058c (4 fail), and the
probe that proves the old `./loader.js` seam now takes zero calls in this file.
0 commit comments