Uh oh!
There was an error while loading. Please reload this page.
fix(docker): bump the docker-minor group across 1 directory with 3 updates - #6207
Merged
supabase-cli-releaser[bot] merged 1 commit intoAug 15, 2026
Conversation
…dates Bumps the docker-minor group with 3 updates in the /apps/cli-go/pkg/config/templates directory: supabase/postgres-meta, supabase/realtime and supabase/storage-api. Updates `supabase/postgres-meta` from v0.97.0 to v0.98.0 Updates `supabase/realtime` from v2.124.4 to v2.128.0 Updates `supabase/storage-api` from v1.69.0 to v1.69.9 --- updated-dependencies: - dependency-name: supabase/postgres-meta dependency-version: v0.98.0 dependency-type: direct:production dependency-group: docker-minor - dependency-name: supabase/realtime dependency-version: v2.128.0 dependency-type: direct:production dependency-group: docker-minor - dependency-name: supabase/storage-api dependency-version: v1.69.9 dependency-type: direct:production dependency-group: docker-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@9b88e925e92ae1841037fa2dab78f917ceb55634Preview package for commit |
Uh oh!
There was an error while loading. Please reload this page.
supabase-cli-releaserBot
deleted the
dependabot/docker/apps/cli-go/pkg/config/templates/docker-minor-9b0e0d5bdc
branch
August 15, 2026 00:22
pullBot
pushed a commit
to oogalieboogalie/cli
that referenced
this pull request
Aug 25, 2026
…I-2192) (supabase#6203) `supabase stop --no-backup` was gated by Docker's 10s SIGTERM grace: Kong, Vector, Edge Runtime, and Logflare kept `sh` as PID 1 (or hung in their own shutdown), and stops run in parallel so wall time = slowest container. Postgres `exec` and postgres-meta v0.98.0 already landed on develop with supabase#6184 / supabase#6207. This PR is only the remaining wrappers, rebased onto that tip. ## What changed **`exec` in every remaining CLI-authored wrapper** so the real process is PID 1 (deliberate divergence from Go; stop timing is outside the parity surface, ADR 0016). Command paths, output, exit codes, telemetry, and documented side effects unchanged; no `-t`, no `docker rm -f`, no grace-period env: - **Kong** - **Vector** — wget wait-loop kept; TERM during that wait now exits instead of burning the 10s grace - **Edge Runtime** — long-lived `start` / `functions serve` container and the ephemeral script-runner ## `supabase stop --no-backup` wall time | CLI | run 1 | run 2 | run 3 | min | avg | max | |---|---:|---:|---:|---:|---:|---:| | `@beta` 2.116.0-beta.6 | 12.665s | 12.743s | 12.502s | 12.502s | **12.64s** | 12.743s | | PR 6203 @ 28c39f1 | 4.918s | 4.885s | 5.623s | 4.885s | **5.14s** | 5.623s | **~2.5× faster** (avg **−7.5s / −59%**). Start time is unchanged (same ~30–45s after images are warm). ## Per-container `docker stop -t 10` | Container | PID 1 `@beta` | PID 1 PR | Stop `@beta` | Stop PR | |---|---|---|---:|---:| | kong | `sh -c` … `docker-entrypoint.sh kong docker-start` | `nginx: master process` | 10.241s | **0.167s** | | vector | `sh -c` … `vector --config` | `vector --config /etc/vector/vector.yaml` | 10.478s | **0.288s** | | edge_runtime | `sh -c edge-runtime start …` | `edge-runtime start …` | 10.405s | **0.296s** | | analytics (logflare) | `sh -c` … `sh run.sh` | supervised `sh run.sh` (TERM → 3s → KILL) | 10.274s | **3.227s** | | db | `postgres` (already exec) | `postgres` (unchanged) | 0.571s | 3.4–4.5s (see below) | | pg_meta | `node dist/server/server.js` | `node dist/server/server.js` | 0.257s | 0.297s | Stops run in parallel, so wall time ≈ slowest container + CLI prune (`container prune` → optional volume prune → network prune). `@beta` is gated by the ~10.4s wrappers. This PR is gated by **Logflare’s ~3s supervisor** and **Postgres shutdown (~4s on a full local db)**, which matches the ~5s `stop --no-backup` times. ## Options to gain more speed (defered) Just levers. After this PR, wall time is ~`max(logflare ≈ 3s, postgres ≈ 4s)` + ~1s prune. Cutting only Logflare leaves Postgres as the gate (~4s + prune ≈ 5s, i.e. little visible win). Beating ~3s wall needs **both** plus less prune. ### Logflare (~3s supervisor) 1. **Upstream:** image whose SIGTERM handler actually finishes (already tracked as the remaining nicety on CLI-2192). Then the 3s window can win without KILL. 2. **Shorter supervisor grace** (3s → 1s). Same TERM-then-KILL shape, ~2s less. More likely to KILL a BEAM that would have exited at 2.5s. 3. **KILL immediately** on TERM. Same end state as today’s post-timeout kill, ~3s sooner. Least graceful. ### Postgres (~4s smart shutdown) 4. **Fast shutdown** — trap SIGTERM and `pg_ctl stop -m fast` / SIGINT. Drops the wait-for-clients phase; still checkpoints. Helps most when Auth/REST/Realtime/Storage are still connected. 5. **Immediate shutdown** — `-m immediate` / SIGQUIT. Skips checkpoint; next `start` crash-recovers. Reasonable for `stop --no-backup` (volumes die anyway); bad if the volume is kept (`stop` without `--no-backup`). --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps the docker-minor group with 3 updates in the /apps/cli-go/pkg/config/templates directory: supabase/postgres-meta, supabase/realtime and supabase/storage-api.
Updates
supabase/postgres-metafrom v0.97.0 to v0.98.0Updates
supabase/realtimefrom v2.124.4 to v2.128.0Updates
supabase/storage-apifrom v1.69.0 to v1.69.9Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions