Configure dual-driver setup for Vercel deployment: Turso for sys namespace, Memory for apps#1147
Conversation
…e, Memory for apps Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/b0cabda0-dbb2-41c2-8ae6-47f8e3e6cabc Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@claude[agent] 2026-04-15 01:54:05.267 [info] [Vercel] Booting ObjectStack Kernel (app-host)...
|
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/386f4e43-c30c-4e81-bebf-d47cbf07430f Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Fixed in 71e99b6. The Pino logger warning occurred because the logging library was being bundled by esbuild but uses dynamic require() at runtime. Added pino and pino-pretty to:
The logger will now work properly with structured logging instead of falling back to console. |
|
@claude[agent] ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /apps/server/package.json
|
|
@claude[agent] https://docs.github.com/en/copilot/responsible-use/copilot-coding-agent 2 dependencies were added: pino@^10.3.1, pino-pretty@^13.1.3 |
|
@claude[agent] ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /apps/server/package.json 2 dependencies were added: pino@^10.3.1, pino-pretty@^13.1.3 |
|
@claude[agent] ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /apps/server/package.json 2 dependencies were added: pino@^10.3.1, pino-pretty@^13.1.3 |
|
@copilot ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /apps/server/package.json 2 dependencies were added: pino@^10.3.1, pino-pretty@^13.1.3 |
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/1ae5e6a3-687f-481e-9cf6-9361c11db750 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Fixed in 61a4b20. Updated
Fixed in 61a4b20. Ran |
Install external dependencies (pino, pino-pretty, @libsql/client) via npm into api/node_modules/ during the build step. This creates real directories (no symlinks) that Vercel can properly package for the serverless function. - Updated build-vercel.sh to install external deps in api/node_modules/ - Updated vercel.json includeFiles to api/node_modules/** - Added @libsql/client to esbuild EXTERNAL list - Added api/node_modules/ and public/ to .gitignore Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/a2378bd5-dff3-42d5-bf08-1dff787cf351 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/a2378bd5-dff3-42d5-bf08-1dff787cf351 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
…ry setting Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/3e1b55e8-5330-4645-b7d8-61e8e032fa00 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/3e1b55e8-5330-4645-b7d8-61e8e032fa00 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
…not found Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/a1cc1f6c-d9ba-459d-b0cb-fb6ba8dace02 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Configured the server to use separate storage backends on Vercel: Turso (persistent) for system objects, in-memory for example apps (CRM, Todo, BI).
Changes
'memory','turso')ql.setDatasourceMapping():sysnamespace → Turso driver (persistent storage)Implementation
This ensures system metadata persists across deployments while example app data remains transient.