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

supabase / supabase / 42229551316
87%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2026 02:01PM UTC
Jobs 1
Files 190
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

06 Nov 2026 01:56PM UTC coverage: 87.069% (+0.04%) from 87.033%
42229551316

push

github

web-flow
fix(studio): show an error toast when deleting a JWT signing key fails (#53087)

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

On the JWT Keys settings page, the delete mutation for a signing key is
called with a custom `onError` that only closes the dialog. A custom
`onError` replaces the hook's default error toast, so when the API
rejects the delete (for example a 422 for a revoked key that cannot be
deleted yet), the dialog closes and nothing tells the user why.

## What is the new behavior?

The custom `onError` still closes the dialog, and now also shows `Failed
to delete JWT signing key: <API error message>` as an error toast.

## How to verify

1. Open Project Settings > JWT Keys on a project with a revoked signing
key that the API refuses to delete.
2. Click Delete on the revoked key and confirm.
3. An error toast appears with the API's error message, and the dialog
closes.
4. Deleting a revoked key that the API accepts still shows "Successfully
deleted key" and removes it from the list.

## Checks run

- `pnpm turbo run lint --filter='[origin/master]'`
- Studio typecheck (`tsc --noEmit` in `apps/studio`; the turbo run ran
out of memory, the direct run passed)
- Prettier check on the changed file


[FE-4943](https://linear.app/supabase/issue/FE-4943/no-error-message-shown-when-deleting-revoked-jwt-key-fails)

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>

2049 of 2417 branches covered (84.77%)

Branch coverage included in aggregate %.

2846 of 3205 relevant lines covered (88.8%)

201.27 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 studio-tests 42229551316.1 06 Nov 2026 02:01PM UTC 760
38.44
GitHub Action Run
Source Files on build 42229551316
  • Tree
  • List 190
  • Changed 157
  • Source Changed 0
  • Coverage Changed 157
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42229551316
  • b1cc9cf4 on github
  • Prev Build on master (#42224975896)
  • Next Build on master (#42230291742)
  • 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