Skip to content

docs(javascript): drop serverless category from node, bun, deno - #19494

Merged
mydea merged 1 commit into
guide-cat/02-add-browser-server-onlyfrom
guide-cat/03-fix-serverless-runtimes
Sep 21, 2026
Merged

mydea merged 1 commit into
guide-cat/02-add-browser-server-onlyfrom
guide-cat/03-fix-serverless-runtimes

Conversation

@mydea

@mydea mydea commented Sep 18, 2026

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

Stacked PR. Part of the JavaScript guide-categories series (#19492#19506). Depends on #19493; review/merge bottom-up.

Node, Bun, and Deno are long-running server runtimes, not serverless/FaaS platforms, so the serverless category was semantically wrong for them.

  • The genuinely serverless guides (aws-lambda, azure-functions, gcp-functions, cloudflare, firebase) keep it.
  • No rendered content changes: serverless is always paired with server in every filter these guides retain, and the only serverless-alone consumers (migration items) are also gated by frameworks:.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

🤖 Generated with Claude Code

@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Sep 21, 2026 8:12am UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Sep 21, 2026 8:12am UTC

Request Review

@github-actions github-actions Bot added the Priority: Needs Triage The PR description is missing valid priority information label Sep 18, 2026
@mydea
mydea added this pull request to stack #19507 September 18, 2026 10:24
@github-actions github-actions Bot added Priority: Normal Docs review has no urgent deadline and removed Priority: Needs Triage The PR description is missing valid priority information labels Sep 18, 2026
@mydea
mydea marked this pull request as ready for review September 18, 2026 10:47
@codeowner-assignment
codeowner-assignment Bot requested a review from a team September 18, 2026 10:48
@mydea
mydea force-pushed the guide-cat/03-fix-serverless-runtimes branch from 2354f4b to c5d9b2a Compare September 18, 2026 10:49
Node, Bun, and Deno are long-running server runtimes, not serverless/FaaS
platforms, so the `serverless` category was semantically wrong for them. The
genuinely serverless guides (aws-lambda, azure-functions, gcp-functions,
cloudflare, and firebase/Cloud Functions) keep it.

No rendered content changes: `serverless` is always paired with `server` in
every section/option/link filter (which these guides retain), and the only
filters that key on `serverless` alone are migration items that are also
gated by `frameworks: [aws-lambda|cloudflare]`, so they never applied to
node/bun/deno regardless.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mydea
mydea force-pushed the guide-cat/03-fix-serverless-runtimes branch from c5d9b2a to ae504b8 Compare September 21, 2026 08:06
@mydea
mydea merged commit d77fedb into master Sep 21, 2026
22 checks passed
@mydea
mydea deleted the guide-cat/03-fix-serverless-runtimes branch September 21, 2026 08:30
mydea added a commit that referenced this pull request Sep 21, 2026
## DESCRIBE YOUR PR

> **Stacked PR.** Part of the JavaScript guide-categories series (#19492#19506). Depends on #19494; review/merge bottom-up.

Extract the repeated `categories.includes('server') ||
includes('serverless')` logic into shared `hasServerCategory` /
`hasBrowserCategory` helpers (`src/categories.ts`) and use them in
`sdkOption` and `platformLink`.

- Behavior-preserving cleanup; no rendered output changes.
- The `nextjs`/`sveltekit` env-var exclusion in `shouldShowEnvVar` is
intentionally left as a framework-specific special case.

## IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.

- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.

Thanks in advance for your help!

## PRE-MERGE CHECKLIST

_Make sure you've checked the following before merging your changes:_

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

---

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

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview – sentry-docs ae504b85 Deployed Sep 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants