Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…config The @object-ui/auth package was missing from the vitest resolve aliases, causing CI test failures when tests ran without a prior build step. Also added aliases for mobile, permissions, tenant, plugin-ai, plugin-designer, and plugin-workflow for completeness. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix build issues and update test suite
fix: add missing vitest resolve aliases for @object-ui/auth and other new packages
Feb 10, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Vitest module resolution so root-level test runs can import newly added workspace packages directly from src/ without requiring prebuilt dist/ artifacts (fixing CI failures caused by missing aliases such as @object-ui/auth).
Changes:
- Added
resolve.aliasentries for newer@object-ui/*packages (auth/mobile/permissions/tenant). - Added
resolve.aliasentries for newer enterprise plugins (plugin-ai,plugin-designer,plugin-workflow).
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.
CI test job fails because
@object-ui/authhas no resolve alias invitest.config.mts. Vitest can't resolve the package without builtdist/artifacts, and the test job runs without a prior build step.Changes
vitest.config.mtsfor packages added after the alias list was last updated:@object-ui/auth(root cause of CI failure — imported transitively viaapps/console/src/App.tsx)@object-ui/mobile,@object-ui/permissions,@object-ui/tenant@object-ui/plugin-ai,@object-ui/plugin-designer,@object-ui/plugin-workflowThese follow the existing pattern mapping
@object-ui/*→./packages/*/srcso vitest resolves source directly without requiringdist/.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.