• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 27819710633
65%

Build:
DEFAULT BRANCH: develop
Ran 19 Jun 2026 10:17AM UTC
Jobs 1
Files 227
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Jun 2026 10:09AM UTC coverage: 64.939% (-0.008%) from 64.947%
27819710633

push

github

web-flow
fix(cli): improve local start diagnostics (#5616)

## What changed

This improves local stack startup behavior in the Go CLI path used by
the TypeScript legacy wrappers.

When a local API request fails because the configured API port returns a
malformed HTTP response, the CLI now adds a targeted hint that another
process may be listening on that port. The hint includes the configured
port, an `lsof` command to identify the listener, and the `api.port`
config field to change when the port is intentionally occupied.

Startup also now waits for all started services to pass health checks
before seeding storage buckets declared in `[storage.buckets]`. This
keeps bucket creation from appearing to be the failing step when another
service, especially edge runtime, has not become healthy yet.

The edge-runtime main service keeps its regular remote module imports.
This PR does not change the edge-runtime module graph; it focuses on
making local-start failures easier to diagnose and preserving clearer
startup ordering.

## Why

Issue #3265 has shown two recurring local-start failure patterns: a
misleading malformed `/storage/v1/bucket` response when another process
owns the API port, and bucket seeding logs appearing before edge runtime
health failures. These changes make the port-conflict case
self-diagnosing and ensure storage bucket seeding only runs after the
local stack is healthy.

10752 of 16557 relevant lines covered (64.94%)

7.37 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
65.77
-0.11% internal/start/start.go
2
80.61
0.0% internal/storage/rm/rm.go
Jobs
ID Job ID Ran Files Coverage
1 27819710633.1 19 Jun 2026 10:17AM UTC 227
64.94
GitHub Action Run
Source Files on build 27819710633
  • Tree
  • List 227
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27819710633
  • 62f7b834 on github
  • Prev Build on gh-readonly-queue/develop/pr-5627-3eb35e54df39e585ed272fc79556104285508a67 (#27816874434)
  • Next Build on develop (#27821151306)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc