You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
supabase.test.ts (in packages/protect and packages/stack) was disabled in CI as part of #477 — it needs a live Supabase project (SUPABASE_URL + SUPABASE_ANON_KEY, plus Postgres for fixture DDL) and could not move to the containerised Postgres the rest of the Test JS suite now uses. It currently describe.skipIfs itself when the Supabase environment is absent.
Background: the Test JS CI / EQL version-coupling incident (see the incident post-mortem).
Goal
Bring the Supabase integration tests back into CI, running reproducibly against an ephemeral, pinned, containerised Supabase — the same principle applied to the plain-Postgres suite in #477. No shared external project.
Approach
Use the Supabase CLI local stack (supabase start / the supabase/setup-cli action) to spin up Supabase in Docker in CI — likely a dedicated job, since the full stack (Postgres, Auth, PostgREST, Kong, …) is heavier than a single Postgres container.
Install a pinned EQL into its Postgres using the Supabase-specific bundle (cipherstash-encrypt-supabase.sql — Supabase needs the -supabase / -no-operator-family variant, not the standard one).
Context
supabase.test.ts(inpackages/protectandpackages/stack) was disabled in CI as part of #477 — it needs a live Supabase project (SUPABASE_URL+SUPABASE_ANON_KEY, plus Postgres for fixture DDL) and could not move to the containerised Postgres the rest of theTest JSsuite now uses. It currentlydescribe.skipIfs itself when the Supabase environment is absent.Background: the
Test JSCI / EQL version-coupling incident (see the incident post-mortem).Goal
Bring the Supabase integration tests back into CI, running reproducibly against an ephemeral, pinned, containerised Supabase — the same principle applied to the plain-Postgres suite in #477. No shared external project.
Approach
supabase start/ thesupabase/setup-cliaction) to spin up Supabase in Docker in CI — likely a dedicated job, since the full stack (Postgres, Auth, PostgREST, Kong, …) is heavier than a single Postgres container.cipherstash-encrypt-supabase.sql— Supabase needs the-supabase/-no-operator-familyvariant, not the standard one).supabase.test.tsat the local stack's URL / anon-key and remove the skip guard added in ci: run Test JS integration tests against a pinned postgres-eql container #477.Considerations
protectandstackcopies ofsupabase.test.tsare still needed.Acceptance criteria
supabase.test.tsruns in CI against a containerised, version-pinned Supabase + EQL — no shared external Supabase project.describe.skipIfguard from ci: run Test JS integration tests against a pinned postgres-eql container #477 is removed.