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
test(types): pin the host-only resolution defect on a name the workspace can never contain (#16723)
The host-only example was `@objectstack/organizations`, a real cloud-private
package when the pin was written. Once that package became a workspace member,
pnpm's hoisted store carried it and the framework-anchored resolve succeeded on
any built tree — so the assertion held in CI only because the shard running it
had not built that package. Build order, not the property it asserts.
The example is now `@fixture/host-only`, a scope this workspace cannot contain,
and the case proves its own premise instead of assuming it: it first resolves
the name FROM THE HOST APP (without which a name existing nowhere would satisfy
the assertion vacuously), then requires the framework-side failure to name the
BARE SPECIFIER. A reachable-but-unbuilt package throws MODULE_NOT_FOUND naming
its missing entry file instead, so that throw can no longer satisfy this pin in
either build state.
Claude-Session: https://claude.ai/code/session_015QE8qk46e5CHJxyQEUjbf8
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments