Commit Graph
19 Commits
Author SHA1 Message Date
Taryn King a55904adc0 docs: update cpu limits to per worker (#53625)
## Problem

Edge Function CPU limits in docs are described as applying per request
but this doesn't hold true for how functions have worked.

## Solution

Update CPU limits to be described as per worker.

<!--
## 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 |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |

| Docs |
[/docs/guides/functions/limits](https://supabase.com/docs/guides/functions/limits)
|
[/docs/guides/functions/limits](https://correct-edge-functions-limits-supabase.vercel.app/docs/guides/your-page)
| Amount of actual time spent on the CPU per worker |

-->

## Checklist

Check all before review:

- [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, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-20 10:48:54 -06:00
Kody JacksonandClaude Haiku 5.5 804a3c0969 chore(docs) - add in unique titles where appropriate (#52452)
## Problem

Dupe titles in docs.

## Solution

Adds unique titles where appropriate + high confidence.

## Preview links

| Before | After |
|---|---|
| [Database Migrations \| Supabase
Docs](https://supabase.com/docs/guides/deployment/database-migrations) |
[Deploy Database Migrations \| Supabase Docs
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/deployment/database-migrations)
|
| [Database Migrations \| Supabase
Docs](https://supabase.com/docs/guides/local-development/database-migrations)
| [Local Database Migrations \| Supabase Docs
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/local-development/database-migrations)
|
| [Limits \| Supabase
Docs](https://supabase.com/docs/guides/storage/uploads/file-limits) |
[Storage Upload Limits \| Supabase Docs
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/uploads/file-limits)
|
| [Limits \| Supabase
Docs](https://supabase.com/docs/guides/functions/limits) | [Edge
Functions Limits \| Supabase Docs
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/functions/limits)
|
| [Error Codes \| Supabase
Docs](https://supabase.com/docs/guides/storage/debugging/error-codes) |
[Storage Error Codes \| Supabase Docs
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/debugging/error-codes)
|
| [Views \| Supabase
Docs](https://supabase.com/docs/guides/database/views) | [Database Views
\| Supabase Docs
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/database/views)
|
| [Self-Hosting \| Supabase
Docs](https://supabase.com/docs/reference/self-hosting-auth/introduction)
| [Self-Hosting Auth \| Supabase Docs
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference/self-hosting-auth/introduction)
|
| [Supabase Docs](https://supabase.com/docs/reference) | [Supabase API
references
✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference)
|

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-29 14:44:55 -05:00
ec11e10d35 chore(docs) -- add in relevant crosslinks over to /kb troubleshooting pages (#52503)
## Problem

relevant cross-links missing to KB articles.

## Solution

Claude pass with an attempt to inline these where possible. Some were a
new sentence, but spot check felt like they were mostly appropriate.

## Preview links

N/A b/c too many atomic changes to help that much.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-10-29 10:30:15 -05:00
Kody Jackson d4a2c464b2 chore(docs) - update troubleshooting links to new destinations (#52095)
## Problem

KB now has definitive version of the troubleshooting guides. Need to
update the in content links to match work happening in #52088.

## Preview links

N/A... all atomic changes to links, so previews not very helpful here.
2026-10-22 08:02:23 -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
4998a137ec docs: correct function-to-function call rate limit for Edge Functions (#50806)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Kalleby Santos <105971119+kallebysantos@users.noreply.github.com>
2026-09-23 21:43:43 +01:00
86f38f97c8 docs: add troubleshooting entry for the Edge Function secrets limit (#50366)
## Summary
- No public doc previously covered what to do when a project hits the
100-secret cap for Edge Functions. Adds a troubleshooting entry
documenting the JSON-bundling workaround.
- Cross-links the new entry from the Secrets section of
`functions/limits.mdx`.

## Sourcing / context
- Internal Slack (Jul 2):
https://supabase.slack.com/archives/C02KMRX22NR/p1783003062600709?thread_ts=1783002978.740289&cid=C02KMRX22NR
— workaround first suggested (Kalleby).
- Internal Slack (Aug 19):
https://supabase.slack.com/archives/C0BMQHEU6N6/p1787139772204509?thread_ts=1787098919.509189&cid=C0BMQHEU6N6
— functions team reconfirms no override path exists; workaround
independently recommended again.
- The JSON-bundling pattern mirrors how Supabase's own default secrets
already work (`SUPABASE_PUBLISHABLE_KEYS` / `SUPABASE_SECRET_KEYS` in
`functions/secrets.mdx`), so this isn't a novel pattern for the
platform.
- Prompted by support ticket SU-473846.

## Test plan
- [x] `pnpm --filter docs lint:mdx` passes with no warnings on either
changed file
- [ ] New page renders correctly under `/docs/guides/troubleshooting`
- [ ] Link from `functions/limits.mdx` resolves

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

- **Documentation**
- Added guidance for working around the 100-secret Edge Functions limit
by bundling related credentials into a single JSON secret.
- Documented JSON secret setup, parsing, replacement behavior, shell
quoting, environment files, and the 48 KiB per-secret size limit.
- Clarified that JSON bundling does not bypass the per-secret size
limit.
- Explained when to use Supabase Vault for row- or user-specific
secrets, including database round trips and potential latency.
- Linked the workaround guide from the Edge Functions limits
documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: Miranda Limonczenko <miranda.limonczenko@supabase.io>
2026-09-15 10:13:46 -04:00
Satya Rohith 7107a22a67 docs(functions): update Pro and Team function limits (#49173)
Pro plan increased from 500 to 1000 functions per project, Team from
1000 to 2000.

## 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 update for function limits

## What is the current behavior?

The function limits for Pro and Team plans are 500 and 1000 respectively
in the docs.

## What is the new behavior?

The function limits are updated to 1000 and 2000 for Pro and Team plans
in the docs to match the updated
limits in the backend. 


## Additional context


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

## Summary by CodeRabbit

* **Documentation**
* Updated platform limits for Pro plans to support up to 1,000 functions
per project.
* Updated platform limits for Team plans to support up to 2,000
functions per project.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-18 08:26:44 -06:00
claude[bot]andClaude c1bd941598 docs: clarify edge function deployment size limits (5MB server-side vs 20MB local) (#47941)
<!-- ccr-slack-attribution -->
_Requested by **Lakshan Perera** · [Slack
thread](https://supabase.slack.com/archives/C023E4L60R3/p1784055775538959?thread_ts=1784055775.538959&cid=C023E4L60R3)_

## 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 update.

## What is the current behavior?

Both the "Edge Function bundle size issues" troubleshooting page and the
Edge Functions "Limits" page stated only a single **20 MB** limit. In
practice, that 20 MB figure applies only to **local bundling** with the
Supabase CLI. When a function is deployed via the **Management API or
Dashboard**, bundling runs server-side and is capped at **5 MB** due to
an infrastructure (Lambda) limit. Customers deploying that way were
surprised to hit an error like `Function source code exceeds the maximum
deployment size (5 MB). Reduce the size of your function and try again.`
even though the docs implied 20 MB was available.

## What is the new behavior?

Both pages now state the distinction explicitly:

- **Local bundling (Supabase CLI):** up to **20 MB**.
- **Server-side bundling (Management API or Dashboard):** up to **5
MB**.

The troubleshooting page also adds a "Deploying larger functions"
section pointing customers at the workaround: if a function is under 20
MB but over the 5 MB server-side limit, bundle it locally by running
`supabase functions deploy` with the `--use-docker` flag to force local
bundling and get the higher limit.

## Additional context

**How / files changed:**

-
`apps/docs/content/troubleshooting/edge-function-bundle-size-issues.mdx`
— rewrote the intro to describe both limits, added the "Deploying larger
functions" workaround section, and fixed the frontmatter `keywords`
(replaced `"10MB"` with `"5MB"` and `"20MB"`).
- `apps/docs/content/guides/functions/limits.mdx` — updated the "Maximum
Function Size" line to list both the 20 MB local and 5 MB server-side
limits.

Before, both pages said only 20 MB, so customers deploying via the
API/Dashboard were surprised by a 5 MB error; after, both pages state
the 5 MB server-side vs 20 MB local distinction and point to local
bundling as the workaround.

---
_Generated by [Claude
Code](https://claude.ai/code/session_019bBXmQTRBWJbo3UTpfjPLU)_

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-15 06:54:19 -06:00
51c3bf0404 feat: add a guide on recursive / nested function calls (#43623)
Adds a guide for the recently introduced recursive/nested function
rate-limits.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2026-03-11 19:52:04 +11:00
Rodrigo Mansueli a7c4026c63 feat: Update limits with secret limits for edge functions (#41023)
* Update limits.mdx

* Update limits.mdx
2025-12-04 15:09:46 +00:00
Rodrigo Mansueliandgithub-actions[bot] d1853ed6a2 Chore: warning about static files & edge functions (#37733)
* Chore: warning about static files & edge functions

* Update limits.mdx

* Update wasm.mdx

* Update apps/docs/content/guides/functions/wasm.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-06 17:53:43 -03:00
Lakshan Perera e4e3668cc9 fix: Update function docs to include platform limits + remove them from pricing page (#34850)
* fix: add number of functions to pricing page

* fix: move the function limits to docs
2025-04-10 15:27:45 +08:00
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Lakshan PereraandCharis 1eebae921c Add websocket guide (#30819)
* chore: add WebSockets guide

* update the limits

* add missing navigation link

* Apply suggestions from code review

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* formatting

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-12-02 22:44:00 +00:00
Lakshan Perera 344af70e44 Revert "docs: added max request and repsonse for edge functions docs" (#30132)
Revert "docs: added max request and repsonse for edge functions docs (#28076)"

This reverts commit c670708244.
2024-10-28 11:18:28 -04:00
hallidayo c670708244 docs: added max request and repsonse for edge functions docs (#28076)
added max request and repsonse for docs
2024-07-19 20:13:17 +00:00
Rodrigo MansueliandCharis 0c6dbb14e1 chore: add limitation on multithreading & update HTML reqs (#27012)
* chore: add limitation on multithreading & update HTML

Add limitation on multithreading & update HTML requests limitation

* Update apps/docs/content/guides/functions/limits.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-05 19:57:53 +00:00
Lakshan Perera a133a111d2 Some updates to Edge Functions guides (#26877)
* chore: link to Sentry guide from Debugging section

* chore: Change Edge Function Quickstart to Get started

This section isn't much of a quickstart. Updated the first guide title
to "Create an Edge Function"

* chore: moved Edge Functions limits to a separate page

* chore: added a page on HTTP Status codes Edge Functions can return
2024-05-30 16:56:32 -02:30