mirror of
https://github.com/bitbaum/substrata.git
synced 2026-12-05 00:18:23 +01:00
A new `account` job in browser-smoke.yml runs scripts/ux/account-journey.mjs in Chromium against the production build and a PostgreSQL built from scripts/db/*.sql: sign up with email and password (mail is off, so the account signs in at once), see the account menu, sign out, have a wrong password refused, sign back in, and a foreign origin gets 403. The fleet's shared journey assumes account mail, which Substrata does not send, so this drives Substrata's own screens. lib/auth.ts now also trusts AUTH_URL as an origin, so the journey passes with better-auth's origin check on (NODE_ENV=test and TEST stay unset). On the box, lib/request-guards.ts already reads AUTH_URL as the public origin. Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9 Co-authored-by: Claude <noreply@anthropic.com>