test(supabase): avatar e2e on the sandbox only, per-session seed secret

pnpm e2e:avatar is now an alias of pnpm db:sandbox avatar-e2e and the DEV
script scripts/avatar-e2e.sh is removed; the suite fails on any target but
the sandbox gateway and database; an occupied port 57800 stops the run before
anything starts. The sandbox replaces the seed accounts' DEV password by a
per-session secret.
This commit is contained in:
bchanot committed 2026-11-01 22:55:23 +01:00
1 parent 26e4b1b0ee
commit cdd43ac431
16 files changed
+64 -100

No files matched your search

+2
View File
@@ -25,6 +25,8 @@ export const stack = {
serviceKey: need('SANDBOX_SERVICE_KEY'),
}
const PG_PASSWORD = need('SANDBOX_PG_PASSWORD')
/** The seeded accounts' password in this sandbox session (db-sandbox.sh replaces the seed's). */
export const SEED_PASSWORD = need('SANDBOX_SEED_PASSWORD')
/** The password of the accounts a run creates: random per run, kept in memory only. */
export const PASSWORD = randomBytes(18).toString('base64url')