|
| 1 | +# Test user matrix |
| 2 | + |
| 3 | +Legend: R = reads user records only (no direct auth/public users writes detected); W = writes user records (create/update/delete/SQL). |
| 4 | + |
| 5 | +| Test file | Users | User ops (R/W) | Parallel compatibility | |
| 6 | +| --- | --- | --- | --- | |
| 7 | +| tests/admin-credits.test.ts | USER_ID | R | Shared | |
| 8 | +| tests/apikeys-expiration.test.ts | USER_ID | R | Shared | |
| 9 | +| tests/app-id-validation.test.ts | USER_ID | R | Shared | |
| 10 | +| tests/app-permissions.test.ts | USER_ID, USER_ID_2 | R | Shared | |
| 11 | +| tests/app.test.ts | USER_ID | R | Shared | |
| 12 | +| tests/audit-logs.test.ts | USER_ID | R | Shared | |
| 13 | +| tests/build_time_tracking.test.ts | USER_ID | R | Shared | |
| 14 | +| tests/bundle-create.test.ts | USER_ID | R | Shared | |
| 15 | +| tests/bundle-error-cases.test.ts | USER_ID | R | Shared | |
| 16 | +| tests/bundle-semver-validation.test.ts | USER_ID | R | Shared | |
| 17 | +| tests/channel_devices/channel_deletion.test.ts | USER_ID | R | Shared | |
| 18 | +| tests/channel_devices/channel_self_delete.test.ts | USER_ID | R | Shared | |
| 19 | +| tests/cli-channel.test.ts | USER_ID | R | Shared | |
| 20 | +| tests/cli-hashed-apikey.test.ts | USER_ID, USER_ID_RLS | R | Shared | |
| 21 | +| tests/cli-s3.test.ts | USER_ID | R | Shared | |
| 22 | +| tests/cli.test.ts | USER_ID | R | Shared | |
| 23 | +| tests/cron_stat_integration.test.ts | USER_ID | R | Shared | |
| 24 | +| tests/cron_stat_org.test.ts | USER_ID | R | Shared | |
| 25 | +| tests/delete-user-reauth.test.ts | USER_ID, USER_ID_DELETE_USER_STALE, USER_ID_DELETE_USER_FRESH, USER_EMAIL_DELETE_USER_FRESH, USER_EMAIL | R | Shared | |
| 26 | +| tests/email-preferences.test.ts | USER_ID, USER_ID_EMAIL_PREFS, USER_EMAIL_EMAIL_PREFS, USER_EMAIL | R | Shared | |
| 27 | +| tests/enforce-encrypted-bundles.test.ts | USER_ID, USER_ID_ENCRYPTED | R | Shared | |
| 28 | +| tests/hashed-apikey-rls.test.ts | USER_ID, USER_ID_RLS | R | Shared | |
| 29 | +| tests/organization-api.test.ts | USER_ID, USER_EMAIL, USER_ADMIN_EMAIL | R | Shared | |
| 30 | +| tests/password-policy.test.ts | USER_ID, USER_ID_2, USER_EMAIL, USER_PASSWORD, USER_PASSWORD_HASH | W | Shared | |
| 31 | +| tests/private-error-cases.test.ts | USER_ID | R | Shared | |
| 32 | +| tests/rbac-permissions.test.ts | USER_ID | R | Shared | |
| 33 | +| tests/trigger-error-cases.test.ts | USER_EMAIL | R | Shared | |
| 34 | +| tests/webhook-signature.test.ts | USER_ID | R | Shared | |
| 35 | +| tests/webhooks.test.ts | USER_ID | R | Shared | |
| 36 | + |
| 37 | +Notes: |
| 38 | +- “Parallel compatibility” is a heuristic: “Isolated” means only dedicated users or single-use users detected; “Shared” means users are reused across multiple tests. |
| 39 | +- If a test writes to auth/public users, it should use dedicated users or cleanup per test to be safe in parallel runs. |
0 commit comments