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

supabase / supabase-flutter / 38891341718
92%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2026 11:05AM UTC
Jobs 11
Files 178
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 Oct 2026 11:04AM UTC coverage: 92.261%. Remained the same
38891341718

push

github

web-flow
feat(auth): add admin updateFactor for MFA factors (#1965)

Linear: SDK-2256

## Why

`auth.admin.update_mfa_factor` was added to the capability matrix in
supabase/sdk#255 and released in capability-matrix v1.15.0. It is the
only way to change a factor's friendly name, or a phone factor's number,
after enrollment.

## What

- Adds `AuthAdminMFAApi.updateFactor({userId, factorId, friendlyName,
phone})`, which sends `PUT /admin/users/{userId}/factors/{factorId}`.
Only the fields that are given go into the body, so the server's
partial-update semantics carry through. Both ids are checked with
`validateUuid` before any request is sent, like `listFactors` and
`deleteFactor`.
- Adds `AuthMFAAdminUpdateFactorResponse`, holding the updated `Factor`.
- Registers `auth.admin.update_mfa_factor` as `implemented` in
`sdk-compliance.yaml`.
- Bumps the supabase/sdk pin in `validate-capabilities.yml` and
`sync-compliance.yml` from capability-matrix v1.14.0 to v1.15.0, the
first tag that defines the id. The reusable Dart workflow is unchanged
between the two tags.

## Verification

- New mock tests cover the method, path, body shape and response
parsing. Integration tests against the local stack rename the seeded
factor and check that an empty update leaves it unchanged. Id validation
is covered in `admin_test.dart`.
- Against capability-matrix v1.15.0: `check-api-symbols`, `check-drift`
and `validate-compliance` all pass.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Administrators can now update an MFA factor’s friendly name or phone
number. Any fields not supplied remain unchanged, and the updated factor
is returned.
* Phone-number changes are ignored for factors that aren’t phone-based.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

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

8 existing lines in 1 file now uncovered.

10062 of 10906 relevant lines covered (92.26%)

5.36 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
74.07
0.0% packages/supabase_auth/lib/src/types/mfa.dart
Jobs
ID Job ID Ran Files Coverage
9 supabase_functions - 38891341718.9 16 Oct 2026 11:05AM UTC 4
93.28
GitHub Action Run
10 iceberg - 38891341718.10 16 Oct 2026 11:05AM UTC 6
71.32
GitHub Action Run
11 supabase_flutter - 38891341718.11 16 Oct 2026 11:06AM UTC 15
80.58
GitHub Action Run
9 supabase_typegen - 38746912467.9 15 Oct 2026 01:59PM UTC 25
97.14
GitHub Action Run
4 supabase_storage - 38746912467.4 15 Oct 2026 01:59PM UTC 9
98.47
GitHub Action Run
8 postgrest - 38746912467.8 15 Oct 2026 02:00PM UTC 32
94.3
GitHub Action Run
3 supabase - 38746912467.3 15 Oct 2026 02:00PM UTC 17
95.04
GitHub Action Run
5 supabase_auth - 38746912467.5 15 Oct 2026 02:01PM UTC 32
92.48
GitHub Action Run
10 supabase_realtime - 38746912467.10 15 Oct 2026 02:00PM UTC 14
90.92
GitHub Action Run
11 supabase_common - 38742076258.11 15 Oct 2026 01:23PM UTC 23
87.92
GitHub Action Run
11 yet_another_json_isolate - 37623283614.11 07 Oct 2026 12:48PM UTC 1
98.44
GitHub Action Run
Source Files on build 38891341718
  • Tree
  • List 178
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38891341718
  • 1fce37c3 on github
  • Prev Build on main (#38746912467)
  • Next Build on main (#38891534378)
  • Delete
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