Turnstile integration for fraud protection #73
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-CTtafZ'
❯ 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-CTtafZ' }
|
|
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 (120820c8-c2d1-4858-8d70-0f294fbe538f, 2026-03-13 02:49:47.504, 2026-03-13 02:49:47.504, null, Paged User 1, null, null, f, null, null, aa1001be-69ab-4123-98b3-2e32aafd7af2, main, 2383d3a6-f00b-44be-a912-441847946eeb, f, null, null, t, 2026-03-13 02:49:47.504, 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 (c660faf4-57de-4a48-b84f-97d761c585d0, 2026-03-13 02:52:02.607, 2026-03-13 02:52:02.607, null, HV User 1, null, null, f, null, null, de68d742-3486-47c6-a738-f0a7490b4fe3, main, 56b98630-7153-4a4b-aa18-bb0fdd24ab74, f, null, null, t, 2026-03-13 02:52:02.607, 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 (fae61625-65cf-4c81-9f06-ba94062d7f40, 2026-03-13 02:46:56.909, 2026-03-13 02:46:56.909, null, Interleave User 1, null, null, f, null, null, 45053fe3-7b52-40f1-902f-9f839ffb8c88, main, ac0139c1-8343-4091-b7fd-0705b6956226, f, null, null, t, 2026-03-13 02:46:56.909, 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 (edd7d7cb-f63f-46a9-b911-c486c2c7f05d, 2026-03-13 02:46:27.981, 2026-03-13 02:46:27.981, null, HV User 1, null, null, f, null, null, 327080f8-15b0-4be6-b6e0-d13f81efcbca, main, 9a482955-8e4e-42a9-a0c4-9c4036f72d2a, f, null, null, t, 2026-03-13 02:46:27.981, 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
|