Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🔨 chore: split test-app shards and deprecate `isOnboarded` (#13938)

YuTengjing4d7ca56c215b
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e1a5b92c412..55baf26eb04 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -97,8 +97,8 @@ jobs:
if: needs.check-duplicate-run.outputs.should_skip != 'true'
strategy:
matrix:
- shard: [1, 2]
- name: Test App (shard ${{ matrix.shard }}/2)
+ shard: [1, 2, 3]
+ name: Test App (shard ${{ matrix.shard }}/3)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -110,7 +110,7 @@ jobs:
run: pnpm install
- name: Run tests
- run: bunx vitest --coverage --silent='passed-only' --reporter=default --reporter=blob --shard=${{ matrix.shard }}/2
+ run: bunx vitest --coverage --silent='passed-only' --reporter=default --reporter=blob --shard=${{ matrix.shard }}/3
- name: Upload blob report
if: ${{ !cancelled() }}
diff --git a/packages/database/src/schemas/user.ts b/packages/database/src/schemas/user.ts
index 37f53f208a1..0876d1a3004 100644
--- a/packages/database/src/schemas/user.ts
+++ b/packages/database/src/schemas/user.ts
@@ -25,6 +25,7 @@ export const users = pgTable(
fullName: text('full_name'),
interests: varchar('interests', { length: 64 }).array(),
+ /** @deprecated */
isOnboarded: boolean('is_onboarded').default(false),
agentOnboarding: jsonb('agent_onboarding').$type<UserAgentOnboarding>(),
onboarding: jsonb('onboarding').$type<UserOnboarding>(),