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

supabase / supabase / 42224975896
87%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2026 01:27PM 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:22PM UTC coverage: 87.033%. Remained the same
42224975896

push

github

web-flow
fix(studio): only show free Micro upgrade banner on paid plans (#53041)

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

The project homepage shows the "free upgrade to Micro" banner
(`BannerFreeMicroUpgrade`) for any project on Nano compute that is near
resource exhaustion, regardless of the organization's plan. The free
Micro upgrade only applies to paid plans, so organizations on the Free
plan can see a banner offering something they are not eligible for.
`ComputeBadgeWrapper` already gates the equivalent upgrade glow on
`plan.id !== 'free'`.

## What is the new behavior?

`ProjectLayout` only shows the banner when the selected organization's
plan is known and is not `free`. The plan comes from the already-loaded
selected organization, so this adds no new request. While the plan is
unknown, the banner stays hidden.

## How to verify

- In a project of a Free plan organization on Nano compute with a
resource exhaustion warning, the project homepage does not show the free
Micro upgrade banner.
- In a project of a paid (Pro or higher) organization on Nano compute
with a resource exhaustion warning, the project homepage still shows the
banner.
- Projects not on Nano compute, or without exhaustion warnings, show no
banner, same as before.

## Checks run

- `pnpm turbo run typecheck --filter='...[origin/master]'`: pass
- `pnpm turbo run lint --filter='[origin/master]'`: pass
- Prettier check on the changed file: pass
- `vitest related` for the changed file could not run in the sandbox (it
stopped on a parse error in an unrelated static `.md` file before
reaching any test). No existing test covers this banner condition.


[FE-4366](https://linear.app/supabase/issue/FE-4366/free-micro-upgrade-banner-missing-plan-tier-gate-in-projectlayout)

---------

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

2048 of 2417 branches covered (84.73%)

Branch coverage included in aggregate %.

2845 of 3205 relevant lines covered (88.77%)

201.27 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 studio-tests 42224975896.1 06 Nov 2026 01:27PM UTC 760
38.43
GitHub Action Run
Source Files on build 42224975896
  • 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 #42224975896
  • f8990cbd on github
  • Prev Build on master (#42220645817)
  • Next Build on master (#42229551316)
  • 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