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

supabase / storage / 42895744060
88%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2026 08:30PM UTC
Jobs 2
Files 338
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 Nov 2026 08:29PM UTC coverage: 87.601% (-0.002%) from 87.603%
42895744060

push

github

web-flow
fix(iceberg): purge a tenant's Iceberg resources on delete with purge=true (#1686)

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

When a tenant is deleted we don't clean up its Iceberg resources. The
catalog, namespace, and table rows stay in the MT database, the shard
slots are never freed, and the tables and namespaces stay in the S3
Tables shard buckets. In staging this filled up the shard buckets
(10,000 namespace limit per bucket), which caused `too_many_namespaces`
errors and failing Iceberg acceptance tests.

## What is the new behavior?

We add a `purge` query param that can be used when the tenant is
"officially" deleted. Currently there are times when the `DELETE
/admin/tenants/:tenantId` endpoint is called but it's just temporarily,
so we don't want to remove anything.

When `purge=true` is set, before deleting the tenant row we clean up the
tenant's Iceberg resources the same way deleting an analytics bucket
does (see `BucketDeleted`).

## Additional context

8486 of 10192 branches covered (83.26%)

Branch coverage included in aggregate %.

8 of 9 new or added lines in 2 files covered. (88.89%)

14511 of 16060 relevant lines covered (90.35%)

1353.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.64
-0.18% src/http/routes/admin/tenants.ts
Jobs
ID Job ID Ran Files Coverage
1 rest-pg18 - 42895744060.1 10 Nov 2026 08:34PM UTC 316
67.0
GitHub Action Run
2 unit - 42895744060.2 10 Nov 2026 08:30PM UTC 331
70.21
GitHub Action Run
Source Files on build 42895744060
  • Tree
  • List 338
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42895744060
  • 484a2900 on github
  • Prev Build on master (#42858276720)
  • Next Build on master (#42903078346)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc