Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
e907734
chore(cli): merge next into CLI-2695
Coly010 Oct 15, 2026
5825304
test(cli): name the consent-free operations that next now maps
Coly010 Oct 15, 2026
d5b14c4
test(cli): align merged integration tests with the target banner and …
Coly010 Oct 15, 2026
11bdda2
fix(cli): drop imports left unused by the next merge
Coly010 Oct 15, 2026
1b5e187
fix(cli): accept gen types --linked with --project-ref and announce t…
Coly010 Oct 15, 2026
8131c15
fix(cli): emit the functions deploy json envelope after pruning
Coly010 Oct 15, 2026
73772c0
fix(cli): gate network-ban removal on a --yes approval and report ban…
Coly010 Oct 15, 2026
da1c04a
chore(cli): merge gen types and functions deploy review fixes
Coly010 Oct 15, 2026
e6b0c64
fix(cli): consume a closing */ before the next block-comment delimite…
Coly010 Oct 15, 2026
16acb92
fix(cli): restrict db query --read-only to read statements and cap lo…
Coly010 Oct 15, 2026
fda5591
fix(cli): suggest the resolved target's flag when repairing migration…
Coly010 Oct 15, 2026
cca834c
fix(cli): name the migration list history column after the target
Coly010 Oct 15, 2026
c1c460b
docs(cli): refresh db dump, inspect, repair and target help for the l…
Coly010 Oct 15, 2026
4e296c1
feat(cli): point local connection failures at --linked on a linked ch…
Coly010 Oct 15, 2026
78a2d38
fix(cli): let db query --read-only start a statement with a parenthes…
Coly010 Oct 15, 2026
e51deed
chore(cli): merge db query read-only hardening
Coly010 Oct 15, 2026
97977db
fix(cli): suggest a valid value for empty target flags and date the -…
Coly010 Oct 15, 2026
6d04b90
fix(cli): tighten hosted-mutation consent sources, messages and exemp…
Coly010 Oct 15, 2026
a8c2d43
chore(cli): merge hosted consent review fixes
Coly010 Oct 15, 2026
1aa210c
chore(cli): merge db, migration and network-ban review fixes
Coly010 Oct 15, 2026
d7cb937
refactor(cli): evidence-based target identity, typed JSON target and …
Coly010 Oct 15, 2026
b1e37dc
refactor(cli): one config parse-error message, target docs and tests
Coly010 Oct 15, 2026
ed4b40e
chore(cli): format target changes and satisfy knip and effect lint
Coly010 Oct 15, 2026
a37bfe4
chore(cli): merge target identity, banner and JSON review fixes
Coly010 Oct 15, 2026
d682e59
docs(cli): align ADR 0033 banner examples with the identity rules
Coly010 Oct 15, 2026
8a9815f
test(cli): expect sentence-case config push consent actions
Coly010 Oct 15, 2026
160afe3
chore(cli): merge next into CLI-2695 target defaults
Coly010 Oct 19, 2026
a4c38a2
feat(cli): label each command's target in help
Coly010 Oct 19, 2026
996734b
feat(cli): complete --remote as a value-optional flag
Coly010 Oct 19, 2026
247b07c
feat(cli): show --remote with its value hint in the docs spec
Coly010 Oct 19, 2026
af8edf6
style(cli): format the test db integration test imports
Coly010 Oct 19, 2026
8583677
chore(cli): trim the docs-spec tables header comment
Coly010 Oct 19, 2026
70a0a39
docs(cli): describe database commands without assuming a remote target
Coly010 Oct 19, 2026
b314ab4
docs(cli): document --remote in the command reference
Coly010 Oct 19, 2026
4ba88db
docs(cli): describe the --remote design in ADR 0033
Coly010 Oct 19, 2026
1e0fa2b
refactor(config): remove the workspace target key and SUPABASE_TARGET
Coly010 Oct 19, 2026
4a94f1f
feat(cli): select remote targets with a single --remote flag
Coly010 Oct 19, 2026
cc12e7f
test(cli): cover --remote selection, resolution and argv rewriting
Coly010 Oct 19, 2026
0c08572
Merge branch 'columferry/cli-2695-remote-help-docs' into columferry/c…
Coly010 Oct 19, 2026
4d2aeb7
refactor(cli): report --remote in command telemetry centrally
Coly010 Oct 19, 2026
f38d478
test(cli): complete --remote instead of the hidden --linked and --loc…
Coly010 Oct 19, 2026
7a8b977
refactor(cli): resolve --remote=<branch> in migration, inspect, stora…
Coly010 Oct 19, 2026
0f5a039
fix(cli): declare the pooler config read for --remote=<ref> in the da…
Coly010 Oct 19, 2026
ba02014
test(cli): cover migration commands through --remote with a warning c…
Coly010 Oct 19, 2026
b68ad77
test(cli): cover inspect db and report through --remote with a warnin…
Coly010 Oct 19, 2026
f8afa76
test(cli-e2e): target projects with --remote and confirm hosted mutat…
Coly010 Oct 19, 2026
2074b29
test(cli): switch e2e and live suites to --remote target selection
Coly010 Oct 19, 2026
1c9ad8f
test(cli): let setupStorage answer a --remote=<branch> lookup
Coly010 Oct 19, 2026
179f8e8
test(cli): cover storage commands through --remote and reject a datab…
Coly010 Oct 19, 2026
ee4db0a
test(cli): cover seed buckets through --remote and reject a database URL
Coly010 Oct 19, 2026
871773a
test(cli-e2e): pin the local connection failure in the --local alias …
Coly010 Oct 19, 2026
28cdc5d
refactor(cli): select the project of hosted G-Z commands with --remote
Coly010 Oct 19, 2026
01f1f2a
test(cli): cover --remote selection for hosted G-Z commands
Coly010 Oct 19, 2026
8820be9
docs(cli): describe --remote in hosted G-Z SIDE_EFFECTS
Coly010 Oct 19, 2026
1ac2986
test(cli): cover gen types through --remote with a warning check per …
Coly010 Oct 19, 2026
e4d7730
chore(cli): name --remote in the comments of the database, storage an…
Coly010 Oct 19, 2026
2268455
fix(cli): send target deprecation warnings to stderr in every output …
Coly010 Oct 19, 2026
95662ed
fix(cli): skip command-path words in the bare --remote ambiguity check
Coly010 Oct 19, 2026
2a484ef
docs(cli): describe the migration commands through --remote and its a…
Coly010 Oct 19, 2026
afb3519
Merge branch 'columferry/cli-2695-remote-s1b' into columferry/cli-269…
Coly010 Oct 19, 2026
852924d
Merge branch 'columferry/cli-2695-remote-s4' into columferry/cli-2695…
Coly010 Oct 19, 2026
b53b7e7
docs(cli): describe inspect db and report through --remote and its al…
Coly010 Oct 19, 2026
34048e6
docs(cli): describe storage and seed buckets through --remote and its…
Coly010 Oct 19, 2026
500e0d2
refactor(cli): select hosted A-F command targets with --remote
Coly010 Oct 19, 2026
2b11d8b
test(cli): cover --remote target selection for hosted A-F commands
Coly010 Oct 19, 2026
4831f9a
docs(cli): describe --remote in hosted A-F SIDE_EFFECTS
Coly010 Oct 19, 2026
8fb370d
Merge branch 'columferry/cli-2695-remote-s1a' into columferry/cli-269…
Coly010 Oct 19, 2026
32cadf0
docs(cli): describe gen types through --remote and its aliases
Coly010 Oct 19, 2026
bc9f15f
refactor(cli): resolve --remote=<branch> in the db commands
Coly010 Oct 19, 2026
7c7793f
test(cli): cover --remote target selection in the db commands
Coly010 Oct 19, 2026
54b0e7d
docs(cli): describe --remote target selection in the db commands
Coly010 Oct 19, 2026
93bc86d
Merge branch 'columferry/cli-2695-remote-s2a' into columferry/cli-269…
Coly010 Oct 19, 2026
760cf9e
docs(cli): format migration list side effects
Coly010 Oct 19, 2026
3d28872
Merge branch 'columferry/cli-2695-remote-s2b' into columferry/cli-269…
Coly010 Oct 19, 2026
9869f03
fix(cli): keep branch-lookup progress and target warnings off stdout
Coly010 Oct 19, 2026
81df188
refactor(cli): fold project selection into resolveProjectTarget
Coly010 Oct 19, 2026
35f164f
fix(cli): recognise hidden aliases and --remote when suggesting flag …
Coly010 Oct 19, 2026
64bb35c
test(cli): move shared live helpers to --remote
Coly010 Oct 19, 2026
4d43663
docs(cli): drop stale target wording and note empty-selector errors
Coly010 Oct 19, 2026
fea7895
test(cli): share one hosted and one db remote-selection helper
Coly010 Oct 19, 2026
15b4e3c
docs(cli): align ADR 0033 and the target docs with the single branch …
Coly010 Oct 19, 2026
530a3b9
docs(cli): use --remote and the link argument in docs and examples
Coly010 Oct 19, 2026
74dc98d
docs(cli): describe central target-flag telemetry and --remote=<value…
Coly010 Oct 19, 2026
a7152c1
docs(cli): describe the bare --remote operand check in SIDE_EFFECTS
Coly010 Oct 19, 2026
13bb978
refactor(cli): share one --remote vocabulary and recognise the flag b…
Coly010 Oct 19, 2026
2a48319
Merge branch 'columferry/cli-2695-remote-fix-docs' into columferry/cl…
Coly010 Oct 19, 2026
7a78d7b
refactor(cli): resolve every --remote target through one resolver and…
Coly010 Oct 19, 2026
44fa188
refactor(cli): report every target flag from withCommandTelemetry
Coly010 Oct 19, 2026
2bbfc06
refactor(cli): type target flag inputs with the resolver's flag records
Coly010 Oct 19, 2026
2611839
chore(cli): drop comments that say --project-ref stays redacted in te…
Coly010 Oct 19, 2026
1802386
refactor(cli): declare the pooler lookup by selector shape and guard …
Coly010 Oct 19, 2026
930e643
fix(cli): resolve the gen types target before its flag guards
Coly010 Oct 19, 2026
d3f47bb
refactor(cli): complete --remote through the argv rewrite
Coly010 Oct 19, 2026
414410c
refactor(cli): unify the functions project resolver and read sso --re…
Coly010 Oct 19, 2026
416a985
docs(cli): note the by-UUID branch lookup on the branch lookup errors
Coly010 Oct 19, 2026
7580520
chore(cli): trim comments in remote-vocabulary
Coly010 Oct 19, 2026
0de53fd
fix(cli): share the storage permissions across command boundaries
Coly010 Oct 19, 2026
69e3478
chore(cli): drop an unused import
Coly010 Oct 19, 2026
6aff9a3
fix(cli): carry the target through follow-up hints and tighten db dif…
Coly010 Oct 19, 2026
b29d550
fix(cli): reshape the --remote warnings, errors, banner and help
Coly010 Oct 19, 2026
db8d43b
docs(cli): update the --remote messages in SIDE_EFFECTS, ADR 0033 and…
Coly010 Oct 19, 2026
b90b6d9
Merge branch 'columferry/cli-2695-remote-fix-leaves' into columferry/…
Coly010 Oct 19, 2026
1034b1e
fix(cli): count SUPABASE_PROJECT_ID as linked for the local connect hint
Coly010 Oct 19, 2026
b595dd8
test(cli): cover the env-only linked-checkout hint on local connect e…
Coly010 Oct 19, 2026
e326db3
fix(cli): lower-case the scheme of a --remote postgres URL
Coly010 Oct 19, 2026
fc85dbf
test(cli): pin the storage and seed selector conflict without --db-url
Coly010 Oct 19, 2026
e7381e5
fix(cli): reject keyword connection strings after --remote and cut us…
Coly010 Oct 19, 2026
63abc7c
fix(cli): add the no-space completion directive only when every candi…
Coly010 Oct 19, 2026
d18141a
test(cli): prove a handler reads the rewritten argv from Stdio.args
Coly010 Oct 19, 2026
0e3b8b8
fix(cli): run the gen types usage guards before resolving the target
Coly010 Oct 19, 2026
3219fd4
fix(cli): name the listing failure's cause and report an unlinked bra…
Coly010 Oct 19, 2026
94cda3f
fix(cli): leave a hidden positional out of the --remote operand reading
Coly010 Oct 19, 2026
dc1c292
fix(cli): reject a keyword connection string given to db diff --from …
Coly010 Oct 19, 2026
8abebd8
fix(cli): reject a non-postgres URL given to db diff --from or --to
Coly010 Oct 19, 2026
2e1828a
Merge remote-tracking branch 'origin/next' into columferry/cli-2695-b…
Coly010 Oct 19, 2026
b37ba41
Merge remote-tracking branch 'origin/next' into columferry/cli-2695-b…
Coly010 Oct 20, 2026
cec0efa
test(cli): escape every regex metacharacter in the target help hint p…
Coly010 Oct 20, 2026
9221114
test(cli): port the resolveRef tests to the effect-lint helpers
Coly010 Oct 20, 2026
6438015
test(cli): bring the target-flag telemetry tests under effect lint
Coly010 Oct 20, 2026
c18f4d4
fix(cli): name the failing project in the network-ban recovery command
Coly010 Oct 20, 2026
930e313
refactor(cli): drop the paste-ready example from the --remote depreca…
Coly010 Oct 20, 2026
18ea7ae
refactor(cli): drop the database-target default from permission decla…
Coly010 Oct 20, 2026
4bcfc6f
fix(cli): read the remote-merged config for explicit db diff endpoints
Coly010 Oct 20, 2026
46c2f53
fix(cli): name the cause and the fix when a bare --remote cannot list…
Coly010 Oct 20, 2026
eaa61ff
fix(cli): stop a bare --remote from retargeting on a project-ref-shap…
Coly010 Oct 20, 2026
6ea92d7
fix(cli): keep an ordinary word after a bare --remote from reading as…
Coly010 Oct 20, 2026
831dc94
fix(cli): announce every database endpoint in explicit db diff
Coly010 Oct 20, 2026
cbed12d
fix(cli): fail a --remote given twice with different values before an…
Coly010 Oct 20, 2026
818441d
fix(cli): keep the remote reset question honest about migrations
Coly010 Oct 20, 2026
172a17c
refactor(cli): derive target-flag telemetry from the invoked arguments
Coly010 Oct 20, 2026
9f11486
test(cli): make the db query --read-only live test reach the database
Coly010 Oct 20, 2026
74b0ec6
chore(cli): trim two comments in the explicit db diff changes
Coly010 Oct 20, 2026
5f0b973
fix(cli): let the last --yes occurrence decide
Coly010 Oct 20, 2026
e999d85
docs(cli): centralize target and consent docs in command-target.md
Coly010 Oct 20, 2026
1dc6a8a
refactor(cli): reject a database URL after --remote at parse time wit…
Coly010 Oct 20, 2026
158b391
fix(cli): suggest --remote when gen types finds no local stack
Coly010 Oct 20, 2026
9497299
docs(cli): trim ADR 0033 to the decisions
Coly010 Oct 20, 2026
06bcd2e
fix(cli): report an unlinked branch UUID the API client rejects as an…
Coly010 Oct 20, 2026
cfab10c
docs(cli): fix the linked project ref and cache paths in side effects
Coly010 Oct 20, 2026
02eeaa7
fix(cli): let db query --read-only accept BEGIN ATOMIC inside literals
Coly010 Oct 20, 2026
0acfc19
fix(cli): hint at the lowercased ref when a 20-letter --remote value …
Coly010 Oct 20, 2026
3c339bc
docs(cli): document the round-two target and consent behaviour
Coly010 Oct 20, 2026
aa0acee
Merge branch 'columferry/cli-2695-r2-plumbing' into columferry/cli-26…
Coly010 Oct 20, 2026
696c86e
Merge branch 'columferry/cli-2695-r2-review' into columferry/cli-2695…
Coly010 Oct 20, 2026
149fc94
fix(cli): trust a cached parent project only while it lists the linke…
Coly010 Oct 20, 2026
fa9ca37
docs(cli): document the shipped consent, ban-recovery and read-only b…
Coly010 Oct 20, 2026
862f989
docs(cli): document the default-branch, explicit diff and reset quest…
Coly010 Oct 20, 2026
e456287
Merge branch 'columferry/cli-2695-r2-docs' into columferry/cli-2695-b…
Coly010 Oct 20, 2026
3109186
fix(cli): report the default branch as the production project in conf…
Coly010 Oct 20, 2026
aa4d0e4
test(cli): cover a malformed SUPABASE_PROJECT_ID next to a valid link…
Coly010 Oct 20, 2026
aa34e25
Merge branch 'columferry/cli-2695-r2-core' into columferry/cli-2695-b…
Coly010 Oct 20, 2026
e6a0450
Merge remote-tracking branch 'origin/next' into columferry/cli-2695-b…
Coly010 Oct 20, 2026
c25626d
test(cli): drop an import the round-2 merge left unused
Coly010 Oct 20, 2026
414ec17
fix(cli): keep config.target_is_branch false for the default branch
Coly010 Oct 20, 2026
b188c80
test(cli): add a shared target-selection harness and apply it to migr…
Coly010 Oct 20, 2026
f6dc927
test(cli): cover target selection for the migration leaves with the s…
Coly010 Oct 20, 2026
0af31c0
test(cli): run config push, pull, diff and functions deploy through t…
Coly010 Oct 20, 2026
53600e9
fix(cli): verify the cached parent before a branches command acts on it
Coly010 Oct 20, 2026
7bbaeea
test(cli): cover target selection for the inspect leaves with the sha…
Coly010 Oct 20, 2026
3b06dd0
test(cli): cover target selection for the storage leaves with the sha…
Coly010 Oct 20, 2026
e0ad79d
test(cli): trim describeHostedConsent to four cases and drop repeated…
Coly010 Oct 20, 2026
af46d02
fix(cli): point a refused legacy local gen types connection at --remote
Coly010 Oct 20, 2026
532f6fc
test(cli): pin the hosted-consent prompt default of every consenting …
Coly010 Oct 20, 2026
8505200
test(cli): cover target selection for seed buckets with the shared ha…
Coly010 Oct 20, 2026
6712abd
test(cli): pin the operand capacity of every leaf that accepts --remote
Coly010 Oct 20, 2026
e69e54c
test(cli): keep the branch permission-drift check in the shared targe…
Coly010 Oct 20, 2026
3578c79
refactor(cli): bring round-2 files under the comment ratio
Coly010 Oct 20, 2026
d699ce3
refactor(cli): stop growing comments in files already over the ratio
Coly010 Oct 20, 2026
5e6fffb
test(cli): cover target selection for db advisors with the shared har…
Coly010 Oct 20, 2026
8739ca6
test(cli): drop repeated deprecated-alias rows from the central targe…
Coly010 Oct 20, 2026
2be04aa
test(cli-e2e): keep one deprecated target alias case and drop its fou…
Coly010 Oct 20, 2026
7a6b01c
fix(cli): put --remote last in the network-ban suggestion
Coly010 Oct 20, 2026
dd32327
test(cli): cover target selection for db lint and db dump with the sh…
Coly010 Oct 20, 2026
5ab7efa
test(cli): cover target selection for db query with the shared harness
Coly010 Oct 20, 2026
3d6f9b3
fix(cli): read --remote y and --remote n as yes and no
Coly010 Oct 20, 2026
5973adb
Merge branch 'columferry/cli-2695-r2-tests-b' into columferry/cli-269…
Coly010 Oct 20, 2026
444aed6
test(cli): drop duplicate db query rows
Coly010 Oct 20, 2026
86fdad7
fix(cli): fail a ref-shaped word after a bare --remote on branches co…
Coly010 Oct 20, 2026
5d2d3fa
test(cli): drop gen types selector-conflict rows the selector unit te…
Coly010 Oct 20, 2026
2c9333c
test(cli): cover target selection for gen types with the shared harness
Coly010 Oct 20, 2026
0a06289
test(cli): cover target selection for db pull with the shared harness
Coly010 Oct 20, 2026
fd4b3a8
test(cli): cover target selection for db push with the shared harness
Coly010 Oct 20, 2026
6c003a9
fix(cli): fall back to the API pooler config for every linked target
Coly010 Oct 20, 2026
9d4f48a
fix(cli): word the db diff linked warning like the other deprecations
Coly010 Oct 20, 2026
273ef9f
test(cli): cover target selection for db reset with the shared harness
Coly010 Oct 20, 2026
06362d7
test(cli): cover target selection for db diff with the shared harness
Coly010 Oct 20, 2026
2591bff
test(cli): cover target selection for db schema declarative generate …
Coly010 Oct 20, 2026
a50b526
test(cli): replace hand-spelled target flag literals with shared fixt…
Coly010 Oct 20, 2026
1409f91
test(cli): require db push consent before roles, vault, migrations an…
Coly010 Oct 20, 2026
fd4d110
fix(cli): accept the deprecated selector flags with db diff --from/--to
Coly010 Oct 20, 2026
9f9d408
test(cli): prove db pull writes no migration before consent in the ge…
Coly010 Oct 20, 2026
1775214
test(cli): prove db reset asks despite a project .env and drop its co…
Coly010 Oct 20, 2026
54b962d
test(cli): drop the seed buckets hosted decline row the generated cas…
Coly010 Oct 20, 2026
dcfa303
Merge branch 'columferry/cli-2695-r2-followups' into columferry/cli-2…
Coly010 Oct 20, 2026
c46ffe5
test(cli): match leaf deprecation warnings loosely
Coly010 Oct 20, 2026
a77dcbb
test(cli): keep the storage test branch ref private to its helper
Coly010 Oct 20, 2026
910b8b9
test(cli): keep the db query probe for the linked cache surviving a f…
Coly010 Oct 20, 2026
da0e408
Merge branch 'columferry/cli-2695-r2-tests-a' into columferry/cli-269…
Coly010 Oct 20, 2026
7598712
fix(cli): suggest --from/--to, not --remote, for explicit db diff sel…
Coly010 Oct 20, 2026
58531e5
fix(cli): keep the IPv6 error when the pooler fallback has no usable …
Coly010 Oct 20, 2026
f07c23d
fix(cli): suggest the local stack on a refused gen types connection i…
Coly010 Oct 20, 2026
4bbc68d
test(cli): run test db through the shared target-selection harness
Coly010 Oct 20, 2026
98621ed
test(cli): assert the resolved ref when --project-ref redirects both …
Coly010 Oct 20, 2026
dd738f0
test(cli): match the --project-ref deprecation warning loosely in the…
Coly010 Oct 20, 2026
3871c22
test(cli): shorten the comment lines this branch added past 100 columns
Coly010 Oct 20, 2026
345bb82
test(cli): fail the hosted branch row when a leaf sends its request t…
Coly010 Oct 20, 2026
2fc69e4
test(cli): check a failed inspect db run never prints the connection URL
Coly010 Oct 20, 2026
945a72b
docs(cli): wrap added comment lines at 100 columns and trim comment p…
Coly010 Oct 20, 2026
cba1355
docs(cli): drop "exactly" from two target-selection comments
Coly010 Oct 20, 2026
e87b514
test(cli): check a consent-refused JSON run emits no payload
Coly010 Oct 20, 2026
5aa0ff7
test(cli): require the --remote=<url> row to make no Management API call
Coly010 Oct 20, 2026
66de0aa
test(cli): say why the linked-hint row announces the banner itself
Coly010 Oct 20, 2026
722603d
Merge branch 'columferry/cli-2695-r2-review-fixes' into columferry/cl…
Coly010 Oct 20, 2026
41014ab
Merge branch 'columferry/cli-2695-r2-tests-c' into columferry/cli-269…
Coly010 Oct 20, 2026
3ece938
fix(cli): keep --remote out of an explicit db diff IPv6 suggestion
Coly010 Oct 20, 2026
c0704fc
test(cli): fail the consent JSON-refusal row only on a printed payload
Coly010 Oct 20, 2026
d273378
fix(cli): build the explicit db diff selector-conflict error from the…
Coly010 Oct 20, 2026
16b2a8f
fix(cli): keep the project ref a URL-shaped --project-ref names in an…
Coly010 Oct 20, 2026
1967aac
test(cli): record every Management API request in the db diff target-…
Coly010 Oct 20, 2026
490c9d6
test(cli): record every Management API call in the reset and declarat…
Coly010 Oct 20, 2026
da68a83
test(cli): catch a leaked database password in the inspect db e2e
Coly010 Oct 20, 2026
3014e20
chore(cli): restore the IPv6 link-suggestion note and drop a narratin…
Coly010 Oct 20, 2026
06e44e1
Merge branch 'columferry/cli-2695-r2-final-fixes' into columferry/cli…
Coly010 Oct 20, 2026
b0d560e
Merge branch 'columferry/cli-2695-r2-tests-d' into columferry/cli-269…
Coly010 Oct 20, 2026
6ee8720
docs(cli): keep the explicit IPv6 error's JSDoc within 100 columns
Coly010 Oct 20, 2026
7f94d2c
docs(cli): shorten the explicit IPv6 error's JSDoc
Coly010 Oct 20, 2026
16f3a44
refactor(cli): remove the unused hasExplicitSelector
Coly010 Oct 21, 2026
a6b9dd0
test(cli): drop the whole-tree operand-capacity snapshot of --remote …
Coly010 Oct 21, 2026
cb43102
test(cli): drop the source-text scan for lowercase consent actions
Coly010 Oct 21, 2026
72b8a61
fix(cli): report a failed network-ban listing or removal under --yes
Coly010 Oct 21, 2026
012a45c
test(cli): share one branchRow fixture across the target integration …
Coly010 Oct 21, 2026
02134f0
fix(cli): treat loopback aliases as the local database host
Coly010 Oct 21, 2026
0aca206
fix(cli): reject db query --file together with positional SQL
Coly010 Oct 21, 2026
57c4bca
refactor(cli): cover target deprecation helpers through their callers…
Coly010 Oct 21, 2026
14a866d
docs(cli): describe the local default and --remote in db push and run…
Coly010 Oct 21, 2026
5d5bcf5
fix(cli): never treat SUPABASE_YES as consent when a working-director…
Coly010 Oct 21, 2026
d644f7f
test(cli-e2e): share one request-log helper and keep only the binary-…
Coly010 Oct 21, 2026
f58d71e
refactor(cli): derive the --yes false words from the shared --remote …
Coly010 Oct 21, 2026
08fad0e
docs(cli): reword the parent project ref JSDoc
Coly010 Oct 21, 2026
261421f
fix(cli): suggest what db diff --from/--to accept when a branch value…
Coly010 Oct 21, 2026
21050d6
fix(cli): suggest --lang when gen types --remote names a language tha…
Coly010 Oct 21, 2026
161670c
test(cli): use an optional parameter for the failing ban endpoint
Coly010 Oct 21, 2026
b235cc6
Merge branch 'columferry/cli-2695-r3-fixes' into columferry/cli-2695-…
Coly010 Oct 21, 2026
9a17370
Merge branch 'columferry/cli-2695-r3-tests' into columferry/cli-2695-…
Coly010 Oct 21, 2026
8141db8
fix(cli): name an autoloaded dotenv SUPABASE_YES in the consent hint …
Coly010 Oct 21, 2026
f4a3ea5
fix(cli): report the connection error when ban listing fails under --yes
Coly010 Oct 21, 2026
07781ad
fix(cli): suggest --remote=<value> for db query --file only after a b…
Coly010 Oct 21, 2026
ef48e85
fix(cli): match the gen types --remote language hint case-insensitively
Coly010 Oct 21, 2026
f28065c
test(cli): read the db query error suggestion through an unknown-type…
Coly010 Oct 21, 2026
873f68f
fix(cli): treat only localhost, 127.0.0.1 and ::1 as the local databa…
Coly010 Oct 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .oxlintrc.effect.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"!apps/cli/src/command-internal/string-slice-flag.*",
"!apps/cli/src/command-internal/struct-output.*",
"!apps/cli/src/command-internal/supabase-env.*",
"!apps/cli/src/command-internal/target/parent-scoped-project-ref.*",
"!apps/cli/src/command-internal/tenant-*",
"!apps/cli/src/command-internal/test-db.*",
"!apps/cli/src/command-internal/timestamp.format.*",
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ supabase link

## Manage Your Database

Create migrations, compare schemas, and apply changes locally or to your linked project:
Create migrations, compare schemas, and apply changes to your local database. Add `--remote` to act
on your linked project instead:

```sh
supabase migration new create_profiles
supabase db diff
supabase db push
supabase db push --remote
supabase db reset
```

Expand All @@ -101,8 +103,8 @@ supabase functions deploy hello-world
Generate TypeScript types from your local database or linked project:

```sh
supabase gen types --local
supabase gen types --linked
supabase gen types
supabase gen types --remote
```

## Reference
Expand Down
4 changes: 2 additions & 2 deletions apps/cli-e2e/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ the running tests exercise. The implications:
import { testBehaviour } from "./test-context.ts";

testBehaviour("does the thing", async ({ run, projectRef, orgId, apiUrl, workspace }) => {
const result = await run(["command", "--project-ref", projectRef]);
const result = await run(["command", `--remote=${projectRef}`]);
expect(result.exitCode).toBe(0);
expect(result.stdout).toContain("Expected output");
});
Expand All @@ -91,7 +91,7 @@ testBehaviour("exits non-zero on 401", async ({ run, apiUrl }) => {
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ status: 401, body: { message: "Invalid token" } }),
});
const result = await run(["command", "--project-ref", PROJECT_REF]);
const result = await run(["command", `--remote=${PROJECT_REF}`]);
expect(result.exitCode).not.toBe(0);
});
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"user-agent": "SupabaseCLI/"
},
"body": {
"query": "SELECT 1"
"query": "SELECT 1",
"read_only": true
}
},
"response": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"user-agent": "SupabaseCLI/"
},
"body": {
"query": "SELECT 1"
"query": "SELECT 1",
"read_only": true
}
},
"response": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[
{
"request": {
"method": "GET",
"path": "/v1/projects/replayfixtureprojref/advisors/security",
"query": {},
"headers": {
"accept-encoding": "gzip",
"authorization": "Bearer __ACCESS_TOKEN__",
"host": "localhost:__PORT__",
"user-agent": "SupabaseCLI/"
},
"body": null
},
"response": {
"status": 200,
"headers": {
"content-type": "application/json; charset=utf-8",
"x-gotrue-id": "__UUID__",
"x-ratelimit-limit": "120",
"x-ratelimit-remaining": "119",
"x-ratelimit-reset": "60"
},
"body": {
"lints": []
}
}
},
{
"request": {
"method": "GET",
"path": "/v1/projects/replayfixtureprojref",
"query": {},
"headers": {
"accept-encoding": "gzip",
"authorization": "Bearer __ACCESS_TOKEN__",
"host": "localhost:__PORT__",
"user-agent": "SupabaseCLI/"
},
"body": null
},
"response": {
"status": 200,
"headers": {
"content-type": "application/json; charset=utf-8",
"x-gotrue-id": "__UUID__",
"x-ratelimit-limit": "120",
"x-ratelimit-remaining": "116",
"x-ratelimit-reset": "54"
},
"body": {
"id": "replayfixtureprojref",
"ref": "replayfixtureprojref",
"organization_id": "replayfixtureprojref",
"organization_slug": "replayfixtureprojref",
"name": "cli-e2e-test",
"region": "us-east-1",
"status": "ACTIVE_HEALTHY",
"database": {
"host": "db.replayfixtureprojref.supabase.red",
"version": "17.6.1.111",
"postgres_engine": "17",
"release_channel": "ga"
},
"created_at": "2000-01-01T00:00:00Z"
}
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Loading
Loading