-
Notifications
You must be signed in to change notification settings - Fork 1
Addressing PR comments #1071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Addressing PR comments #1071
Changes from 4 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
435b2e6
Initial plan
Claude a2f684b
Add LLM provider auto-detection to AIServicePlugin
Claude 6b1af48
Fix metadata package test failures
Claude 3c82b74
Add vitest config to runtime package to fix CI test failures
Claude 0d7d18f
Fix metadata history tracking by persisting registered metadata to lo…
Claude f83eaed
Fix TypeScript error: iterate over loader Map values, not entries
Claude b7d64ae
Remove error swallowing in metadata register to surface real failures
Claude cf50b78
Fix app-plugin test to match new manifest service registration
Claude f482e30
Fix metadata unregister and rollback functionality
Claude 200ef60
Fix AI SDK package resolution in Vercel deployment
Claude 3a87d67
Fix database-loader delete() to use correct driver signature
Claude 872ab54
Fix pnpm-lock.yaml: correct @ai-sdk/* version constraints and regener…
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| // Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license. | ||
|
|
||
| import { defineConfig } from 'vitest/config'; | ||
| import path from 'node:path'; | ||
|
|
||
| export default defineConfig({ | ||
| resolve: { | ||
| alias: { | ||
| '@objectstack/core': path.resolve(__dirname, '../core/src/index.ts'), | ||
| '@objectstack/rest': path.resolve(__dirname, '../rest/src/index.ts'), | ||
| '@objectstack/spec/api': path.resolve(__dirname, '../spec/src/api/index.ts'), | ||
| '@objectstack/spec/contracts': path.resolve(__dirname, '../spec/src/contracts/index.ts'), | ||
| '@objectstack/spec/data': path.resolve(__dirname, '../spec/src/data/index.ts'), | ||
| '@objectstack/spec/kernel': path.resolve(__dirname, '../spec/src/kernel/index.ts'), | ||
| '@objectstack/spec/system': path.resolve(__dirname, '../spec/src/system/index.ts'), | ||
| '@objectstack/spec': path.resolve(__dirname, '../spec/src/index.ts'), | ||
| '@objectstack/types': path.resolve(__dirname, '../types/src/index.ts'), | ||
| }, | ||
| }, | ||
| test: { | ||
| globals: true, | ||
| environment: 'node', | ||
| include: ['src/**/*.test.ts'], | ||
| }, | ||
| }); |
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The final fallback warning is misleading when an env var is set but the provider SDK fails to load (or the factory export isn’t a function): it currently logs “No LLM provider configured via environment variables…”. Consider changing this to something like “No usable LLM provider could be initialized; falling back to MemoryLLMAdapter” and optionally include which provider/envKey was attempted so production logs are actionable (update the related test expectations accordingly).