docs(supabase): db:trial app comment and TODO review tick
The cmd_app shortcut comment matches SUPABASE.md on the rotate-secrets 401 window; TODO ticks the reviews and lists the app no-lock shortcut.
This commit is contained in:
1 parent
f2cbf6814f
commit
953ae41b86
2 files changed
+6
-4
No files matched your search
+4
-3
@@ -1855,9 +1855,10 @@ app_stop() {
|
||||
# shortcut: app takes no lock and checks the gateway identity only at its start. refuse_while_app_runs
|
||||
# (stop, backup, migrate, destroy, restore, rotate-keys, rotate-secrets) sees the app only once Vite listens on 5194,
|
||||
# so one of them run in another terminal in the second before Vite binds goes ahead: after rotate-keys
|
||||
# the app keeps the previous anon key until its expiry; after rotate-secrets its requests are refused
|
||||
# (401) until app is restarted; after stop or destroy it proxies to whatever later listens on
|
||||
# 127.0.0.1:58801. Holding the lock all session would lock out every other command, backup, migrate
|
||||
# the app keeps the previous anon key until its expiry; after rotate-secrets a signed-in browser keeps its
|
||||
# pre-rotation access token and PostgREST answers 401 to it, even after the app restarts, until auth-js refreshes it
|
||||
# near its expiry (up to 3600 s) or the user signs out and in again; after stop or destroy it proxies to whatever
|
||||
# later listens on 127.0.0.1:58801. Holding the lock all session would lock out every other command, backup, migrate
|
||||
# and the restarts included, with "another pnpm db:trial command is running", which says nothing of
|
||||
# the app (the commands above already refuse, naming it, once Vite listens).
|
||||
# Upgrade: a dedicated app lock, shared by app and exclusive for those commands.
|
||||
|
||||
Reference in new issue
Block a user