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

supabase / supabase-flutter / 28854635370
86%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 09:07AM UTC
Jobs 8
Files 83
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

07 Jul 2026 09:05AM UTC coverage: 86.402% (-0.005%) from 86.407%
28854635370

push

github

web-flow
fix: skip packages without lib/src in update-version script (#1540)

## What

The `update-version` melos script (run as a `preCommit` hook during
`melos version`) iterated over every `packages/*/` and redirected output
into `$d/lib/src/version.dart`. This failed for `supabase_lints`, which
is a lints-only package with no `lib/src/` directory:

```
ERROR: /bin/sh: line 4: packages/supabase_lints//lib/src/version.dart: No such file or directory
```

The package was added after the script was written and was never
accounted for.

## Fix

Only update packages that already have a `version.dart` file:

```sh
[ -f "${d}lib/src/version.dart" ] || continue
```

This naturally skips `supabase_lints` (no `lib/src/version.dart`) and
`yet_another_json_isolate` (intentionally keeps no tracked
`version.dart`), which also lets us drop the fragile `rm
packages/yet_another_json_isolate/lib/src/version.dart` line.

## Verification

Dry-run of the updated loop writes `version.dart` for the seven packages
that have one and skips both `supabase_lints` and
`yet_another_json_isolate`.

4454 of 5155 relevant lines covered (86.4%)

3.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 gotrue - 28854635370.1 07 Jul 2026 09:10AM UTC 29
86.0
GitHub Action Run
2 supabase - 28854635370.2 07 Jul 2026 09:08AM UTC 15
80.69
GitHub Action Run
3 realtime_client - 28854635370.3 07 Jul 2026 09:09AM UTC 11
89.06
GitHub Action Run
4 supabase_flutter - 28854635370.4 07 Jul 2026 09:07AM UTC 11
79.0
GitHub Action Run
5 functions_client - 28854635370.5 07 Jul 2026 09:07AM UTC 2
98.63
GitHub Action Run
6 yet_another_json_isolate - 28854635370.6 07 Jul 2026 09:07AM UTC 1
77.78
GitHub Action Run
7 postgrest - 28854635370.7 07 Jul 2026 09:09AM UTC 9
84.57
GitHub Action Run
8 storage_client - 28854635370.8 07 Jul 2026 09:09AM UTC 5
93.23
GitHub Action Run
Source Files on build 28854635370
  • Tree
  • List 83
  • Changed 8
  • Source Changed 8
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28854635370
  • 2cba5b67 on github
  • Prev Build on main (#28852642300)
  • Next Build on main (#28855128517)
  • Delete
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