Skip to content

[eas-cli] Add integrations:supabase:connect - #4106

Open
gwdp wants to merge 7 commits into
gwdp/eng-25327-m3a-supabase-foundationfrom
gwdp/eng-25327-m3-supabase-cli
Open

[eas-cli] Add integrations:supabase:connect#4106
gwdp wants to merge 7 commits into
gwdp/eng-25327-m3a-supabase-foundationfrom
gwdp/eng-25327-m3-supabase-cli

Conversation

@gwdp

@gwdp gwdp commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Why

Adding eas integrations:supabase:connect: authorize Supabase on an Expo account, then either link an existing project or provision a new one. Writes the public URL/key into EAS env and installs the SDK.

How

  • Main path: browser OAuth, pick org/region when needed, then provision a new primary project (async job; CLI polls the receipt) or attach one you already have
  • --link takes a project ref, dashboard URL, or *.supabase.co URL and sets that as the app primary without creating a new Supabase project
  • --environment is a follow-up after primary connect: provisions a separate hosted project and writes URL/key only into those EAS envs (e.g. preview), leaving the primary alone. Incompatible with --link / --reauth
  • --reauth resets the OAuth connection (and cascade-clears the EAS project link), then prompts link-existing (default) vs provision-new; pass --link to skip the prompt. --overwrite skips prompts when replacing existing env vars

Test Plan

easd against staging (provision, --link, --environment)

carbon (1)

@linear-code

linear-code Bot commented Jul 29, 2026

Copy link
Copy Markdown

ENG-25327

@gwdp
gwdp marked this pull request as ready for review July 29, 2026 01:04
@gwdp
gwdp marked this pull request as draft July 29, 2026 01:04
@github-actions

Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
packages/eas-cli/** @douglowder

Generated by CodeMention

Warning: The preamble and epilogue options in commentConfiguration are deprecated. Use template instead.

@gwdp gwdp closed this Jul 29, 2026
@gwdp gwdp reopened this Jul 29, 2026
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch from 56a9011 to f252270 Compare July 29, 2026 01:31

gwdp commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gwdp gwdp changed the title [eas-cli] Supabase: connect / dashboard / disconnect (M3) [eas-cli] Add integrations:supabase:connect Jul 29, 2026
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch from 3968194 to 0cd018c Compare July 31, 2026 22:54
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.99%. Comparing base (842d59a) to head (ae017de).

Additional details and impacted files
@@                            Coverage Diff                             @@
##           gwdp/eng-25327-m3a-supabase-foundation    #4106      +/-   ##
==========================================================================
+ Coverage                                   62.86%   62.99%   +0.14%     
==========================================================================
  Files                                        1020     1021       +1     
  Lines                                       46249    46411     +162     
  Branches                                     9741     9774      +33     
==========================================================================
+ Hits                                        29071    29234     +163     
+ Misses                                      15721    15718       -3     
- Partials                                     1457     1459       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch from 42bbcae to c3f6ef5 Compare August 1, 2026 00:54
@gwdp
gwdp changed the base branch from main to gwdp/eng-25327-m3a-supabase-foundation August 1, 2026 00:54
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3a-supabase-foundation branch from 4ec60eb to ac84241 Compare August 1, 2026 02:13
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch 2 times, most recently from 05970fd to 3678b36 Compare August 1, 2026 02:28
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3a-supabase-foundation branch from ac84241 to 1ff6a8c Compare August 1, 2026 02:28
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch from 3678b36 to 93fc512 Compare August 1, 2026 02:45
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3a-supabase-foundation branch from adb8ca9 to ae2a0de Compare August 3, 2026 02:08
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch 2 times, most recently from 0bbd54f to 0f92d24 Compare August 3, 2026 02:10
@gwdp
gwdp requested a review from FiberJW August 3, 2026 02:36
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch 2 times, most recently from 8aa9ed4 to 97cadda Compare August 4, 2026 05:48
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3a-supabase-foundation branch from b2c7328 to d81dbd4 Compare August 4, 2026 06:20
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch from 97cadda to 4fbb4ac Compare August 4, 2026 06:20
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3a-supabase-foundation branch from d81dbd4 to c865fe4 Compare August 4, 2026 06:30
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch from 4fbb4ac to 7e6d8cd Compare August 4, 2026 06:30
gwdp added 7 commits August 4, 2026 07:49
Env-write and missing-credential recovery now print URL/key for manual setup
instead of suggesting another --environment run that would bill a second project.
Cascade delete clears the EAS project link on reauth; default to
linking an existing project instead of provisioning a new billed one.
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3a-supabase-foundation branch from c865fe4 to 842d59a Compare August 4, 2026 14:52
@gwdp
gwdp force-pushed the gwdp/eng-25327-m3-supabase-cli branch from 7e6d8cd to ae017de Compare August 4, 2026 14:52
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@gwdp
gwdp marked this pull request as ready for review August 4, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant