Skip to content

Turnstile integration for fraud protection #60

Turnstile integration for fraud protection

Turnstile integration for fraud protection #60

Triggered via pull request March 12, 2026 20:11
Status Failure
Total duration 15m 27s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors
E2E Tests (Local Emulator, Node 22.x)
Process completed with exit code 1.
src/lib/risk-scores.tsx > loader rethrows private engine import errors: apps/backend/src/lib/risk-scores.tsx#L280
Error: ENOENT: no such file or directory, mkdtemp '/home/runner/work/stack-auth/stack-auth/tmp/private-risk-engine-iqpcLn' ❯ src/lib/risk-scores.tsx:280:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'mkdtemp', path: '/home/runner/work/stack-auth/stack-auth/tmp/private-risk-engine-iqpcLn' }
tests/backend/endpoints/api/v1/external-db-sync-race.test.ts > External DB Sync - Race Condition Tests > Deletes near pagination boundaries are honored: apps/e2e/tests/backend/endpoints/api/v1/external-db-sync-race.test.ts#L183
error: null value in column "signUpAt" of relation "ProjectUser" violates not-null constraint ❯ ../../node_modules/.pnpm/pg@8.16.3/node_modules/pg/lib/client.js:545:17 ❯ tests/backend/endpoints/api/v1/external-db-sync-race.test.ts:183:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 521, severity: 'ERROR', code: '23502', detail: 'Failing row contains (c145bf42-7f64-468e-a301-483b86f56a5f, 2026-03-12 20:21:52.462, 2026-03-12 20:21:52.462, null, Paged User 1, null, null, f, null, null, 7a746cfa-2863-4388-b92c-f246cc5e24f3, main, 220bde6d-bd41-419a-b832-5d38e49271f0, f, null, null, t, 2026-03-12 20:21:52.462, f, null, null, 0, 0, null, null, null, null, null, null).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'ProjectUser', column: 'signUpAt', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2023', routine: 'ExecConstraints' }
tests/backend/endpoints/api/v1/external-db-sync-high-volume.test.ts > External DB Sync - High Volume Tests > High Volume: Syncs more than 1000 users: apps/e2e/tests/backend/endpoints/api/v1/external-db-sync-high-volume.test.ts#L94
error: null value in column "signUpAt" of relation "ProjectUser" violates not-null constraint ❯ ../../node_modules/.pnpm/pg@8.16.3/node_modules/pg/lib/client.js:545:17 ❯ tests/backend/endpoints/api/v1/external-db-sync-high-volume.test.ts:94:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 518, severity: 'ERROR', code: '23502', detail: 'Failing row contains (a421c3ca-118c-49da-9cdb-65de5d29b4b3, 2026-03-12 20:24:16.201, 2026-03-12 20:24:16.201, null, HV User 1, null, null, f, null, null, 7baceca6-3b1b-40fc-90a1-07aae4ff0ff2, main, 2e676f4d-1f62-4afd-95af-79b0706bf1eb, f, null, null, t, 2026-03-12 20:24:16.201, f, null, null, 0, 0, null, null, null, null, null, null).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'ProjectUser', column: 'signUpAt', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2023', routine: 'ExecConstraints' }
tests/backend/endpoints/api/v1/external-db-sync-advanced.test.ts > External DB Sync - Advanced Tests > High volume with deletes interleaved retains the expected dataset: apps/e2e/tests/backend/endpoints/api/v1/external-db-sync-advanced.test.ts#L1012
error: null value in column "signUpAt" of relation "ProjectUser" violates not-null constraint ❯ ../../node_modules/.pnpm/pg@8.16.3/node_modules/pg/lib/client.js:545:17 ❯ tests/backend/endpoints/api/v1/external-db-sync-advanced.test.ts:1012:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 526, severity: 'ERROR', code: '23502', detail: 'Failing row contains (6cd9d59f-2b15-4c84-a67b-408e637627ba, 2026-03-12 20:19:02.694, 2026-03-12 20:19:02.694, null, Interleave User 1, null, null, f, null, null, 1ead4352-ac10-4bc0-a73c-1ce0ead1e085, main, c7a9acad-c418-4a9d-a2bc-9f157fe239f7, f, null, null, t, 2026-03-12 20:19:02.694, f, null, null, 0, 0, null, null, null, null, null, null).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'ProjectUser', column: 'signUpAt', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2023', routine: 'ExecConstraints' }
tests/backend/endpoints/api/v1/external-db-sync-advanced.test.ts > External DB Sync - Advanced Tests > High Volume: 200+ users to test batching: apps/e2e/tests/backend/endpoints/api/v1/external-db-sync-advanced.test.ts#L431
error: null value in column "signUpAt" of relation "ProjectUser" violates not-null constraint ❯ ../../node_modules/.pnpm/pg@8.16.3/node_modules/pg/lib/client.js:545:17 ❯ tests/backend/endpoints/api/v1/external-db-sync-advanced.test.ts:431:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 518, severity: 'ERROR', code: '23502', detail: 'Failing row contains (e1e23876-7054-4f11-834c-2bb9d88e0e41, 2026-03-12 20:18:35.242, 2026-03-12 20:18:35.242, null, HV User 1, null, null, f, null, null, 8d18e9c4-5010-4643-81c7-6ed46c2bbbd2, main, bf67a77c-5add-4f6c-b4c5-309d00d6b327, f, null, null, t, 2026-03-12 20:18:35.242, f, null, null, 0, 0, null, null, null, null, null, null).', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'ProjectUser', column: 'signUpAt', dataType: undefined, constraint: undefined, file: 'execMain.c', line: '2023', routine: 'ExecConstraints' }
tests/js/oauth.test.ts > adds provider_scope from oauthScopesOnSignIn for authenticate flow: apps/e2e/tests/js/oauth.test.ts#L50
AssertionError: expected null to be 'repo' // Object.is equality - Expected: "repo" + Received: null ❯ it.timeout tests/js/oauth.test.ts:50:53