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

supabase / supabase-flutter / 27911371337
85%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2026 05:03PM UTC
Jobs 8
Files 78
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

21 Jun 2026 05:02PM UTC coverage: 85.171%. Remained the same
27911371337

push

github

web-flow
chore(supabase_lints): enable avoid-shadowing (#1427)

Stacked on #1426.

## What

Enables `avoid-shadowing` by renaming the 52 inner identifiers that
shadowed an outer field, getter, or variable.

### lib (real field/getter shadows)
- `postgrest` / `storage_file_api`: local `url` -> `requestUrl`
(shadowed the `url` getter).
- `supabase_client`: setter param `headers` -> `newHeaders`; local
`headers` -> `mergedHeaders`.
- `realtime_client`: `channel` positional `params` -> `config`;
`onConnMessage` local `ref` -> `messageRef`;
`endPointURL`/`_appendParams` `params` -> `queryParams`.
- `realtime_channel`: local `presence` -> `presenceConfig`; `isMember`
param `topic` -> `otherTopic`.
- `push`: params `timeout`/`payload` -> `newTimeout`/`newPayload`;
callback `(payload, [ref])` -> `(response, [_])`.
- `realtime_presence`: closure `presences` -> `pres`.
- `gotrue_client`: locals `currentSession` -> `existingSession`; closure
params `(jwk)` -> `(key)`, `(event)` -> `(e)`.

### tests
Per-test locals that shadowed `setUp`/group variables were renamed
(`postgrest`/`storage`/`supabase`/`client`/`socket`/`channel` locals),
websocket-message closure params `request` -> `message`, and the `on`
group's redundant `late RealtimeChannel channel` was dropped to reuse
the outer one.

### inline ignore (breaking to rename)
- `functions_client.invoke`'s public `headers` named parameter keeps an
`// ignore: avoid-shadowing` — renaming it would break callers.

## Verification
- `dcm analyze packages` -> no issues found.
- `dart analyze` clean across all packages (lib + test); `flutter
analyze --fatal-warnings` clean.
- Tests: realtime socket/channel/mock/transformers 101 pass, postgrest
retry+stack_trace 17, supabase_flutter 49. Pure refactor
(compiler-verified rename); server-dependent integration tests
unaffected.

43 of 46 new or added lines in 8 files covered. (93.48%)

4078 of 4788 relevant lines covered (85.17%)

3.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
70.87
0.0% packages/realtime_client/lib/src/realtime_presence.dart
1
71.21
0.0% packages/gotrue/lib/src/gotrue_client.dart
Jobs
ID Job ID Ran Files Coverage
1 storage_client - 27911371337.1 21 Jun 2026 05:05PM UTC 5
93.01
GitHub Action Run
2 functions_client - 27911371337.2 21 Jun 2026 05:03PM UTC 2
97.1
GitHub Action Run
3 realtime_client - 27911371337.3 21 Jun 2026 05:05PM UTC 11
88.15
GitHub Action Run
4 gotrue - 27911371337.4 21 Jun 2026 05:05PM UTC 26
83.53
GitHub Action Run
5 supabase_flutter - 27911371337.5 21 Jun 2026 05:04PM UTC 9
77.0
GitHub Action Run
6 supabase - 27911371337.6 21 Jun 2026 05:03PM UTC 15
82.1
GitHub Action Run
7 yet_another_json_isolate - 27911371337.7 21 Jun 2026 05:03PM UTC 1
79.03
GitHub Action Run
8 postgrest - 27911371337.8 21 Jun 2026 05:05PM UTC 9
83.76
GitHub Action Run
Source Files on build 27911371337
  • Tree
  • List 78
  • Changed 9
  • Source Changed 9
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27911371337
  • 804e819a on github
  • Prev Build on main (#27771763312)
  • Next Build on main (#27911656760)
  • 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