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

supabase / supabase-flutter / 29415634238
87%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 12:34PM UTC
Jobs 9
Files 97
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 Jul 2026 12:32PM UTC coverage: 88.862% (+0.006%) from 88.856%
29415634238

push

github

web-flow
feat(functions): add request cancellation to invoke via abortSignal (#1593)

## Summary

Adds request cancellation to `FunctionsClient.invoke`, closing the gap
versus the canonical compliance matrix. `invoke` now accepts an optional
`abortSignal` Future; completing it cancels the in-flight HTTP request
and throws `RequestAbortedException`, mirroring how the database client
exposes cancellation through `PostgrestBuilder.abortSignal`.

This is done idiomatically with the `http` package's
`AbortableRequest`/`AbortableMultipartRequest` (wiring `abortTrigger`),
so it works for both regular and multipart invocations.
`RequestAbortedException` is re-exported from the package so callers can
catch it.

A per-invocation timeout is now expressible as `invoke(..., abortSignal:
Future.delayed(duration))`, so the previously `not_applicable`
`functions.invocation.timeout` note is updated accordingly.

## Outcome

**implemented**

## Reference

Mirrors the existing Dart
`database.using_modifiers.request_cancellation` idiom
(`PostgrestBuilder.abortSignal`).

## Compliance matrix

- `functions.invocation.request_cancellation` → **implemented** (symbol
`FunctionsClient.invoke` registered)

## Tests

- Aborting an in-flight request throws `RequestAbortedException`
- Aborting a multipart request throws `RequestAbortedException`
- A never-firing signal lets the request complete normally

SDK-1310

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

5090 of 5728 relevant lines covered (88.86%)

4.25 hits per line

Jobs
ID Job ID Ran Files Coverage
7 functions_client - 29415634238.7 15 Jul 2026 12:33PM UTC 3
98.85
GitHub Action Run
8 supabase - 29415634238.8 15 Jul 2026 12:35PM UTC 16
82.61
GitHub Action Run
9 supabase_flutter - 29415634238.9 15 Jul 2026 12:34PM UTC 10
79.31
GitHub Action Run
2 storage_client - 29408971089.2 15 Jul 2026 10:45AM UTC 8
97.8
GitHub Action Run
3 postgrest - 29408971089.3 15 Jul 2026 10:45AM UTC 10
85.33
GitHub Action Run
7 realtime_client - 29408971089.7 15 Jul 2026 10:45AM UTC 11
90.13
GitHub Action Run
8 supabase_common - 29408971089.8 15 Jul 2026 10:43AM UTC 10
100.0
GitHub Action Run
9 gotrue - 29413897983.9 15 Jul 2026 12:09PM UTC 28
87.6
GitHub Action Run
9 yet_another_json_isolate - 29336359764.9 14 Jul 2026 01:26PM UTC 1
93.65
GitHub Action Run
Source Files on build 29415634238
  • Tree
  • List 97
  • Changed 10
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29415634238
  • b994dabd on github
  • Prev Build on main (#29413897983)
  • Next Build on main (#29415982262)
  • 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