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

supabase / supabase-flutter / 29094527665
87%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2026 01:02PM UTC
Jobs 9
Files 95
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

10 Jul 2026 01:01PM UTC coverage: 87.045% (+0.06%) from 86.987%
29094527665

push

github

web-flow
feat(postgrest): abort requests (#1368)

## What kind of change does this PR introduce?

feature

## What is the current behavior?

One cannot abort a started http request. Even by adding a `.timeout` to
the feature only ignores the result of the future but does not cancel
its execution.

## What is the new behavior?

Starting with `http` v1.5.0` it is now possible to abort requests.

```dart
final abortCompleter = Completer<void>();
Timer(Duration(seconds: 5), () => abortCompleter.complete());
try {
  final response = await client
  .from('table')
  .select()
  .abortCompleter(abortCompleter);
} on RequestAbortedException catch (e) {
 print('Request was aborted: $e');
}
```

Supabase-js uses `.abortSignal`, but since the dart implementation uses
futures/completer I switched to `.abortCompleter`. But I'm not entirely
sure and open for discussion about choosing a different name.

related: #898 
The issue covers the general feature to abort requests, so we can cover
aborting the requests in functions in another pr.

17 of 17 new or added lines in 1 file covered. (100.0%)

4663 of 5357 relevant lines covered (87.04%)

4.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 yet_another_json_isolate - 29094527665.1 10 Jul 2026 01:02PM UTC 1
77.78
GitHub Action Run
2 gotrue - 29094527665.2 10 Jul 2026 01:06PM UTC 28
86.47
GitHub Action Run
3 supabase - 29094527665.3 10 Jul 2026 01:03PM UTC 16
82.43
GitHub Action Run
4 storage_client - 29094527665.4 10 Jul 2026 01:05PM UTC 6
93.87
GitHub Action Run
5 postgrest - 29094527665.5 10 Jul 2026 01:05PM UTC 10
85.37
GitHub Action Run
6 realtime_client - 29094527665.6 10 Jul 2026 01:05PM UTC 11
89.61
GitHub Action Run
7 functions_client - 29094527665.7 10 Jul 2026 01:02PM UTC 3
98.81
GitHub Action Run
8 supabase_common - 29094527665.8 10 Jul 2026 01:02PM UTC 10
87.85
GitHub Action Run
9 supabase_flutter - 29094527665.9 10 Jul 2026 01:03PM UTC 10
79.31
GitHub Action Run
Source Files on build 29094527665
  • Tree
  • List 95
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29094527665
  • c267e4fa on github
  • Prev Build on main (#29094096134)
  • Next Build on main (#29099122685)
  • 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