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

supabase / supabase-flutter / 29415982262
87%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 12:39PM UTC
Jobs 9
Files 102
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:38PM UTC coverage: 86.787% (-2.1%) from 88.862%
29415982262

push

github

web-flow
feat(storage): add analytics (Iceberg) bucket CRUD (#1588)

## Summary

Adds support for analytics (Apache Iceberg) buckets to `storage_client`,
covering the bucket lifecycle: create, list, and delete. These map to
the storage server's Iceberg bucket endpoints under `/iceberg/bucket`.

New public API on the storage bucket client:
- `createAnalyticsBucket(String id)` → `AnalyticsBucket` — `POST
/iceberg/bucket`
- `listAnalyticsBuckets([ListBucketsOptions options])` →
`List<AnalyticsBucket>` — `GET /iceberg/bucket`
- `deleteAnalyticsBucket(String id)` → `String` — `DELETE
/iceberg/bucket/:name`

Listing reuses the existing `ListBucketsOptions`
(limit/offset/search/sortColumn/sortOrder), matching the file bucket
listing API. A new `AnalyticsBucket` type models the response (`id`,
`name`, `createdAt`, `updatedAt`).

## Scope

This PR covers the analytics **bucket** capabilities only. The Iceberg
REST Catalog operations (namespaces and tables) are a much larger
surface (a standalone `iceberg-js`-equivalent client) and are tracked as
a follow-up in SDK-1309.

## Outcome

`implemented` for:
- `storage.analytics.create_analytics_bucket`
- `storage.analytics.list_analytics_buckets`
- `storage.analytics.delete_analytics_bucket`

## Tests

Added unit tests in `basic_test.dart` (mock HTTP client) verifying
request method/path/body and response parsing for all three methods.
Full `storage_client` mock test suite passes.

## Reference

Supabase Storage server Iceberg bucket routes
(`src/http/routes/iceberg/bucket.ts`). In supabase-js the analytics
bucket API is not yet in the storage client; the Iceberg catalog lives
in the standalone `supabase/iceberg-js` package.

## Compliance matrix

`sdk-compliance.yaml`: the three capabilities above → `implemented`,
with new public symbols registered.

Part of SDK-1308.

447 of 652 new or added lines in 8 files covered. (68.56%)

5537 of 6380 relevant lines covered (86.79%)

3.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
76
69.6
packages/storage_client/lib/src/iceberg/iceberg_types.dart
61
11.59
packages/storage_client/lib/src/iceberg/table_update.dart
32
86.5
packages/storage_client/lib/src/iceberg/iceberg_rest_catalog.dart
23
28.13
packages/storage_client/lib/src/iceberg/table_requirement.dart
8
74.19
packages/storage_client/lib/src/iceberg/iceberg_error.dart
5
81.08
-12.67% packages/storage_client/lib/src/storage_client.dart
Jobs
ID Job ID Ran Files Coverage
7 supabase_flutter - 29415982262.7 15 Jul 2026 12:39PM UTC 10
79.31
GitHub Action Run
8 storage_client - 29415982262.8 15 Jul 2026 12:41PM UTC 13
84.42
GitHub Action Run
9 supabase - 29415982262.9 15 Jul 2026 12:40PM UTC 16
82.61
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
7 functions_client - 29415634238.7 15 Jul 2026 12:33PM UTC 3
98.85
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 29415982262
  • Tree
  • List 102
  • Changed 12
  • Source Changed 7
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29415982262
  • e3eeb9e6 on github
  • Prev Build on main (#29415634238)
  • Next Build on main (#29417623650)
  • 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