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

supabase / cli / 28239246635
65%

Build:
DEFAULT BRANCH: develop
Ran 26 Jun 2026 12:55PM UTC
Jobs 1
Files 229
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

26 Jun 2026 12:47PM UTC coverage: 65.001% (+0.02%) from 64.981%
28239246635

push

github

web-flow
fix(cli): skip empty schema_paths globs in db diff (#5702)

## TL;DR

Fixes a regression in `supabase db diff` where declarative
`schema_paths` entries that currently match no files
would abort the command instead of being skipped

## What’s fixed?

loading path now ignores empty `schema_paths` glob matches while still
preserving existing behavior for valid matches, deterministic ordering,
deduping, and invalid glob errors

**Before:**

Projects using declarative schema config like:
would fail if one of those globs matched nothing, with an error like:

```text
no files matched pattern: supabase/schemas/materialized_views/*.sql
```

That turned a normal incremental-adoption setup into a fatal `db diff`
failure

**After:**

skips empty `schema_paths` glob entries and continues diffing with the
files that do exist,
matching the expected existing behavior

## Ref

- closes #5700

10982 of 16895 relevant lines covered (65.0%)

10.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
25
61.27
2.1% internal/db/diff/diff.go
2
82.41
0.0% internal/storage/rm/rm.go
Jobs
ID Job ID Ran Files Coverage
1 28239246635.1 26 Jun 2026 12:55PM UTC 229
65.0
GitHub Action Run
Source Files on build 28239246635
  • Tree
  • List 229
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28239246635
  • 81265b8a on github
  • Prev Build on develop (#28238782528)
  • Next Build on develop (#28239466512)
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