fix(e2e): move roles.sql out of supabase/ so the CLI stops seeding it

↗ view on GitHub · Amalanand Muthukumaran · 2026-07-31 · ea7cb9ab

The Supabase CLI auto-seeds supabase/roles.sql as globals during
'supabase start'. On the current supabase/postgres 17.x images that
seed connection is not a superuser, and supabase_auth_admin is a
reserved role, so ALTER ROLE fails with SQLSTATE 42501 and kills the
e2e job before Playwright runs.

The file only exists for the docker-compose stack, where it runs as
the init superuser via /docker-entrypoint-initdb.d. Move it to
docker/db-init/ and update the compose mount; CI's 'supabase start'
no longer sees it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Repository open-legal-products/mike
Author Amalanand Muthukumaran <mamalanand3@gmail.com>
Authored
Committed
Parents 168b6977
Stats 2 files changed , +4 , -1
Part of Land a self-hosted Mike stack

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-ea7cb9ab.md from inside the repo you want the change in.

⬇ Download capture-commit-ea7cb9ab.md