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

supabase / cli / 24348105329
64%

Build:
DEFAULT BRANCH: develop
Ran 13 Apr 2026 02:17PM UTC
Jobs 1
Files 219
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 Apr 2026 02:12PM UTC coverage: 63.759% (-0.05%) from 63.806%
24348105329

push

github

web-flow
feat(plan-gate): wire billing links into remaining plan-gated commands (#5066)

* refactor(plan-gate): check entitlements on any non-2xx, only show link when confirmed gated

Previously SuggestUpgradeOnError only triggered on 402. Many plan-gated
endpoints return 400 or 404 instead. Now checks entitlements on any
non-2xx and only sets CmdSuggestion when hasAccess is confirmed false,
preventing false positives.

* refactor(branches): rename was402 to isGated in upgrade check

Aligns variable name with the new semantics: SuggestUpgradeOnError
now checks entitlements on any non-2xx, not just 402.

* feat(sso): wire billing link into sso commands when plan-gated

Check org entitlements for auth.saml_2 on any non-2xx response from
SSO provider endpoints. Shows billing upgrade link when the feature
is confirmed gated, before falling through to existing error handling.

* feat(vanity-subdomains): wire billing link into vanity-subdomain commands when plan-gated

Check org entitlements for vanity_subdomain on any non-2xx response.
The platform API returns 400 when vanity subdomains are not available
on the org's plan; the entitlements check confirms the gate before
showing a billing upgrade link.

* docs(telemetry): clean up EventUpgradeSuggested comment

* refactor(plan-gate): use named returns for readability

* fix(plan-gate): use correct projectRef in branches/update, restrict check to 4xx

Two fixes:
- branches/update passed flags.ProjectRef instead of the local
  projectRef resolved from the branch ID, causing entitlements to
  look up the wrong org
- Restrict SuggestUpgradeOnError to 4xx client errors only (skip 2xx
  success and 5xx server errors) to avoid unnecessary API calls on
  server outages

* refactor(telemetry): extract shared TrackUpgradeSuggested helper

Replace 8 identical per-package trackUpgradeSuggested functions with a
single exported telemetry.TrackUpgradeSuggested. Avoids utils->telemetry
import cycle by keeping the helper in the tele... (continued)

20 of 41 new or added lines in 10 files covered. (48.78%)

4 existing lines in 4 files now uncovered.

9796 of 15364 relevant lines covered (63.76%)

7.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
51.81
-2.04% internal/sso/update/update.go
5
28.57
internal/telemetry/events.go
3
0.0
0.0% internal/sso/create/create.go
2
55.0
-3.82% internal/sso/list/list.go
2
54.17
-2.98% internal/sso/remove/remove.go
2
87.5
-12.5% internal/vanity_subdomains/activate/activate.go
2
87.5
-12.5% internal/vanity_subdomains/check/check.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% internal/sso/create/create.go
1
55.0
-3.82% internal/sso/list/list.go
1
54.17
-2.98% internal/sso/remove/remove.go
1
51.81
-2.04% internal/sso/update/update.go
Jobs
ID Job ID Ran Files Coverage
1 24348105329.1 13 Apr 2026 02:17PM UTC 219
63.76
GitHub Action Run
Source Files on build 24348105329
  • Tree
  • List 219
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24348105329
  • 7476ee04 on github
  • Prev Build on develop (#24333403207)
  • Next Build on develop (#24383084666)
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