-
Notifications
You must be signed in to change notification settings - Fork 493
feat(cli): port supabase stop and status commands to native TypeScript #5765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Coly010
wants to merge
95
commits into
develop
Choose a base branch
from
cli/port-stop-status-commands
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+15,060
−1,056
Open
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
993caf3
feat(cli): port supabase stop and status commands to native TypeScript
Coly010 491f052
test(cli): add live tests for supabase stop/status and document *.liv…
Coly010 deaf1e6
fix(cli): address Go-parity review findings on stop/status (review: #…
Coly010 d362f41
fix(cli): honor image-name exclusions in status (review: PRRT_kwDOErm…
Coly010 1b42381
Merge remote-tracking branch 'origin/develop' into cli/port-stop-stat…
Coly010 4cfa1ec
fix(cli): treat empty --project-id as unset in stop (review: PRRT_kwD…
Coly010 db0ea33
fix(cli): CSV-split status StringSlice flags (review: PRRT_kwDOErm0O8…
Coly010 003c83f
fix(cli): reject short jwt secrets in status (review: PRRT_kwDOErm0O8…
Coly010 d74f043
fix(cli): honor SUPABASE_AUTH_* env overrides in status keys (review:…
Coly010 6841019
fix(cli): sign status keys with asymmetric signing keys when configur…
Coly010 9a38255
fix(cli): validate JWK kty/curve before asymmetric signing
Coly010 e74201b
refactor(cli): resolve status state once instead of calling legacySta…
Coly010 60877ba
fix(cli): match Go's signing-keys error wording and add missing integ…
Coly010 7574db6
fix(cli): preserve real Docker error text in status/stop container in…
Coly010 1cc8deb
fix(cli): print stop's "Stopping containers..." unconditionally (ci: …
Coly010 ad5c212
test(cli-test-helpers): ignore Docker client negotiation noise in par…
Coly010 bd2fee9
fix(cli): apply SUPABASE_AUTH_SIGNING_KEYS_PATH env override to statu…
Coly010 fb10163
fix(cli): resolve SUPABASE_PROJECT_ID from supabase/.env for stop and…
Coly010 2395187
fix(cli): omit Docker-only --all from Podman's volume prune in stop (…
Coly010 c0d1e5d
fix(cli): resolve project-root/SUPABASE_ENV dotenv values in stop/sta…
Coly010 8cf349e
fix(cli): preserve env-specific dotenv precedence and fail on malform…
Coly010 3b114c2
fix(cli): resolve project env values before decoding config.toml in s…
Coly010 f9768ba
fix(cli): skip signing-key file reads in status when auth is disabled…
Coly010 00a85de
Merge remote-tracking branch 'origin/develop' into cli/port-stop-stat…
Coly010 40e948d
fix(cli): expand $VAR/${VAR} refs in stop/status dotenv files to matc…
Coly010 a9d944c
fix(cli): harden stop's Docker CLI calls against pipe deadlock and pr…
Coly010 36e2ad2
fix(cli): preserve literal # in project-env dotenv values to match go…
Coly010 11e8937
fix(cli): let status -o pretty win over --output-format (review: #5765)
Coly010 b903a13
Merge remote-tracking branch 'origin/develop' into cli/port-stop-stat…
Coly010 e360260
test(cli): cover --exclude/--ignore-health-check merge semantics on n…
Coly010 e8fdbbb
fix(cli): match godotenv's quoted-value and colon-separator parsing i…
Coly010 e865fcc
fix(config): preserve env() literal when the referenced var is set bu…
Coly010 de74ef1
fix(cli): apply SUPABASE_* env overrides to db/studio/mailpit/api por…
Coly010 3242e54
fix(cli): read stop/status dotenv overrides even when config.toml is …
Coly010 ae68ba5
fix(cli): treat --workdir as an exact, non-searching project root in …
Coly010 e2a278c
fix(cli): apply SUPABASE_API_TLS_ENABLED to status/stop URL scheme (r…
Coly010 aff9ff0
fix(cli): apply SUPABASE_AUTH_ENABLED before status/stop signing-key …
Coly010 81811c0
fix(cli): read Docker's Running boolean instead of deriving it from S…
Coly010 844f448
fix(cli): apply SUPABASE_*_ENABLED overrides to every status gate and…
Coly010 b1f28da
fix(cli): preserve backslash-escaped $VAR references in extra dotenv …
Coly010 df513cb
fix(cli): reject malformed SUPABASE_*_ENABLED bool env overrides (rev…
Coly010 9f8a784
fix(cli): parse --override-name before touching config or Docker in s…
Coly010 866daf0
fix(cli): reject a zero SUPABASE_DB_PORT override (review: #5765)
Coly010 31b5025
fix(cli): validate status config before any Docker probe (review: #5765)
Coly010 46d0a88
fix(cli): treat stop --all=false as mutually exclusive with --project…
Coly010 b081bbd
fix(config): match Go's case-agnostic env() reference pattern (review…
Coly010 f4b4292
fix(cli): validate api.tls cert/key pairing before status prints URLs…
Coly010 21ac0c7
fix(cli): preserve multiline quoted dotenv values in stop/status extr…
Coly010 a7081ba
fix(cli): reject auth-enabled configs with an empty site_url before s…
Coly010 dd36f4b
fix(cli): validate db.major_version and api.port before status render…
Coly010 c0faae5
fix(cli): validate config before default stop, matching Go's flags.Lo…
Coly010 f2a35d0
fix(cli): resolve relative --workdir/SUPABASE_WORKDIR to an absolute …
Coly010 622a066
fix(cli): reject zero studio/local_smtp ports and invalid deno_versio…
Coly010 c36a9e2
fix(cli): load config.toml only for legacy status/stop, matching Go's…
Coly010 d3838ed
fix(config): preserve env() literal for present-but-empty vars in def…
Coly010 f97b0a1
fix(cli): validate auth.captcha and analytics/bigquery config for sta…
Coly010 2fc16a2
fix(config): accept Go's full boolean spelling set for env()-substitu…
Coly010 88aa0fa
fix(config): parse multiline quoted .env values in loadProjectEnviron…
Coly010 1db573a
fix(config): reject duplicate remote project_id even without a projec…
Coly010 5262a1f
fix(config): reject malformed remote project refs, matching Go's Conf…
Coly010 39d5a3b
fix(cli): reject an explicit --workdir/SUPABASE_WORKDIR that isn't a …
Coly010 a4aa017
fix(cli): reject an explicit empty project_id, matching Go's Config.V…
Coly010 a0e5cb6
fix(cli): port missing Config.Validate checks to status/stop resolver…
Coly010 f21ab35
fix(cli): validate auth.third_party providers in status/stop resolver…
Coly010 8e7610b
fix(cli): validate experimental config in status/stop resolver (revie…
Coly010 1a48c6d
fix(cli): validate auth email template content_path in status/stop re…
Coly010 4c7dd3b
fix(cli): validate studio.api_url via a Go-parity net/url.Parse port …
Coly010 6b8d4e9
fix(cli): enforce passkey/WebAuthn requirement in status/stop resolve…
Coly010 0461e35
fix(cli): treat present SMTP table as enabled and validate SUPABASE_A…
Coly010 46916aa
fix(config): strip deprecated auth.external.{linkedin,slack} before s…
Coly010 9518a79
fix(cli): backfill RSA CRT params so signing keys without dp/dq/qi ve…
Coly010 c902298
fix(cli): resolve env() indirection inside SUPABASE_* overrides (revi…
Coly010 cd1b7c3
fix(config): match remotes before env() interpolation, not after (rev…
Coly010 b15c7dd
fix(cli): resolve status host from the active Docker context (review:…
Coly010 5907b69
fix(cli): skip supabase/.env.local under SUPABASE_ENV=test to match G…
Coly010 09e218a
fix(config): split string values into slices for array-typed config f…
Coly010 5964d2e
fix(config): scope Go viper decode semantics behind goViperCompat opt-in
Coly010 4956817
fix(cli): opt legacy config loading into goViperCompat Go parity sema…
Coly010 4086791
cleanup(cli): add legacy-config-validate as the single home for Confi…
Coly010 49fc64a
cleanup(cli): route status/stop config validation through legacy-conf…
Coly010 0c62a91
fix(cli): validate db config through legacy-config-validate, correcti…
Coly010 4515e13
cleanup(cli): consolidate validation tests and add cross-caller parit…
Coly010 b257e20
docs(cli): declare legacy-config-validate the single home for Config.…
Coly010 19a750e
Merge remote-tracking branch 'origin/develop' into cli/port-stop-stat…
Coly010 2ddbeb5
fix(cli): opt legacySeedBucketsRun into goViperCompat after seed-buck…
Coly010 01ea847
Merge remote-tracking branch 'origin/develop' into cli/port-stop-stat…
Coly010 d4a5f14
chore(config): fix oxfmt formatting in io.unit.test.ts (ci: Check cod…
Coly010 39a3b84
fix(cli): parse auth hook URIs with Go-parity url.Parse before valida…
Coly010 f108574
fix(cli): decrypt encrypted: auth secrets before deriving local JWT/A…
Coly010 3c6d766
docs(cli): correct stop's SIDE_EFFECTS.md claim about -o/--output rej…
Coly010 08ed337
fix(cli): apply auth hook/captcha/passkey/smtp env overrides before v…
Coly010 41f44cd
fix(cli): tolerate malformed remote project_id in secrets set (review…
Coly010 75dfe9a
fix(cli): validate unmodeled auth.external providers in status/stop (…
Coly010 cac1e5f
fix(config): mirror Go's SMS provider switch instead of validating al…
Coly010 b69797a
fix(config): skip business-rule checks for unselected remote subtrees…
Coly010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.