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

supabase / supabase-flutter / 28521555986
86%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2026 01:38PM UTC
Jobs 8
Files 80
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

01 Jul 2026 01:35PM UTC coverage: 85.629% (+0.02%) from 85.605%
28521555986

push

github

web-flow
fix(supabase_flutter): backfill requireResidentKey when omitted by the server (#1502)

## Summary
- `authenticatorSelection.requireResidentKey` has been optional and
deprecated in the WebAuthn spec since Level 2, so the Supabase Auth
server may correctly omit it. The `passkeys_platform_interface` plugin
still requires it as a non-nullable `bool`, so passing the raw server
response through crashed `registerPasskey()` with a null cast error.
- `passkeyRegisterRequestFromOptions` now normalizes
`authenticatorSelection`, deriving `requireResidentKey` from
`residentKey` when the server omits it (`true` if `residentKey ==
"required"`, otherwise `false`), matching the WebAuthn spec's backwards
compatibility guidance.

Fixes #1496

## Test plan
- [x] Added unit tests in `passkey_options_mapper_test.dart` covering:
default to `false`, derive `true` from a required `residentKey`, and
preserving a provided value.
- [x] `flutter test test/passkey_options_mapper_test.dart` passes
(10/10).
- [x] `flutter analyze` clean on changed files.

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

4141 of 4836 relevant lines covered (85.63%)

3.74 hits per line

Jobs
ID Job ID Ran Files Coverage
8 supabase_flutter - 28521555986.8 01 Jul 2026 01:38PM UTC 11
79.26
GitHub Action Run
4 postgrest - 28433368938.4 30 Jun 2026 09:14AM UTC 9
84.29
GitHub Action Run
7 realtime_client - 28433368938.7 30 Jun 2026 09:15AM UTC 11
88.4
GitHub Action Run
2 gotrue - 28433368938.2 30 Jun 2026 09:15AM UTC 26
84.2
GitHub Action Run
3 yet_another_json_isolate - 28433368938.3 30 Jun 2026 09:12AM UTC 1
79.03
GitHub Action Run
7 functions_client - 28444889808.7 30 Jun 2026 12:39PM UTC 2
98.57
GitHub Action Run
6 storage_client - 28444889808.6 30 Jun 2026 12:41PM UTC 5
92.98
GitHub Action Run
8 supabase - 28444889808.8 30 Jun 2026 12:40PM UTC 15
81.8
GitHub Action Run
Source Files on build 28521555986
  • Tree
  • List 80
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28521555986
  • cf382968 on github
  • Prev Build on main (#28444889808)
  • Next Build on main (#28525039155)
  • 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