Skip to content

feat: migrate auth POC to Better Auth #151

feat: migrate auth POC to Better Auth

feat: migrate auth POC to Better Auth #151

Triggered via pull request July 11, 2026 23:14
Status Failure
Total duration 1m 9s
Artifacts

test-web.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
web-tests
Process completed with exit code 1.
src/server/api/trpc.integration.test.ts > tRPC integration > fails team procedure when user has no team: apps/web/src/server/api/trpc.integration.test.ts#L102
PrismaClientKnownRequestError: Invalid `db.user.create()` invocation in /home/runner/work/useSend/useSend/apps/web/src/test/factories/core.ts:14:18 11 12 export async function createUser(data?: Prisma.UserCreateInput): Promise<User> { 13 const n = nextValue(); → 14 return db.user.create( The column `betterAuthEmailVerified` does not exist in the current database. ❯ ei.handleRequestError ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:228:13 ❯ ei.handleAndLogRequestError ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:174:12 ❯ ei.request ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:143:12 ❯ a ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:833:24 ❯ src/server/api/trpc.integration.test.ts:102:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'P2022', meta: { modelName: 'User', column: 'betterAuthEmailVerified' }, clientVersion: '6.19.3', batchRequestIdx: undefined }
src/server/api/trpc.integration.test.ts > tRPC integration > resolves team procedure from postgres team membership: apps/web/src/test/factories/core.ts#L49
PrismaClientKnownRequestError: Invalid `db.user.create()` invocation in /home/runner/work/useSend/useSend/apps/web/src/test/factories/core.ts:14:18 11 12 export async function createUser(data?: Prisma.UserCreateInput): Promise<User> { 13 const n = nextValue(); → 14 return db.user.create( The column `betterAuthEmailVerified` does not exist in the current database. ❯ ei.handleRequestError ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:228:13 ❯ ei.handleAndLogRequestError ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:174:12 ❯ ei.request ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:143:12 ❯ a ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:833:24 ❯ Module.createTeamWithUser src/test/factories/core.ts:49:16 ❯ src/server/api/trpc.integration.test.ts:83:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'P2022', meta: { modelName: 'User', column: 'betterAuthEmailVerified' }, clientVersion: '6.19.3', batchRequestIdx: undefined }
src/server/api/trpc.integration.test.ts > tRPC integration > runs protected procedure with persisted user context: apps/web/src/server/api/trpc.integration.test.ts#L63
PrismaClientKnownRequestError: Invalid `db.user.create()` invocation in /home/runner/work/useSend/useSend/apps/web/src/test/factories/core.ts:14:18 11 12 export async function createUser(data?: Prisma.UserCreateInput): Promise<User> { 13 const n = nextValue(); → 14 return db.user.create( The column `betterAuthEmailVerified` does not exist in the current database. ❯ ei.handleRequestError ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:228:13 ❯ ei.handleAndLogRequestError ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:174:12 ❯ ei.request ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/RequestHandler.ts:143:12 ❯ a ../../node_modules/.pnpm/@prisma+client@6.19.3_prisma@6.19.3_magicast@0.3.5_typescript@5.9.3__typescript@5.9.3/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:833:24 ❯ src/server/api/trpc.integration.test.ts:63:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'P2022', meta: { modelName: 'User', column: 'betterAuthEmailVerified' }, clientVersion: '6.19.3', batchRequestIdx: undefined }
web-tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/