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

supabase / supabase / 25770847103
76%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 12:44AM UTC
Jobs 1
Files 92
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

13 May 2026 12:40AM UTC coverage: 71.582% (-0.1%) from 71.687%
25770847103

push

github

web-flow
refine organisation invite state helpers (#45813)

## What kind of change does this PR introduce?

Code cleanup. Follow-up to #45774.

## What is the current behavior?

The organisation invite interstitial derives invite states, titles, and
descriptions from nested conditional logic in the component. That makes
the component harder to scan and pushes too much state coverage into
render tests.

## What is the new behavior?

See #45774 for screenshots of the general UI before-and-after (which
this one builds upon). That PR also contains testing instructions.

Extracts the invite status and content decisions into small pure
helpers, then covers those helpers with focused unit tests.

The component keeps the user-facing render and interaction coverage,
including the invalid lookup regression where a 404 should render the
invalid invite state instead of raw backend copy.


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

## Summary by CodeRabbit

* **Refactor**
* Improved organization invite flow with enhanced error state handling
for expired, invalid, and wrong-account scenarios.
* Better consistency in error messages and user guidance throughout the
invite process.

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45813)

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

943 of 1332 branches covered (70.8%)

Branch coverage included in aggregate %.

1450 of 2011 relevant lines covered (72.1%)

248.2 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
55.32
-0.12% apps/studio/lib/ai/generate-assistant-response.ts
6
0.0
0.0% apps/studio/lib/ai/tools/mock-tools.ts
3
71.43
-3.57% apps/studio/lib/ai/tools/studio-tools.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 studio-tests 25770847103.1 13 May 2026 12:44AM UTC 92
71.58
GitHub Action Run
Source Files on build 25770847103
  • Tree
  • List 92
  • Changed 7
  • Source Changed 7
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25770847103
  • 9660b007 on github
  • Prev Build on master (#25746795097)
  • Next Build on master (#25772008430)
  • 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