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

supabase / supabase-flutter / 15668369211 / 1
80%
main: 80%

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

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.

3102 of 3847 relevant lines covered (80.63%)

2.64 hits per line

Source Files on job 15668369211.1
  • Tree
  • List 65
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15668369211
  • cc058e70 on github
  • Prev Job for on main (#15578916758.1)
  • Next Job for on main (#15885681063.1)
  • 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