Repository navigation
Fix source package resolution during development startup - #1775
Open
LeoXing1996 wants to merge 1 commit into
Open
LeoXing1996 wants to merge 1 commit into
LeoXing1996 wants to merge 1 commit into
Conversation
|
Someone is attempting to deploy a commit to the luokerenx4's Team Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After a dependency install without workspace build outputs,
pnpm devexits withERR_MODULE_NOT_FOUNDfor@traderalice/update-lifecycle/dist/node.js. Guardian previously enabled source exports only for its backend children, after its own imports had already loaded. The frontend then independently fails to resolve@traderalice/update-lifecycleand@traderalice/connector-protocol.Enable
openalice-sourcewhen launching Guardian in both development commands, alias the frontend's workspace dependencies to their TypeScript source in Vite, and document the source startup contract. The existing package exports and backend child configuration remain the authoritative source-resolution mechanism.Verification
pnpm devbrowser surface on macOS / Node 26.5.0 before building workspace packages: Quick Start rendered correctly, refresh produced no new console errors, and the previously failing update-lifecycle and connector-protocol modules returned HTTP 200. Theirdist/directories were absent during this check.pnpm exec tsc --noEmit— passed.pnpm exec tsc -b— passed after building its workspace declaration dependencies.pnpm exec tsc --noEmit --target ES2023 --module ESNext --moduleResolution bundler --esModuleInterop --strict --skipLibCheck ui/vite.config.ts— passed.pnpm test— 7,733 passed, 3 failed, 9 skipped; 897 files passed, 3 failed, 1 skipped. The same three test-selection assertion failures and Electron suite-loading failure reproduced in a detached, unchangeddevworktree atd2914227184b71be115ce714cd53dbeaa0ccb03cusing the same installed dependencies. Test-selection failures are tracked in Test-selection subprocess contracts fail on the dev baseline with Vitest 5 #1774; the Electron failure is a local installation missing its runtime path.git diff --check— passed.Boundary touch
Source development startup and frontend module resolution. Native Windows startup and the direct
dev:no-relaysurface have not been exercised in this change. The full hermetic suite remains failing on the baseline described above; this PR is left open for maintainer review.