Skip to content

docs(runtime): fix the azion dev port and the function size limit - #2583

Open
bruno-andrade-azion wants to merge 1 commit into
mainfrom
docs/mm-16235-port-and-function-size
Open

bruno-andrade-azion wants to merge 1 commit into
mainfrom
docs/mm-16235-port-and-function-size

Conversation

@bruno-andrade-azion

@bruno-andrade-azion bruno-andrade-azion commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • azion dev port: the local development page and the Stripe webhooks guide said the server runs on port 3000. The default is 3333, which is what the CLI reference, the Runtime quickstart, and the rest of the docs already say. The local development page now shows the output line the quickstart uses (Function running on port 0.0.0.0:3333, url: http://localhost:3333) and sends the curl to localhost:3333. The Stripe guide forwards events to localhost:3333/webhook.
  • Function size limit: the Next.js compatibility page said a function can take up to 50 MB and that only the gzipped size counts. Both claims were wrong or unsourced. The note now states the values from Functions limits: 20 MB through the Azion API and 6 MB in Azion Console.
  • The SME confirmed both values on 2026-10-30 (MM-16235, questions 143 and 144 of devtools.md). Every change is in en and pt-br.

How to test

  1. Run pnpm dev and open these pages in en and pt-br:
    • Develop and test a function locally (/en/documentation/platform/functions/local-development/, pt-br /pt-br/documentacao/plataforma/functions/local-development/): the output line and the curl use 3333.
    • Build a Stripe webhook handler with Functions (/en/documentation/guides/application-development/functions-and-runtime/stripe-webhooks-functions/): the stripe listen --forward-to command uses localhost:3333/webhook.
    • Next.js versions (/en/documentation/devtools/runtime/frameworks/nextjs-compatibility/): the note under the feature table gives 20 MB (API) and 6 MB (Console), and its link opens Functions limits.
  2. Optional: run azion dev in any function project. The server should print the port 3333 line shown on the page.
  3. Check that localhost:3000 appears only in node-polyfills/url.mdx, where it is a sample value inside the code, not the server port.

URL changes and redirects

None.

Notes

  • Related issue: MM-16235, epic MM-16212.
  • Out of scope: three items of MM-16235 still wait for an SME answer and are not touched here: the format of the connector prefix (/src, src/, or src/assets), the Content-Type of an object download in bucket-actions, and the claim that a KV Store write is visible everywhere within 60 seconds.
  • I did not run the build or the link checker. The change edits prose and code samples only, and every link it touches already existed.

The local development page and the Stripe webhooks guide showed port
3000; azion dev serves on 3333 by default. The Next.js page gave a
50 MB function limit with an unsourced gzipped-size rule; the limit is
20 MB through the API and 6 MB in Azion Console, as Functions limits
states. Both changes apply to en and pt-br.

Refs: MM-16235
@bruno-andrade-azion
bruno-andrade-azion requested a review from a team November 5, 2026 14:04
@bruno-andrade-azion bruno-andrade-azion self-assigned this Nov 5, 2026
@bruno-andrade-azion
bruno-andrade-azion requested a review from a team as a code owner November 5, 2026 14:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants