Skip to content

chore(cli): downgrade realtime image to v2.108.0 - #5628

Merged
Coly010 merged 2 commits into
developfrom
claude/admiring-maxwell-ujmpy2
Jun 19, 2026
Merged

chore(cli): downgrade realtime image to v2.108.0#5628
Coly010 merged 2 commits into
developfrom
claude/admiring-maxwell-ujmpy2

Conversation

@avallete

Copy link
Copy Markdown
Member

Downgrades the Supabase Realtime Docker image from v2.109.1 to v2.108.0 in the generated Dockerfile template.

This change updates the base image version used in the CLI's Docker configuration for local development environments.

https://claude.ai/code/session_01RLY7KJJ6So673p6ung8yFV

Realtime v2.109.0 (supabase/realtime#1954, "least-privilege realtime
user") adds a new migration, 20260606120000_setup_supabase_realtime_admin,
that does not exist in v2.108.0. When the CLI runs realtime once to apply
migrations during local schema init (initSchema15 -> `realtime eval
... ensure_all_started(:realtime)`), that migration's ALTER ROLE / GRANT
statements fail against the local supabase/postgres image, so the
container exits 1 and `supabase start` fails.

The docker-minor bump (#5625) to v2.109.1 turned the Start CI job red on
every run since. Pin realtime back to the last known-good v2.108.0 until
the new migration is compatible with the CLI's local stack.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLY7KJJ6So673p6ung8yFV
@avallete
avallete enabled auto-merge June 19, 2026 10:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d35e3b837e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

FROM supabase/supavisor:2.9.7 AS supavisor
FROM supabase/gotrue:v2.190.0 AS gotrue
FROM supabase/realtime:v2.109.1 AS realtime
FROM supabase/realtime:v2.108.0 AS realtime

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Dependabot from unpinning realtime

This pin is in the Dockerfile that .github/dependabot.yml scans for Docker updates, and that config still groups minor/patch Docker updates for this directory while excluding supabase/* images from cooldown. Because supabase/realtime:v2.109.1 was already available and was the version being reverted here, the next scheduled Dependabot run can immediately propose the same broken bump again unless supabase/realtime is ignored or otherwise held back.

Useful? React with 👍 / 👎.

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@2b1340aa4c4365fb92eb9fa5422e5ff4939e7b16

Preview package for commit 2b1340a.

@avallete
avallete disabled auto-merge June 19, 2026 10:05
The realtime pin let `supabase start` progress past schema init, exposing
a second regression from the same docker-minor bump (#5625): the CI
registry (ghcr) has no mirror for supabase/logflare:1.45.0, so pulling it
fails with "manifest unknown". Pin logflare back to the last mirrored tag
1.44.3.

Also add Dependabot ignore rules so the docker-minor group does not
immediately re-propose the same broken versions:
- supabase/realtime >= 2.109.0 (incompatible migration vs local Postgres)
- supabase/logflare >= 1.45.0 (not mirrored to ghcr)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLY7KJJ6So673p6ung8yFV
@avallete
avallete requested a review from a team as a code owner June 19, 2026 10:07
@Coly010
Coly010 added this pull request to the merge queue Jun 19, 2026
Merged via the queue into develop with commit 88c94c9 Jun 19, 2026
29 checks passed
@Coly010
Coly010 deleted the claude/admiring-maxwell-ujmpy2 branch June 19, 2026 10:46
pull Bot pushed a commit to oogalieboogalie/cli that referenced this pull request Jun 26, 2026
## What kind of change does this PR introduce?

- Revert supabase#5628 fixed by
supabase/realtime#1984
- Sync template/tests to latest Realtime version

## What is the current behavior?

Realtime update blocked.

Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>
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.

3 participants