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

supabase / supabase-swift / 29498521121
84%

Build:
DEFAULT BRANCH: main
Ran 16 Jul 2026 12:43PM UTC
Jobs 1
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

16 Jul 2026 12:32PM UTC coverage: 83.725% (+0.4%) from 83.375%
29498521121

push

github

web-flow
feat(postgrest): add notIn filter, dryRun and maybeSingle modifiers (#1114)

* feat(postgrest): add notIn filter, dryRun and maybeSingle modifiers

Closes remaining SDK-1298 query builder gaps: `notIn(_:values:)` filter,
`dryRun()` (Prefer: tx=rollback), and `maybeSingle()` which returns nil
instead of throwing when a query matches zero rows.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* test(postgrest): add integration tests for notIn, dryRun, maybeSingle

Verified end-to-end against a local Supabase instance. dryRun can only
smoke-test the request succeeds — actual rollback requires PostgREST's
db-tx-end setting, which the Supabase CLI dev config doesn't expose;
the Prefer header itself is covered by the PostgREST unit tests.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* test(postgrest): verify dryRun actually rolls back via db_tx_end role setting

PostgREST's db-tx-end can be set per-role via `ALTER ROLE authenticator
SET pgrst.db_tx_end`, same as postgrest-js's own test setup — my earlier
assumption that it required a process-level env var (unreachable via the
Supabase CLI) was wrong. With this enabled, testDryRunOnUpdate now
asserts the update was genuinely rolled back, not just that it didn't
error.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* chore: register notIn/dryRun/maybeSingle in sdk-compliance.yaml

CI's public API check flagged these 3 new symbols as unregistered.

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

34 of 34 new or added lines in 3 files covered. (100.0%)

140 existing lines in 5 files now uncovered.

8061 of 9628 relevant lines covered (83.72%)

38.53 hits per line

Coverage Regressions

Lines Coverage ∆ File
74
87.25
0.03% Sources/Auth/AuthClient.swift
44
80.94
0.51% Sources/Auth/Types.swift
16
57.14
0.0% Sources/Auth/AuthError.swift
5
37.23
11.68% Sources/Auth/Internal/Keychain.swift
1
41.67
-8.33% Sources/Auth/Storage/KeychainLocalStorage.swift
Jobs
ID Job ID Ran Files Coverage
1 29498521121.1 16 Jul 2026 12:43PM UTC 95
83.72
GitHub Action Run
Source Files on build 29498521121
  • Tree
  • List 95
  • Changed 11
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29498521121
  • 0bbdbecb on github
  • Prev Build on main (#29439729435)
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