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
Ownership guard summary: a collect failure in error mode shows its cause's route, not the file's #880
area:ownershipWhich side (Node or Vite) loads a module; double instances, aliases, mocks reaching Node codebugSomething isn't workingpriority:lowNice to have
Under ownership: 'error' with diagnostics: true, a test file whose collection fails on a conflict is listed in the guard's summary with its cause's route, and with no loader. The file's own route is not used.
plugin.ts calls this.add(route, origin?.[1] ?? match[1], match[1], test) on that path without the reached argument, so reached defaults to { route }, which is the origin's route. The thrown error already carries the file's own route -> … line, so the right label is available there.
Only one file per test file takes this path, because error mode throws at the first conflict.
Acceptance criteria
On the collect-failure path, the summary names the file's own route and loader, as the warn path does.
A test covers that path, and another covers one file reached through several causes.
area:ownershipWhich side (Node or Vite) loads a module; double instances, aliases, mocks reaching Node codebugSomething isn't workingpriority:lowNice to have
Activity