Skip to content

fix(cli): diagnose unrunnable images - #5966

Merged
Coly010 merged 4 commits into
supabase:developfrom
7ttp:fix/start-health-diagnostics-5952
Jul 28, 2026
Merged

fix(cli): diagnose unrunnable images#5966
Coly010 merged 4 commits into
supabase:developfrom
7ttp:fix/start-health-diagnostics-5952

Conversation

@7ttp

@7ttp7ttp commented Jul 28, 2026

Copy link
Copy Markdown
Member

TL;DR

supabase start reported health-check failures by raw Docker id with no way forward — it
now names the container, its image, and the command to fix it.

Prob

When a container's cached image can't be executed:

99a635a072a8e0b2d7e56f9a619a5b4027bdeef702102508383900b78b8cc18b container logs:
exec /mailpit: exec format error
99a635a072a8e0b2d7e56f9a619a5b4027bdeef702102508383900b78b8cc18b: container is not ready: unhealthy
Try rerunning the command with --debug to troubleshoot the error.

You can't tell which service died, and --debug only logs HTTP requests.

Sol

supabase_inbucket_bredbox container logs:
exec /mailpit: exec format error
supabase_inbucket_bredbox: container is not ready: unhealthy
supabase_inbucket_bredbox's image public.ecr.aws/supabase/mailpit:v1.30.2 could not be executed ("exec format error").
Either the cached copy is corrupt, or it was built for a different architecture.
Remove the cached copy with docker (or podman), then run supabase start again:
docker image rm -f public.ecr.aws/supabase/mailpit:v1.30.2

Containers are watched by name, and exec format error attaches the affected
image and the command to remove it.

Ref

@7ttp
7ttp requested a review from a team as a code ownerJuly 28, 2026 09:12
@7ttp7ttp self-assigned this Jul 28, 2026

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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:7b17cb8e0d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment threadapps/cli/src/legacy/commands/start/lib/health-check.ts Outdated
Comment threadapps/cli/src/legacy/commands/start/lib/health-check.ts Outdated
Comment threadapps/cli/src/legacy/commands/start/start.handler.ts

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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:26999e4b0b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment threadapps/cli/src/legacy/shared/legacy-container-cli.ts Outdated
@7ttp

7ttp commented Jul 28, 2026

Copy link
Copy Markdown
MemberAuthor

@codex review

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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:b6a9a91aa3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment threadapps/cli/src/legacy/commands/start/lib/health-check.ts

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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:63a8db388b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment threadapps/cli/src/legacy/commands/start/start.live.test.ts
@Coly010
Coly010 added this pull request to the merge queueJul 28, 2026
Merged via the queue into supabase:develop with commit e7d4fc9Jul 28, 2026
27 checks passed
Sign up for freeto 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.

Supabase cannot start

2 participants

@7ttp@Coly010