Skip to content

feat(studio): enable functions counter on Home for self-hosted environments#1612

Closed
everettbu wants to merge 5 commits into
masterfrom
feat/show-counter-functions
Closed

feat(studio): enable functions counter on Home for self-hosted environments#1612
everettbu wants to merge 5 commits into
masterfrom
feat/show-counter-functions

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of supabase/supabase#42992
Original author: luizfelmach


I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Feature

What is the current behavior?

The Functions counter on the Home page is only displayed in platform environments.
In self-hosted setups, the counter is hidden due to a platform guard, even though Functions may be available.

What is the new behavior?

The Functions counter is now also displayed in self-hosted environments.

This is now possible thanks to the following PRs:

  • #40690
  • #42322
  • #42349
  • #42350

These PRs introduce and enable the API required for listing Functions in Studio, making it feasible to show the Functions count outside of the platform environment.

Additional context

Related issues: #36285

This change removes the platform-only restriction around the Functions card in the Home interface, allowing feature parity between platform and self-hosted deployments where the Functions API is available.

image

@everettbu everettbu added edge functions self-hosted Related to self-hosted Supabase labels Feb 18, 2026
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 22151786704

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 73.613%

Totals Coverage Status
Change from base Build 22151531634: 0.0%
Covered Lines: 3008
Relevant Lines: 4277

💛 - Coveralls

@github-actions

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  131 passed
flaky  4 flaky
skipped  5 skipped

Details

stats  140 tests across 19 suites
duration  9 minutes, 51 seconds
commit  52de2b6

Flaky tests

Features › cron-jobs.spec.ts › High Query Cost Banner › shows banner and still displays cron jobs when query cost exceeds threshold
Features › database-webhooks.spec.ts › Database Webhooks › can delete a webhook with correct toast message
Features › rls-policies.spec.ts › RLS Policies › Create RLS Policy › should create a DELETE policy
Features › table-editor.spec.ts › table editor › copying cell values from first and second row works

Skipped tests

Features › assistant.spec.ts › AI Assistant › Can send a message to the assistant and receive a response
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@everettbu

Copy link
Copy Markdown
Author

Upstream PR was closed or merged. Code is synced via branch mirror.

@everettbu everettbu closed this Feb 18, 2026
@everettbu everettbu deleted the feat/show-counter-functions branch February 18, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edge functions self-hosted Related to self-hosted Supabase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants