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

supabase / cli / 28027565215
65%

Build:
DEFAULT BRANCH: develop
Ran 23 Jun 2026 12:54PM UTC
Jobs 1
Files 228
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

23 Jun 2026 12:46PM UTC coverage: 64.886% (+0.1%) from 64.768%
28027565215

push

github

web-flow
feat(cli): add registry fallbacks for Docker image pulls (#5660)

## Summary

- When no registry override is set, image pulls now try **ECR → GHCR →
Docker Hub** in sequence instead of failing on the first error
- Rate-limit errors (429, `toomanyrequests`) from one registry
automatically fall through to the next candidate rather than bubbling to
the user
- An explicit `SUPABASE_INTERNAL_IMAGE_REGISTRY` override still
restricts pulls to the single configured registry, preserving existing
mirror behaviour

## Changes

**Go (`apps/cli-go`)**
- `GetRegistryImageUrls(imageName)` — returns the ordered fallback
candidate list
- `GetRegistryAuthForImage(imageTag)` — per-registry auth lookup backed
by a `sync.Map` (replaces the single `sync.Once` that only cached one
registry's credentials)
- `DockerResolveImageIfNotCached` — tries each candidate for a local
inspect hit, then for a pull, and returns the resolved URL; callers use
it to set `config.Image` directly
- `HasRegistryOverride()` helper for branching between single-registry
and multi-fallback paths

**TypeScript (`apps/cli`)**
- `legacyGetRegistryImageUrlCandidates(imageName)` — mirrors the same
ECR/GHCR/Docker Hub logic in `legacy-docker-registry.ts`
- `legacy-docker-run.layer.ts` — `resolveImage` tries candidates with
per-attempt retries on transient patterns; `withResolvedImage` injects
the result into `LegacyDockerRunOpts` before `runCapture`, `runStream`,
and `runInteractive`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

10869 of 16751 relevant lines covered (64.89%)

10.28 hits per line

Coverage Regressions

Lines Coverage ∆ File
60
79.25
2.69% internal/utils/docker.go
Jobs
ID Job ID Ran Files Coverage
1 28027565215.1 23 Jun 2026 12:54PM UTC 228
64.89
GitHub Action Run
Source Files on build 28027565215
  • Tree
  • List 228
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28027565215
  • 62966108 on github
  • Prev Build on develop (#28026600674)
  • Next Build on develop (#28033703838)
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