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

supabase / supabase-flutter / 15668369211
80%

Build:
DEFAULT BRANCH: main
Ran 15 Jun 2025 11:19PM UTC
Jobs 1
Files 65
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

15 Jun 2025 11:12PM UTC coverage: 80.634% (-0.06%) from 80.697%
15668369211

push

github

web-flow
feat(supabase_flutter): Make `Supabase.initialize()` idempotent (#1194)

[Supabase] Make initialize() idempotent

This PR introduces a minor update to the initialize() method to avoid throwing when called multiple times. Instead, it logs an informational message and returns the existing instance, making initialization idempotent and smoother for production use.

- Replaced assert(!_instance.isInitialized) with a runtime check to prevent throwing.
- Added _log.info() when a reinitialization attempt occurs.
- Exposed isInitialized as a public read-only getter for improved observability.
- Avoids throwing errors in release mode by gracefully handling repeated initialization.

4 of 7 new or added lines in 1 file covered. (57.14%)

3102 of 3847 relevant lines covered (80.63%)

2.64 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
61.33
-2.56% packages/supabase_flutter/lib/src/supabase.dart
Jobs
ID Job ID Ran Files Coverage
1 15668369211.1 15 Jun 2025 11:19PM UTC 65
80.63
GitHub Action Run
Source Files on build 15668369211
  • Tree
  • List 65
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15668369211
  • cc058e70 on github
  • Prev Build on main (#15578916758)
  • Next Build on main (#15885681063)
  • 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

© 2025 Coveralls, Inc