Commit Graph
40517 Commits
Author SHA1 Message Date
Mikaël Francoeur 10a1753d89 add Mikaël Francoeur to humans.txt (#51962)
## Problem

I wasn't in humans.txt

## Solution

Add myself to humans.txt

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-19 16:53:28 -04:00
Pamela Chia 8eebfdf7c8 fix(docs): build crawler reference nav links from PROD_URL (#51956)
Bot-served SDK reference pages (`/api/crawlers`) built every nav link
from `request.url`. Behind the supabase.com/docs rewrite, that URL
carries the internal docs host, so agents following the nav landed there
instead of supabase.com. The canonical tag was already hardcoded to
supabase.com. I switched the nav links to `PROD_URL`, the constant the
markdown alternates and JSON-LD already use.

**Note:** I chose absolute `PROD_URL` links over root-relative
`/docs/...` hrefs because agents that convert the HTML to markdown or
plain text lose the page's base URL.

## To test

Tested on the PR preview:
- [x] `curl -s -A 'Claude-User (claude-code/2.1.303;
+https://support.anthropic.com/)'
<preview>/docs/reference/javascript/select | grep -o 'href="[^"]*"' |
sort -u | head`, expect every nav href to start with
`https://supabase.com/docs/reference/javascript/` and none to point at
the internal docs host
- [x] Same request with a browser UA, expect the regular reference page
(the browser route is untouched)

## Linear
- fixes GROWTH-1341
2026-10-19 22:30:55 +02:00
Pamela Chia 0afbc50aea fix(docs): repair two docs destinations (#51959)
I fixed an Auth troubleshooting link that returned 404 to crawlers and
added a permanent redirect from the readable password-reset guide URL to
its existing canonical page.

## To test

Tested on the [docs
preview](https://docs-git-fix-growth-1342-docs-404-links-supabase.vercel.app/docs/guides/troubleshooting/database-error-saving-new-user-RU_EwB)
and [website
preview](https://zone-www-dot-com-git-fix-growth-1342-docs-404-links-supabase.vercel.app):

- [x] Open the Auth troubleshooting guide and follow its Auth API link.
Expect visible `createUser` reference content; browser and bot requests
return 200.
- [x] Request the readable password-reset URL and its `.md` variant on
the website preview. Expect 308 to the exact canonical paths; the
corresponding docs preview destinations return 200.
- [x] Request the canonical URLs directly on the docs preview and an
unrelated unknown troubleshooting URL. Expect 200 without redirects for
the canonical pages and 404 for the unknown URL.

**Note:** The docs preview logged React hydration error `#418` on
initial load. The browser disconnected before I could compare the
production console (`Browser is not available: 3`).

## Linear
- fixes GROWTH-1342
2026-10-19 22:30:28 +02:00
132375e0ca fix(docs): track mouse clicks on Search V2 results (GROWTH-1331) (#51542)
Mouse clicks on Search V2 results never send
`docs_search_v2_result_clicked`; only Enter does. Since #51175, the
result link's click handler sets `isPointerSelectRef`, so
`SearchV2Result.handleSelect` returns early on a click before it reaches
the event in `SearchV2Panel`. The event's definition in
`telemetry-constants.ts` says it fires on click or keyboard selection.

I moved the event to the top of `SearchV2Result.handleSelect`, before
the pointer early-return. cmdk calls `onSelect` on every left click as
well as on Enter, so one call tracks Enter, plain clicks, and modifier
clicks (new tab), once each. Navigation is unchanged, and no event or
property is renamed or removed.

**Note:** middle-click opens fire `auxclick` instead of `click`, so they
stay untracked. No other tracking in the repo listens for `auxclick`,
and I kept it that way.

## To test
Force Search V2 on the docs preview with
`?docs-search-v2=search-v2-active`, then open search and type a query
with the network tab open.

Tested on the PR preview:
- [x] Click a result: one `docs_search_v2_result_clicked` request with
`resultPath` and `query`, the page navigates, and the dialog closes.
- [x] Cmd/Ctrl-click a result: one event, the result opens in a new tab,
and the dialog stays open.
- [x] Arrow to a result and press Enter: one event, and the page
navigates.
- [x] Middle-click a result: no event, the result opens in a new tab.
- [x] Type a query and press Escape: no `docs_search_v2_result_clicked`,
only `docs_search_v2_closed`.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill (n/a: no docs content
changed)

## Linear
- fixes GROWTH-1331

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2026-10-19 22:30:05 +02:00
3bd3410053 feat(docs) - add TechArticle JSON+LD markup to /guides pages (#51497)
## Problem

There are some gaps for [structured
metadata](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
in docs, specifically pages under `/guides` that only have `Breadcrumb`
schema elements specified right now.

## Solution

Adds the following structured data types:
- `/docs/guides` -> `TechArticle`

## Preview links

### Guides


https://docs-git-kody-devrel-697-docs-structured-data-supabase.vercel.app/docs/guides/ai-tools

[validation](https://validator.schema.org/#url=https%3A%2F%2Fdocs-git-kody-devrel-697-docs-structured-data-supabase.vercel.app%2Fdocs%2Fguides%2Fai-tools)

<img width="1137" height="582" alt="image"
src="https://github.com/user-attachments/assets/cad45991-76eb-4d6b-af53-3a6605dc8490"
/>

---------

Co-authored-by: Miranda Limonczenko <miranda.limonczenko@supabase.io>
Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-19 14:56:20 -05:00
Alaister YoungandAlaister Young 23b93e9123 fix(studio): guard unsaved edits in TanStack (#51042)
Unsaved Edge Function, email template, and report edits block TanStack
navigation until the user chooses whether to leave. Keep editing
preserves the current route and draft, while Discard changes navigates
on the first click.

Depends on #51067 for the coordinated TanStack upgrade and published
history fix. This layer contains only the navigation behavior and its
regression coverage.

**Changed:**

- Select a native TanStack blocker through the Vite alias while
retaining the original Next hook for the fallback runtime.
- Preserve the latest navigation destination across repeated
cancel/confirm attempts and browser history traversal.

**Added:**

- Regression coverage for dirty state, cancel/confirm, unload protection
after traversal, encoded URLs, browser history, and the original Next
hook.

## To test

- In TanStack Studio, open a new Edge Function draft, edit its code, and
navigate to another section. Keep editing should preserve the URL and
code; retrying with Discard changes should navigate immediately.
- Repeat with browser Back and Forward. Cancel should restore the editor
URL; confirm should reach the intended history entry.
- Repeat an unsaved edit in an existing function or email template, then
discard it without saving.
- Undo an edit back to its original value and confirm navigation does
not prompt.
- In Next Studio, confirm dirty-editor cancellation and `/dashboard`
destinations still use the original guard.

Validation on the upgraded dependency graph: 73 focused guard,
navigation, URL and SSR tests passed, including 15 native TanStack cases
and four original Next guard cases. Studio typecheck, lint ratchet,
scoped ESLint, formatting and knip passed. The prerequisite's Next and
UI Library production builds passed; this layer changes only TanStack's
runtime alias and leaves the original Next guard source unchanged.

The restacked TanStack Vercel/skew production build passed with uploads
disabled. Local TanStack browser checks passed for repeated Keep
editing, ordinary native Back/Forward cancellation, one Discard toward
the latest breadcrumb destination, and Undo-to-clean navigation/reload.
Disposable local drafts were fully discarded without deploying or
editing existing functions. Native Next UI, multi-entry history jumps
and unload prompts were not browser-tested; dedicated guard tests cover
the latter two behaviors separately.



## Latest restack

Head `d6e7e7f23800319ceba15570057f5227a904debe` is stacked on #51067
head `e11cce3ad28bec3e0656e98da7d00a80810da30d`. The guard patch is
unchanged. The lower layer now skips unchanged table-filter URL sync to
preserve Forward history; its conditional reproduction is separate from
this guard change. Both PRs are mergeable after the trunk lockfile
conflict was resolved. All 56 focused router/filter/Next/guard checks,
Studio typecheck and scoped lint/format pass on the restack; all 20
required CI checks pass on both exact heads, including Next and TanStack
E2E, full Studio tests, builds, Docker and typecheck/lint.

The reviewer independently rechecked the earlier identical guard head
and did not reproduce the reported unguarded Back behavior. Both history
invocation methods showed the dialog, cancellation retained the draft
and restored its URL, and Discard completed navigation. No additional
guard change is justified by that retest; it does not establish the
cause of the earlier failed snapshot. Final-head browser coverage
remains distinct from this previous-head retest.

Both final Studio staging deployments are ready and serve TanStack/Nitro
assets. The upper sign-in page renders successfully; its unchanged guard
behavior was not additionally browser-retested on this final head.

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-10-19 21:22:40 +02:00
f2876c7787 chore(studio): upgrade the TanStack dependency set (#51067)
TanStack Start 1.169 is the stable release. This moves the shared
catalog to Start 1.169.2 and Router 1.170.44, the newest matching pair
that clears the 72-hour release-age gate, and updates Studio React Query
and its devtools to 5.104.3. The ui-library TanStack auth blocks switch
to `.validator()` because Start 1.169 removes `.inputValidator()`.

**Changed:**

- `pnpm-workspace.yaml` – `@tanstack/react-router` `^1.170.44` and
`@tanstack/react-start` `^1.169.2`, so Router, Start, router-core, and
the Start plugin install as one set
- `pnpm-lock.yaml` – react-router 1.170.44, react-start 1.169.2,
router-core 1.171.37, router-plugin 1.168.46, start-plugin-core
1.171.53, history 1.162.5, and Studio React Query 5.104.3
- `apps/studio/package.json` – `@tanstack/react-query` and
`@tanstack/react-query-devtools` `~5.104.3`,
`@tanstack/react-router-devtools` `^1.167.2`
-
`apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts`
– `createServerFn` uses `.validator()`
-
`apps/ui-library/registry/default/blocks/social-auth-tanstack/routes/auth/oauth.ts`
– `createServerFn` uses `.validator()`
- `apps/ui-library/tests/sign-up-redirect.test.tsx` – the
server-function mock follows the `validator` chain
- `apps/ui-library/public/r/password-based-auth-tanstack.json` –
registry JSON regenerated from the block
- `apps/ui-library/public/r/social-auth-tanstack.json` – registry JSON
regenerated from the block
- `apps/ui-library/content/docs/tanstack/password-based-auth.mdx` – note
that the block requires `@tanstack/react-start` 1.168.25 or later, since
`.validator()` is missing from earlier Start versions
- `apps/ui-library/content/docs/tanstack/social-auth.mdx` – note that
the block requires `@tanstack/react-start` 1.168.25 or later, since
`.validator()` is missing from earlier Start versions
- `apps/studio/server.ts` – correct the header comment:
`wrapFetchWithSentry` only adds a span, trace meta tags, and a flush,
and request errors are captured by the Sentry middleware in `start.ts`

**Removed:**

- `minimumReleaseAgeExclude` pins for:
  - `@tanstack/react-router@1.170.41`
  - `@tanstack/react-start-client@1.168.39`
  - `@tanstack/react-start-rsc@0.1.59`
  - `@tanstack/react-start-server@1.167.46`
  - `@tanstack/react-start@1.168.60`
  - `@tanstack/react-store@0.11.2`
  - `@tanstack/router-core@1.171.34`
  - `@tanstack/router-generator@1.167.40`
  - `@tanstack/router-plugin@1.168.42`
  - `@tanstack/start-client-core@1.170.34`
  - `@tanstack/start-plugin-core@1.171.49`
  - `@tanstack/start-server-core@1.169.39`
  - `@tanstack/start-storage-context@1.167.36`
  - `@tanstack/store@0.11.2`

## To test

- TanStack Studio, open a project home – the shell loads with no router
error
- TanStack Studio, open a table, switch schema, then Back and Forward –
the table id follows history, and Forward returns to the later table
- TanStack Studio, run a query in the SQL Editor – results render
- TanStack Studio, open Project Settings – the general settings page
renders
- Next Studio, repeat home, Table Editor, SQL Editor, and Settings – the
same pages render
- ui-library TanStack password and social auth blocks, follow a sign-up
confirm and OAuth confirm link – the server function accepts the search
params through `.validator()` and redirects

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-19 21:00:40 +02:00
b328ca6d5a fix(studio): sync table editor filters from the URL on back/forward (#51437)
Back/Forward between two history entries of the same table changed the
URL but left the old filters in the filter bar and grid, because filters
were only read from the URL on mount. Happens on both Next and TanStack;
follow-up from #51391.

**Changed:**
- `useSyncFiltersToUrl` now also syncs URL → filter state for the
current table (ignoring our own debounced push, and another table's URL
while a TanStack navigation is pending).
- State → URL skips pushes the URL already reflects, which also removes
the no-op push on every grid mount.
- `useTableEditorFiltersSort` returns `path` (same lines as #51391, so
they merge cleanly).

**Behavior choice:** if a filter is applied and Back/Forward happens
before its 500ms debounce fires, the navigation wins and the unpushed
filter is discarded, rather than pushing a stale filter over the entry
the user navigated to. Back/Forward (`popstate`) cancels the pending
push even when the `filter` param is unchanged; other URL changes such
as a sort keep it. Documented on the hook.

**Added:**
- Real-TanStack-router navigation test and a router-agnostic unit test
for the sync (master's hook fails 4 of 6).

## To test

- Table A → add a filter → open table B → Back (A with filter) → Back
(A, filter bar empty, all rows) → Forward (filter back)
- Apply a filter and hit Back immediately – you land on the previous
entry and the filter isn't re-pushed
- Add/remove a sort, Back/Forward – sorts and filters stay in sync with
the URL
- Reload a filtered + sorted URL – both restored

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-19 20:05:06 +02:00
Alaister YoungandAlaister Young 4507b20370 fix(studio): stop table editor filters leaking across tables on Back (#51391)
On TanStack, the URL moves to the next table before the route params and
rendered table do. Two places in the Table Editor read the table from
one and its filters from the other, so one table's filters got applied
to another during Back navigation. Reproduces on master (TanStack only);
reported while testing #51067.

**Changed:**
- `useSyncTableEditorStateFromLocalStorageWithUrl` skips saving while
the URL's table id doesn't match the rendered table, so a table no
longer reopens (from tabs/sidebar) with another table's filter.
- The sidebar's row count (`EntityListItem`) only uses URL filters when
the URL belongs to that table (`useUrlTableFilters`), so it no longer
runs `count(B) where <A's filter>` (which 400s when the column doesn't
exist).

**Added:**
- Real-TanStack-router regression tests for both, with a delayed route
load (each fails without its fix).

## To test

- Add a filter on table A, switch to table B and back a few times via
the sidebar, then hit browser Back repeatedly
- Open B from its tab/sidebar – it shouldn't pick up A's filter
- Watch network: no `table-rows-count` for B should include A's filter
- A's own filter (and its filtered sidebar count) should still work when
on A

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-10-19 19:29:48 +02:00
Alaister YoungandCursor Agent 5c7638f08b ci(studio-e2e): reserve supabase ports from the ephemeral range (#51944)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
About a quarter of failed self-hosted Studio E2E runs in the last two
weeks die at "Start supabase" (`supabase start --exclude studio,mailpit
--workdir ./e2e/studio`) with `address already in use` binding
`0.0.0.0:54322`, in a single shard, on both next and tanstack. The local
ports in `e2e/studio/supabase/config.toml` sit inside Linux's ephemeral
range, so an outbound connection during the image pull can take 54322;
`ss -tlnp` only lists listeners, which is why diagnostics reported the
port free. This reserves `54320-54329` before installs and image pulls,
keeping any ports already reserved, and snapshots sockets on that range
when `supabase start` fails. Follows up the diagnostics from #45637 and
#46607.

**Changed:**
- `.github/workflows/studio-e2e-test.yml` – append `54320-54329` to
`net.ipv4.ip_local_reserved_ports` before dependency install, Playwright
install, and image pulls, so an outbound connect cannot occupy them and
any ports the runner already reserved stay reserved.
- `.github/workflows/studio-e2e-test.yml` – when `supabase start` fails,
snapshot TCP sockets on `54320-54329` immediately, before the build
finishes and a short-lived socket from the image pull is gone.
- `.github/workflows/studio-e2e-test.yml` – pre-start diagnostics print
the ephemeral port range and sockets on `54320-54329`; failure
diagnostics use the same filter and group the last 300 log lines per
container.

## To test
- [x] "Reserve Supabase local ports" step prints `54320-54329` on every
E2E shard
- [x] All Studio E2E shards pass on next and tanstack
- [ ] (on a future failure) the Start supabase step lists any socket on
54320-54329

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-e6e0ed7f-4b63-547e-aa51-ae1b4588d445?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-e6e0ed7f-4b63-547e-aa51-ae1b4588d445&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-19 17:27:04 +02:00
Charis 2d79674ab3 refactor: migrate list_databases, list_notebooks, and get_notebook to tool contracts (#51937)
## Problem

The read-only notebook tools (`list_databases`, `list_notebooks`,
`get_notebook`) are still defined inline with `tool({...})`. The other
AI tools have moved to the tool contract pattern, so these three are
inconsistent with the rest.

## Solution

Migrate the three tools to the tool contract pattern: a contract file
plus a `.server.ts` implementation, registered in `TOOL_CONTRACTS`. They
are removed from `TOOL_CATEGORY_MAP` and kept in the allowlist.

Behavior is unchanged:

- `minOptInLevel: 'schema'`, same as before.
- `needsApproval: false`.
- `toModelOutput` returns the output unchanged, so the model sees the
same data at every opt-in level.

Stored-shape changes for replayed outputs:

- Replayed outputs are now validated against the output schema and
dropped if invalid. Previously they passed through unchecked.
- Zod strips unknown keys, so fields outside the schema no longer
replay.
- `status`, `region`, and `visibility` use plain `z.string()`, so new
enum values do not break replay.

## Review instructions

1. Run `pnpm exec vitest run lib/ai` in `apps/studio`. It should pass
(323 tests).
2. In `apps/studio/lib/ai/tools/registry.test.ts`, check the new
coverage: `toModelOutput` at all four opt-in levels, for both live and
replayed outputs, and invalid replayed outputs being dropped.
3. Confirm the three tools still appear for the schema opt-in level in
`tool-filter.test.ts` and `notebook-tools.test.ts`.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-19 10:29:27 -04:00
Kody JacksonandClaude Haiku 5.5 3de2439b9f docs: add cross-links to related guides (part 2) (#51857)
## Summary

Adds internal cross-links from existing docs pages to related guides and
troubleshooting pages.

As these are relatively atomic changes (1-2 links added per average
file), intentionally not including before/after links for review here.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-19 09:09:12 -05:00
Kody JacksonandClaude Haiku 5.5 004d90c5a3 docs: add cross-links to related guides (part 3) (#51858)
## Summary

Adds internal cross-links from existing docs pages to related guides and
troubleshooting pages.

As these are relatively atomic changes (1-2 links added per average
file), intentionally not including before/after links for review here.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-19 09:08:55 -05:00
Kody JacksonandClaude Haiku 5.5 1e7a5c3243 docs: add cross-links to related guides (part 1) (#51856)
## Summary

Adds internal cross-links from existing docs pages to related guides and
troubleshooting pages.

As these are relatively atomic changes (1-2 links added per average
file), intentionally not including before/after links for review here.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-19 09:08:30 -05:00
Drew McLellan af98094c8c feat(studio): show created at column in JWT signing keys table (#51845)
## What kind of change does this PR introduce?

Feature

## What is the current behavior?

The JWT signing keys table only shows when a key was last rotated.
There's no way to see when a key was created, and the key ID can't be
copied without selecting it by hand.

Resolves FE-3061

<img width="1133" height="193" alt="Screenshot 2026-10-16 at 13 53 43"
src="https://github.com/user-attachments/assets/e50e5a59-f0c4-4f8a-aa14-f200e5c469bd"
/>


## What is the new behavior?

- Adds a **Created at** column (hidden below `xl`) with the same
relative label and timestamp tooltip as **Last rotated at**.
- Combines the **Status** and **Key ID** columns into a single **Key**
column, with the status on top and the key ID beneath in muted
monospace. This follows the pattern used in the Access Tokens table.
- Makes the key ID copyable: hovering it shows a copy icon and a "Copy
key" tooltip, and clicking copies the ID to the clipboard. This follows
the project ref copy pattern in the project list.

<img width="1151" height="436" alt="Screenshot 2026-10-16 at 15 37 23"
src="https://github.com/user-attachments/assets/46c86f85-bff6-4ee6-8d65-0c7a8c23a19e"
/>


## Additional context

No data or API changes (`created_at` was already returned).
2026-10-19 14:54:26 +01:00
Gildas Garcia 3f8bbd5a00 (fix): Storage preview file names from search results (#51914)
## Problem
deeply nested files from bucket root search results dislay their path
instead of their basename:
<img width="816" height="432" alt="image"
src="https://github.com/user-attachments/assets/3af89584-a96f-4dcb-b8fd-e02d26eb7640"
/>

## Solution

Use the file base name instead:
<img width="820" height="434" alt="image"
src="https://github.com/user-attachments/assets/590a39aa-d8d4-459b-9b56-8516b3f34571"
/>
2026-10-19 15:49:46 +02:00
Gildas Garcia 0774de6982 (fix): DatePicker popover placement (#51911)
## Problem

The DatePicker popover is not positioned correctly on some screens:

_Observability > API Gateway_
<img width="1162" height="1002" alt="image"
src="https://github.com/user-attachments/assets/eb3b4a03-f607-4a88-ad1e-df87d616a347"
/>

_Observability > Edge functions_
<img width="615" height="638" alt="image"
src="https://github.com/user-attachments/assets/5c493628-90dc-4c28-951a-6327fdc93994"
/>

## Solution

Position it correctly:

_Observability > API Gateway_
<img width="903" height="548" alt="image"
src="https://github.com/user-attachments/assets/b6018804-416c-498f-9abc-74b57ad4826b"
/>

_Observability > Edge functions_
<img width="784" height="521" alt="image"
src="https://github.com/user-attachments/assets/c1b0e297-f0ef-4a95-a47e-4e9f3d37394a"
/>
2026-10-19 15:49:11 +02:00
Coenen Benjamin c752bf0125 fix(studio): use supabase.co for production Warehouse connections (#51934)
Use `<project_ref>.warehouse.supabase.co` in production Flight SQL
connection details while preserving `.supabase.red` for staging and
local development.
2026-10-19 15:25:32 +02:00
Jordi Enric cb5b57ce51 fix(studio): simplify memory chart defaults DEBUG-241 (#51930)
## Problem

The database Memory usage chart includes free memory alongside usage and
hides the total RAM limit by default, making usage harder to compare
with capacity.

## Fix

Remove the Free series and show the total RAM limit by default. Keep the
existing limit toggle available.

Fixes https://linear.app/supabase/issue/DEBUG-241

## How to test

- Open Observability > Database and inspect Memory usage. Used, Cache +
Buffers, and Swap should remain; Free should be absent.
- Confirm the total RAM limit is visible initially and can still be
hidden and shown with the limit toggle.
- Focused chart tests: 65 passed, repeated with shuffled seed 241 and
retries disabled. Prettier and whitespace checks passed.
- All applicable CI checks passed on c642552abc, including typecheck,
lint ratchet, formatting, dead-code checks, Studio tests, all Next.js
and TanStack E2E shards, Docker build, and Studio preview deployments.
Unrelated path-filtered and opt-in checks were skipped.
- Browser QA passed on the staging preview at c642552abc: Free is
absent, Total RAM is visible by default and after reload, and the limit
toggle hides and restores it. No browser console errors were captured.
Some unrelated database report panels showed unavailable data.

## Screenshot

<img width="513" height="302" alt="memory-verified"
src="https://github.com/user-attachments/assets/6f4744e9-d60e-4f16-9107-e42f2bd127c0"
/>
2026-10-19 12:31:48 +00:00
Jordi Enric ef759800a5 feat(reports): experiment with line charts FDBKIN-43258 (#51926)
## Problem

Product reports often default to bars, making time-series trends harder
to read. We want to evaluate line charts before deciding whether to
remove chart-type controls permanently.

## Fix

Use the boolean ConfigCat flag `defaultToLineCharts` to render lines
across current and legacy product reports and hide line/bar toggles.
Turning it off restores existing product-report behavior. Custom reports
and their chart controls are unchanged.

## How to test

- Enable `defaultToLineCharts` and open database, API, Auth, Realtime,
Edge Functions, and Storage product reports. Expect lines and no
line/bar toggle.
- Disable the flag. Expect existing product-report styles and controls
to return.
- Verify custom reports retain their existing chart styles and toggles
with either flag value.
- No tests added for this presentation-only experiment. Formatting,
whitespace checks, and independent code review passed. Updated-head CI
is pending.

Closes FDBKIN-43258
2026-10-19 14:30:57 +02:00
Guillaume Faas 6050f9ea78 docs(csharp): remove community mention on C# Reference (#51932)
## Problem

The C# SDK reference was still showing a note about community
maintenance.
This note is out-of-date and has been removed.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-19 12:25:51 +00:00
Alaister YoungandCursor Agent 73081ea7b8 test(studio): stop PipelineCreationFlow tests timing out on slow runners (#51924)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
`PipelineCreationFlow.test.tsx` started timing out on `master`
([run](https://github.com/supabase/supabase/actions/runs/39227187528),
[run](https://github.com/supabase/supabase/actions/runs/39231750598)) –
neither commit touched it. The heavier tests drive the full wizard
through several steps and already took 2.5–3.7s on a fast runner, so a
slow runner pushes them past vitest's 5s default. Most of the time went
to unscoped `getByRole` lookups: a worker profile put about half the
samples under role queries, and the self time was jsdom
`getComputedStyle` (style and color resolution) on that large tree.
Failing `waitFor` / `findBy` polls only start dumping the whole tree
once a query misses, which is the path that tipped these tests over.
`infrastructure.test.tsx`'s disk/autoscaling test timed out once for the
same family of cost – per-keystroke `userEvent` typing on the full page.

Retries don't help here – a timed-out attempt keeps running while the
retry starts, which is where the "Continue not found" / empty `<body>`
errors in those logs come from.

**Changed:**

- `PipelineCreationFlow.test.tsx` – step waits go through a
`waitForStep` helper and other waits poll with `queryBy*`, so failing
polls no longer build role/DOM dumps
- `PipelineCreationFlow.test.tsx` – `fillConnection` uses label queries
and step-specific queries are scoped with `within`
- `PipelineCreationFlow.test.tsx` – split `preserves connection and data
values…` into `preserves connection values across destination changes`
and `preserves data values across steps and reaches Review`, with the
same assertions
- `infrastructure.test.tsx` – `submits disk and autoscaling changes…`
types with `userEvent.setup({ delay: null })` so keystrokes are not
separated by a macrotask

No assertions were removed and no test timeouts were raised.

| test | before (median / 1-core worst) | after (median / 1-core worst)
|
| --- | --- | --- |
| requires connection fields and reveals invalid advanced settings |
1092 / 1554 | 1121 / 1522 |
| recovers from request and critical failures and reviews warnings
before continuing | 1812 / 2056 | 1263 / 1497 |
| invalidates connection verification after edits and ignores stale
responses | 1045 / 1109 | 509 / 563 |
| uses browser Back and Forward to revisit steps without losing values |
1199 / 1368 | 582 / 703 |
| starts a fresh session at Destination (×4) | 55–87 / 54–113 | 51–84 /
77–108 |
| preserves connection and data values across steps and destination
changes | 2270 / 2391 | split |
| preserves connection values across destination changes | – | 929 /
1081 |
| preserves data values across steps and reaches Review | – | 1058 /
1141 |
| blocks incomplete data, retries metadata failures, and reveals invalid
advanced settings | 1934 / 2097 | 1514 / 1621 |
| blocks browser Forward to Review after data changes | 1151 / 1268 |
799 / 874 |
| confirms destination-only changes and treats a reverted selection as
pristine | 385 / 410 | 381 / 386 |
| confirms dirty dismissal and allows keeping the form | 843 / 908 | 707
/ 736 |
| closes a pristine form and blocks progression without destinations |
46 / 46 | 43 / 48 |
| submits disk and autoscaling changes to both infrastructure APIs |
1355 / 1805 | 1219 / 1684 |

Median of 5 unconstrained runs, worst of 3 runs pinned to one core
(`taskset -c 0`). Vitest 5.0.0.

This touches the same file as #51900 – the helper changes carry over to
its new tests once it merges.

## To test

- [x] `pnpm --filter studio exec vitest run
components/interfaces/Database/Replication/CreatePipeline` – all pass
- [x] `pnpm --filter studio exec vitest run
"tests/pages/project/[ref]/settings/infrastructure.test.tsx"` – all pass
- [x] Same files pinned to one CPU core (`taskset -c 0`) – no test near
the 5s timeout
- [x] `test (1)` on this PR – green

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-b1f88499-15f7-5aff-b190-841d7371ba48?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-b1f88499-15f7-5aff-b190-841d7371ba48&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-19 13:35:33 +02:00
Jordi Enric 090e5bceff feat(studio): filter organization usage by branch FE-4153 (#49257)
## Summary

Customers could see a branch-driven egress overage in their organization
total but could not select the branch on the Usage page. This adds a
branch filter next to the parent project selector and uses the selected
branch's project ref for usage requests.

- Validate bookmarked branch refs before displaying usage. Show loading
and API errors explicitly, and disclose when an unavailable branch falls
back to its parent.
- Keep the filter, notice, and usage requests on the same project ref.
Allow returning to the parent even when the branches response omits its
main row.
- Find the selected branch's disk usage beyond the first page of
organization projects and explain that deleted branches still contribute
to organization totals.
- Correct the branching and egress documentation to explain separate
branch usage.

## Scope

This is the branch-selector improvement proposed in FE-4153's
discussion. It does not provide the original ticket's reconciled
per-project egress table or historical rows for deleted branches. The
current daily-usage API contract supports a single project filter, but
does not return project-grouped usage. Keep the full reconciliation work
open.

## Validation

All 47 focused Vitest tests pass across six files, including nine MSW
page tests covering usage request refs, direct branch links,
pending/failed lookups, deleted-branch fallback, invalid-project
recovery, and denied subscription permissions. Disk tests cover
selection beyond the first 96 projects and pagination failures.
Deterministic shuffled runs with seeds `4153` and `49257` pass with
retries disabled (`--retry=0`). Four focused production mutants were
killed by behavioral assertions; original source bytes were restored and
verified after every probe.

Studio TypeScript, Prettier on all PR paths, and focused lint checks
pass; inherited `any` warnings remain.

Browser QA on the matching `be17d77` Vercel preview passed parent usage
(0.213 GB), searching for `dev-test`, branch selection, return to main,
invalid-project recovery, stale-branch fallback, and returning to
organization totals. The selected branch showed 0 GB, so nonzero branch
overage was not verified. Browser network traffic was not captured;
request-ref coverage comes from MSW.

Three existing auth/router/platform module-mock scaffolds remain as a
test-harness limitation; strict no-module-mock compliance is not
claimed.

All Studio unit-test and E2E shards passed on be17d77801; CI report jobs
are finishing.

Related: FE-4153


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

* **New Features**
* Filter organization usage by project branch with searchable branch
selection. Usage details reflect the selected branch where available,
including branches found on later project-list pages.
* See whether usage is scoped to a branch, the main branch, or a
project, and switch to organization-wide totals. Billing and quota
totals include all branches, including deleted branches that are no
longer selectable.
* **Documentation**
* Clarified how non-compute usage is recorded per branch, included in
organization totals, and viewed; it isn’t itemized by branch on
invoices.
* Clarified that Preview branch Egress counts toward organization
totals, not the parent project’s usage, and how to view it.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-19 11:30:37 +00:00
2b7f5ace51 chore(ci): run independent workflow steps in parallel (#51398)
Uses GitHub Actions' new [parallel / background
steps](https://github.blog/changelog/2026-06-25-actions-steps-can-now-be-run-in-parallel/)
to overlap independent CI steps. It works on Blacksmith runners, and
zizmor accepts the new keys.

**Changed:**
- **Studio E2E:** Chromium install, `supabase start` and the Studio
build now run concurrently. The build only inlines `NEXT_PUBLIC_*` vars,
and the only one that comes from `supabase status` is the API URL, which
`e2e/studio/supabase/config.toml` fixes. So the build runs against that
URL, and the real runtime env is written once supabase is up. A `diff`
fails the job if the inlined values don't match the real ones.
- **Docs and www E2E:** deps and Chromium install while the Vercel
preview poll runs in the background, instead of after it.
- **Typecheck:** typecheck and lint run side by side on a 4 vCPU runner
(up from 2), so a typecheck failure no longer hides lint errors.
- **Docs tests:** the three prep steps run as a parallel group, and the
workflow is added to its own `paths` filter so edits to it get
validated.

**Timings:** the baseline is the 10 most recent successful PR runs.
"After" comes from this PR's runs, so the sample is small.

| Workflow | Measured | Before (median) | After | Change |
|---|---|---|---|---|
| Studio E2E, next | setup (deps installed → tests start) | 162s | 112s,
138s | −23% |
| Studio E2E, tanstack | setup (deps installed → tests start) | 110s |
59s, 66s | −43% |
| Typecheck | job total | 168s | 68s, 110s | −47% |
| Docs / www E2E | deps + Chromium | 20s / 30s | hidden behind the
preview wait | ~6–7% of the job |
| Docs tests | prep steps | ~4s | ~2s | negligible |

On Studio E2E that's about 40–50s off each of the 4 shards. Whole-job
totals are dominated by how long the Playwright run takes (±100s between
runs), so the setup segment is the fair comparison. Typecheck numbers
depend heavily on turbo cache hits, so treat them as directional.

## To test

- [x] All Studio E2E shards pass on both frameworks, including the
`NEXT_PUBLIC_*` env `diff` check
- [x] Docs and www E2E go through the background wait. A temporary
commit touching a docs page and a www page (now dropped) showed installs
finishing during the wait, and `Resolve base URL` picked up the
deployment output after the `wait`. The docs E2E failure on that run
came from a11y violations on the probe page, not from this change
- [x] Typecheck log shows both steps starting together ("Waiting for
background step(s) to complete: Run TypeScript type check, Run Lint")
- [x] Docs tests pass with the parallel prep group
- [ ] After merge, check that the first Studio E2E runs on master stay
green

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
Co-authored-by: Ali Waseem <waseema393@gmail.com>
2026-10-19 12:36:31 +02:00
Raúl BarrosoandCharis Lam f4b2401831 docs(ai): update guide (#51847)
Added this guide recently so it'd be nice to keep it up to date
https://github.com/supabase/supabase/pull/51785.

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2026-10-19 09:39:47 +00:00
Joshen Lim 7a9565530c Fix handle truncation for multi dim array for table-row-query (#51834)
## Context

If you create a table with a `jsonb` **array** column, then try to
insert a new row with `[["` as the `jsonb` column value, the dashboard
currently incorrectly flags it as a large value and blocks the user from
editing it

<img width="583" height="133" alt="image"
src="https://github.com/user-attachments/assets/28b89648-12b6-4b49-a862-b4ec0db03e24"
/>

It's happening due to a small issue in `table-row-query` regarding its
truncation logic, a stop gap to prevent fetching large column values
which will cause browser performance issues. Multi dimension arrays are
being handled differently in which there's no `...` appended at the end.
And hence the naive check in `isValueTruncated` caused this issue to
happen.

Opting to adjust the SQL in `table-row-query` to align the truncation
behaviour for multi dim array, such that it will end with `...` if the
value being fetched is too large.

## To test

We mainly need to ensure that the original problem no longer happens +
truncation of large values is still working as expected. The following
SQL here sets up some sample rows to test the truncation logic in the
UI.

```
create table trunc_test (
  id int primary key,
  label text,
  big_text text,
  big_json jsonb,
  big_text_1d text[],
  big_grid text[][],
  big_docs jsonb[][],
  small_grid text[][],
  small_docs jsonb[]
);

insert into trunc_test values
  -- row 1: everything large
  (1, 'large', repeat('a', 20000),
   jsonb_build_object('k', repeat('b', 20000)),
   (select array_agg(repeat('c', 300)) from generate_series(1, 120)),
   (select array_agg(array[repeat('d', 300), 'x']) from generate_series(1, 120)),
   (select array_agg(array['{"k":1}'::jsonb, to_jsonb(repeat('e', 300))]) from generate_series(1, 120)),
   array[array['a','b'], array['c','d']],
   array['["x"]'::jsonb]),
  -- row 2: everything small
  (2, 'small', 'hi', '{"k":1}', array['a'], array[array['a','b'], array['c','d']],
   array[array['{"k":1}'::jsonb]], array[array['a','b'], array['c','d']], array['["x"]'::jsonb]);
```
2026-10-19 17:03:11 +08:00
Drew McLellan b859ca0659 fix(studio): send exit survey before deleting a project (#51844)
## Problem

Deleting a paid project could show a "Failed to submit exit survey"
toast with a permissions error. The survey was sent after the delete
succeeded. Deleting a project removes its permissions, so the survey
endpoint's project-level access check rejected the request with a 403.

<img width="510" height="196" alt="Screenshot 2026-10-16 at 15 27 40"
src="https://github.com/user-attachments/assets/f01cb89f-597e-492d-bfc4-37f7260c25d3"
/>

## Solution

- Send the exit survey before the delete, while the project still has
its permissions.
- Never block the delete on the survey: a failed survey is ignored.
- Pass a no-op `onError` so the survey failure toast no longer shows.
The old `catch` swallowed the exception but not the hook's default
toast.

## Known trade-off

If the survey succeeds and the delete then fails, a survey is recorded
for a project that still exists. A separate backend change to authorize
deletes against the organization would let the survey move back after
the delete.

## How to test

- Delete a project on a paid plan with a survey reason selected: no
error toast, the survey is recorded, and the project is deleted.
- `pnpm --filter studio exec vitest run
components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.test.tsx`
2026-10-19 09:50:04 +01:00
Timothy Lim b37576924f docs(troubleshooting): Update "Formatting support requests" guide (#51824)
- Remove unnecessary quotes
- Added minor additions to all cater guide to non LLM usage


## Review instructions

Just content changes 

## Checklist

Check all before review:

- [X] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [X] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-19 08:15:01 +08:00
Danny White 69f46a4ab5 fix(studio): guard unsaved pipeline creation navigation (#51823)
## Problem

Browser Back and router navigation can leave the pipeline wizard without
confirming unsaved changes. This is a slice of #49243, builds on merged
#51821.

## Solution

- Protect unsaved changes in both runtimes: Close and header links use
the discard dialog; document exits and refresh use the browser warning.
- Add TanStack confirmation for client-side navigation, preserving
Back/Forward history. Step changes do not prompt.

Next.js client-side router exits remain outside this slice. **Start
pipeline** stays disabled.

## Review instructions

1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-navigation-guard-supabase.vercel.app/dashboard/project/_/database/pipelines),
choose a test project and enable **Pipeline creation wizard**. Open the
[wizard
preview](https://studio-staging-git-dnywh-featpipeline-navigation-guard-supabase.vercel.app/dashboard/project/_/database/pipelines/new).
2. Continue to Connection and enter a pipeline name. Try a header link
and **Close**: **Keep editing** preserves values, while **Discard
changes** leaves without a second prompt.
3. Use browser Back to return to Destination without a prompt, then Back
again to leave. Cancel the prompt and check the URL and values remain;
Forward should still reach Connection. Document exits show the native
browser warning in both runtimes; TanStack client-side exits show **Keep
editing / Discard changes**.
4. With changes, refresh and cancel the browser warning. Check values
remain. A fresh wizard with no changes should close without
confirmation.
2026-10-19 10:43:42 +11:00
Danny White 25ede7243e feat(studio): validate pipeline wizard data settings (#51821)
## Problem

The pipeline wizard lets users reach Review without a valid publication
or initial-sync selection. This is a slice of #49243, following the
merged #51818.

## Solution

- Refresh publication metadata on **Continue** and reject unavailable
publications or removed initial-sync tables.
- Validate initial-sync and advanced data settings, reveal invalid
fields and preserve values for retry.
- Block browser-history shortcuts to Review after data settings change.

| Normal State | Error State (Expanded) |
| --- | --- |
| <img width="1486" height="1010" alt="CleanShot 2026-10-16 at 13 18
25@2x"
src="https://github.com/user-attachments/assets/74ec0785-3bd4-407a-aa3c-7fe69c338488"
/> | <img width="1506" height="2516" alt="CleanShot 2026-10-16 at 13 21
27@2x"
src="https://github.com/user-attachments/assets/6193d8c4-ab9d-47ca-9d9d-1a31198145d1"
/> |

Pipeline creation and navigation-out guards remain for later slices.
**Start pipeline** stays disabled.

## Review instructions

1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-data-validation-supabase.vercel.app/dashboard/project/_/database/pipelines),
select a test project and enable **Pipeline creation wizard**. Open the
[wizard
preview](https://studio-staging-git-dnywh-featpipeline-data-validation-supabase.vercel.app/dashboard/project/_/database/pipelines/new),
choose a destination, then enter credentials and test the connection to
reach Data.
2. Click **Continue** without a publication. Check the field error.
Select a publication, choose a selective initial-sync mode and leave its
table selection empty. Check Continue requires at least one table.
Select a table and confirm you can reach Review.
3. Return to Data. Enter a negative **Batch wait time** under **Advanced
settings**, collapse it and click Continue. Check it reopens with the
error. Correct it and continue, then use browser Back, change a data
setting and try browser Forward. Check you stay on Data until you click
Continue again.
4. For a stale-selection check, select an initial-sync table, remove it
from the publication in another tab, then click Continue. Check the
selection is rejected and your other values remain. A failed metadata
request should also keep values and allow retry with Continue.
2026-10-19 10:32:09 +11:00
Danny White 8047d93e3c feat(studio): validate pipeline wizard connections (#51818)
## Problem

The pipeline wizard from #51776 allows users to continue without valid
destination credentials. This is the next slice of #49243.

## Solution

- Validate connection fields for all four destinations using the
existing schemas and helpers.
- Validate the destination on **Continue** and advance to Data on
success. Show field errors and connection failures inline; pause for
warnings before continuing.
- Require a new check after connection settings change and block
browser-history shortcuts past an unverified connection.

| Errored Test | Success Test |
| --- | --- |
| <img width="1532" height="2062" alt="CleanShot 2026-10-16 at 12 19
51@2x"
src="https://github.com/user-attachments/assets/a40a6c01-ee89-4601-b5d7-6ffc85071dc7"
/> | <img width="1500" height="1950" alt="CleanShot 2026-10-16 at 12 18
33@2x"
src="https://github.com/user-attachments/assets/c50c1ad4-256b-44b5-bd06-ec0685aae759"
/> |
 
The screenshots show earlier test states; successful checks now advance
directly to Data.

Data validation and pipeline creation remain for later slices. **Start
pipeline** stays disabled.

## Review instructions

1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-connectio-eb9566-supabase.vercel.app/dashboard/project/_/database/pipelines),
select a test project and enable **Pipeline creation wizard**. Open the
[wizard
preview](https://studio-staging-git-dnywh-featpipeline-connectio-eb9566-supabase.vercel.app/dashboard/project/_/database/pipelines/new)
for that project.
2. Choose a destination and click **Continue** with empty or invalid
fields. Check the errors, then enter valid credentials and retry. A
failed check keeps your values. A failed result stays visible while
editing, until retry or destination change. Changed settings still
require a fresh check. A successful check opens Data automatically;
warnings remain for review before continuing.
3. Continue to Data, return to Connection and change a credential or
advanced connection setting. Check that browser **Forward** cannot skip
the new check, then click **Continue** to validate again.
2026-10-19 10:15:08 +11:00
farleythomasandNik Richers 7425d49305 Update humans.txt (#50972)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
  * Added Farley Thomas to the team list.

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

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-17 01:40:18 +00:00
Carlos RoblesandNik Richers 33ab4f5016 chore: Add Carlos Robles to humans.txt (#51145)
Adds Carlos Robles to `apps/docs/public/humans.txt`, in alphabetical
order between Carel de Waal and Carson Adam.

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

## Summary by CodeRabbit

* **Documentation**
  * Added Carlos Robles to the team list.

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

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-17 01:13:35 +00:00
Masha KoltsovaandNik Richers f85058c044 Add Masha Koltsova to humans.txt (#47809)
adding myself to humans.txt as a new employee 

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

## Summary by CodeRabbit

* **Documentation**
  * Added Masha Koltsova to the team information page.

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

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-17 01:13:19 +00:00
Daniel BergqvistandNik Richers 56f4879e1d Add Daniel Bergqvist to humans.txt (#51021)
## Problem

Describe what went wrong or what need emerged to justify this bug fix,
feature, or change.
Link any relevant issues here.

## Solution

Provide a brief description of the change and the key choices you made
when architecting the solution.
Feel free to include screenshots if it includes visual changes.

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

1. For example, `Open the live and preview links side-by-side.`
2. For example, `See the issue is fixed.`

## Checklist

Check all before review:

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-17 01:10:32 +00:00
Francisco Ulate AlpízarandNik Richers 2c0ead476c Add Francisco Ulate to humans.txt (#48172)
Adding myself as part of the Supabase humans!!!

## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

Yes
## What kind of change does this PR introduce?

Docs

## What is the current behavior?

I'm not in the humans.txt

## What is the new behavior?

I'm now in the humans.txt

## Additional context

This is a task in my onboarding.


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

## Summary by CodeRabbit

* **Documentation**
  * Updated the team credits page to include Francisco Ulate.

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

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-17 01:08:52 +00:00
Anil MaharjanandNik Richers 8858324616 Add Anil Maharjan to humans.txt (#48423)
## Summary
- Add Anil Maharjan to the team list in humans.txt

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

## Summary by CodeRabbit

* **Documentation**
  * Added Anil Maharjan to the team roster on the documentation site.

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

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-17 01:06:08 +00:00
Chase Cresgy 962bd4e92f Offboarding update for humans.txt (#50655)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Update




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

* **Documentation**
  * Removed two names from the public team listing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-16 18:01:20 -07:00
Christian Melchior cb874e1c8f Add Christian Melchior to humans.txt (#51172)
## Problem

My name was missing from `humans.txt`

## Solution

Name was added.


<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

1. For example, `Open the live and preview links side-by-side.`
2. For example, `See the issue is fixed.`

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)


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

## Summary by CodeRabbit

* **Documentation**
* Updated the public team listing to include Christian Melchior. The
published credits now reflect this addition, making the team information
shown in the documentation more current. No other documentation or
user-facing changes are included in this update.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-16 17:59:52 -07:00
Andrew Jackson df60bdcc53 Add Andrew Jackson to humans.txt (#48307)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Add Andrew Jackson to humans.txt

## What is the current behavior?

Andrew Jackson is not in humans.txt.

## What is the new behavior?

Andrew Jackson is in humans.txt

## Additional context

N/A
2026-10-16 17:59:29 -07:00
Caleb Boylan 632dfed2ac Add Caleb Boylan to humans.txt (#51408)
## Problem

I was not in humans.txt

## Solution

I've added myself to humans.txt
2026-10-16 17:59:13 -07:00
Wendie Cheung 5281766182 feat(www): add Supabase Middleware feature page (#51840) 2026-10-17 07:10:48 +11:00
Wendie Cheung ee0a1810bb blog(www): add Supabase Middleware launch blog post (#51786) 2026-10-17 07:10:28 +11:00
b8eca2e1c9 feat(docs) - Add in preferred source for Google under 'AI tools' (#51846)
## Problem

Google introduced a new pattern for [`adding preferred
sources`](https://developers.google.com/search/docs/appearance/preferred-sources#deeplink)
relatively recently, where you can set specific site providers as your
preference for Google results.

We don't support this yet, but should.

## Solution

Adds in a new link under the `AI Tools` section of the sidebar.

[preview](https://docs-git-kody-devrel-728-preferred-source-google-docs-supabase.vercel.app/docs/guides/getting-started)
<img width="448" height="548" alt="image"
src="https://github.com/user-attachments/assets/865dd93a-1575-47dc-b400-7df0f4ac7605"
/>

## Open questions

**Does this feel like the right implementation?**

Other approaches:
- Google allows you to add in [fancy buttons via
JS](https://developers.google.com/search/docs/appearance/preferred-sources#standard-javascript)...
but this'd be adding a new request on every page load which feels not
ideal.
- [Vercel
KB](https://vercel.com/kb/guide/rag-chatbot-production-architecture-on-vercel)
uses the `deeplink` implementation as well, but they add a stylized
button to the righthand side of the page.

My initial thought was that it felt too visually disruptive to have a
separate button on the righthand side. Thematically this fits with other
AI affordances too, so matching the current `AI Tools` styling felt
better.

**Does this match Google branch guidelines?**

On the [preferred sources
page](https://developers.google.com/search/docs/appearance/preferred-sources#button-image-assets),
Google seems to suggest that this element can be relatively freeform.

```
You can design your own custom promotion badge or download official translated graphic assets provided by Google:
```

There's stricter guidelines for [`Sign in with
Google`](https://developers.google.com/identity/branding-guidelines#google-logo-in-the-sign-in-with-google-button)...
specifically, `don't Use monochrome versions of the Google "G" for the
button.`

Feel like that's more specific to *just* sign-in with Google, but worth
another brain confirming that.

## Preview links


https://docs-git-kody-devrel-728-preferred-source-google-docs-supabase.vercel.app/docs/guides/getting-started

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: anthony lio <lionnet.ant@gmail.com>
2026-10-16 13:44:47 -05:00
Charis 27e6259a39 chore(studio): remove legacy status banner and incidentIoStatusPage flag (#51852)
## Summary

The incident.io status page is now the only status banner for everyone,
so the legacy status banner path is removed:

- Removed the `incidentIoStatusPage` ConfigCat flag. The incident.io
path is unconditional.
- Deleted the legacy status banner code (`StatusPageBanner` and its
utils/visibility hook) and its tests.
- Deleted the legacy API endpoints `/api/incident-banner`,
`/api/incident-status`, and `/api/status-override` (pages, app, and
routes variants), along with their data hooks, query keys, and lib
helpers.
- Removed `STATUSPAGE_*` env vars from the Turbo config and the
`INCIDENT_BANNER_DISMISSED_IDS` local storage key from
`packages/common`.
- Updated the AI tools and SQL generation endpoint that read the flag.

`NEXT_PUBLIC_ONGOING_INCIDENT` / the `ongoingIncident` override is kept.

The `incident_status_cache` table and its migration are intentionally
untouched. Studio no longer reads it, and dropping it is a separate
cleanup.

## Testing

- Studio typecheck passes.
- Related vitest suites pass (414 tests).
2026-10-16 14:18:32 -04:00
Charis a499db95f9 refactor(studio): migrate execute_sql, deploy_edge_function, rename_chat, and load_knowledge to tool contracts (#51803)
## Summary

Migrates four more assistant tools to the contract + `.server.ts`
pattern used by the notebook tools. Each tool now declares its schemas,
opt-in level, approval and model-visible output once.

## Changes

* Add contracts and server factories for `execute_sql`,
`deploy_edge_function`, `rename_chat`, `load_knowledge`;
`getStudioTools` now composes them.
* Add `execute-sql-output.ts` (output schema, `toModelRows`,
`NO_DATA_PERMISSIONS`) and `knowledge-topics.ts` (topic names + UI
labels, replacing the copy in `Message.Parts.utils.ts`).
* Delete `executeSqlSanitizer` and `ALL_TOOL_SANITIZERS`; history replay
goes through `sanitizeContractPart` only.
* Drop the four tools from `TOOL_CATEGORY_MAP`; the UI and evals import
schemas from the contracts; `rename_chat` input casts now use the
contract type.

## Deviations worth reviewing

* `execute_sql` replay: a bare-array legacy output is stamped `schema`
via a union transform (still hidden from the model, still shown in the
UI). A malformed non-array output is now dropped, where before it passed
through at the data level.
* The "no data permission" message now reaches the model as a JSON
string value instead of a text part. The text the model sees is
unchanged.
* `deploy_edge_function` output is now strictly `{ success: boolean }`
in the UI parse (was optional/passthrough).
2026-10-16 12:40:54 -04:00
Alexis AguilarandMiranda Limonczenko add223d7b3 docs(style-guide): add rules for list lead-ins and UI instruction order (#51632)
## Problem

Two writing patterns came up while editing the Vercel Marketplace guide
in #51630, and the style guide doesn't cover either one.

- **References to a list:** When another sentence sits between a
reference and its list, as in "start from these tabs. Each one opens a
different page:", _these_ has nothing to point back to. Nothing in the
style guide covers this.
- **Order of UI instructions:** Nothing says whether an instruction
names the location or the control first. "Click **Manage** next to
Supabase" asks the reader to look for **Manage** before they know where
it is.

Resolves DOCS-1452.

## Solution

`02-elements.md` gets a new rule for lists and an addition to the
existing step guidance, each with a recommended and a not recommended
example.

- **Point forward to a list with _the following_** (under **Lists**):
When another sentence sits between a reference and its list, use _the
following_, which points forward. When the reference is directly before
the list, _these_ works too.
- **Location before the action** (under **Procedures**): The step
guidance now says that a step can begin with a short location phrase
followed by the imperative verb, and that when a step says where to act,
the location comes first.

The examples use _click_ for buttons, following the `click` and `select`
entries in `WORD_LIST.md`.

## Review instructions

1. Open `apps/docs/style-guide/02-elements.md` in the **Files changed**
tab.
2. Read **Point forward to a list with _the following_** under
**Lists**, and confirm that the examples separate the two cases: a
reference directly before the list, and one with a sentence in between.
3. Read the step guidance at the start of **Procedures**, and confirm
that the examples agree with the `click` entry in `WORD_LIST.md`.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

---------

Co-authored-by: Miranda Limonczenko <miranda.limonczenko@supabase.io>
2026-10-16 09:07:04 -07:00
Kody JacksonandClaude Haiku 5.5 8f1e65f0a3 chore(www): add blog cross-links and fix outdated links (2024 posts) (#51767)
## Summary

- Adds cross-links from 2024 blog posts to related pages on supabase.com
where the post already mentions the topic.
- Updates existing links in these posts that redirected or returned 404
so they point to the final destination.

## Notes

- Link changes only; no prose changes beyond wrapping existing wording
in links.
- All internal targets were checked against the sitemap.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-16 09:54:00 -05:00
Kody JacksonandClaude Haiku 5.5 cc2517115c chore(www): add blog cross-links and fix outdated links (2023 posts) (#51766)
## Summary

- Adds cross-links from 2023 blog posts to related pages on supabase.com
where the post already mentions the topic.
- Updates existing links in these posts that redirected or returned 404
so they point to the final destination.

## Notes

- Link changes only; no prose changes beyond wrapping existing wording
in links.
- All internal targets were checked against the sitemap.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-16 09:53:51 -05:00
Kody JacksonandClaude Haiku 5.5 f6a6a8bff0 chore(www): add blog cross-links and fix outdated links (2025 posts) (#51768)
## Summary

- Adds cross-links from 2025 blog posts to related pages on supabase.com
where the post already mentions the topic.
- Updates existing links in these posts that redirected or returned 404
so they point to the final destination.

## Notes

- Link changes only; no prose changes beyond wrapping existing wording
in links.
- All internal targets were checked against the sitemap.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-16 09:53:22 -05:00