Version: 1.0.1Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Last Updated: 2026-04-24
Status: Reference for deferred automation (PR diff comments, Branching-first promotion).
Goal
Pick one supported integration path to:- Resolve the preview branch (or migration apply status) for a
prod → productionPR on projectsrcaoozjkrughebmbvfb. - Surface “what will run in prod” in GitHub (check run body, PR comment, or artifact) without leaking secrets.
Option A — Supabase CLI in GitHub Actions (current baseline)
Auth:SUPABASE_ACCESS_TOKEN + supabase link --project-ref … --password … (already used in deploy workflows).
Useful commands (verify flags with npx supabase <cmd> --help on the pinned CLI version):
supabase migration list --linked— local vs remote migration filenames (post-link inscripts/supabase/deploy-preflight.ts).supabase db diff --linked— requires Docker on the runner; compares linked remote to local migration state (used for dev drift gate).- Branch-specific subcommands evolve by CLI version; re-check Supabase CLI reference before building “link to preview DB” automation.
Option B — Supabase Management API
- Branches: Supabase API docs (branch list, merge status — endpoints and auth scopes change with product releases).
- Typical need: personal access token / org token with permission to read branch metadata for project
srcaoozjkrughebmbvfb.
Option C — GitHub Check + Dashboard (lowest automation)
- Rely on the Supabase Preview GitHub check from the GitHub integration (see
VERCEL_SUPABASE_ENV_ALIGNMENT.md§2.2–§3.2). - PR automation only posts links to Dashboard branches + migration list from git diff (see
scripts/supabase/release-pr-db-summary.ts).
Recommendation (until spike is re-run on current product)
- Require Supabase Preview check on
productionPRs (branch protection). - Use git-based summaries + Dashboard links in CI (
supabase-promote-pr.yml). - Re-spike Option B when implementing “real Branching diff” comments; keep
db pushreconcile documented as break-glass in deploy workflow inputs.
Related
- MIGRATION_LANES.md — lane inventory + retrofit.
- SUPABASE_MULTI_ENV_SETUP.md — workflow map.