Skip to content

fix(js): Show orgId option for all JS SDK categories#17724

Merged
cleptric merged 3 commits into
masterfrom
michi/add-orgid-stricttracecont-browser
May 12, 2026
Merged

fix(js): Show orgId option for all JS SDK categories#17724
cleptric merged 3 commits into
masterfrom
michi/add-orgid-stricttracecont-browser

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented May 11, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

orgId was restricted to server/serverless categories via categorySupported on the JS SDK configuration options page, but it's defined in @sentry/core and available in browser SDKs too — the org ID is embedded in the DSC/baggage on outgoing requests from the browser.

This PR removes the categorySupported filter from orgId so it appears on browser/frontend platform pages as well (e.g. /platforms/javascript/configuration/options/).

strictTraceContinuation stays server/serverless-only since it guards against foreign inbound trace context, which is a server concern.

Also cleans up a duplicate sentence in the orgId description.

IS YOUR CHANGE URGENT?

  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • 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

Opened on behalf of @cleptric

…K categories

Both options were restricted to server/serverless via categorySupported,
but they are defined in @sentry/core and available in browser SDKs too.

Remove the categorySupported filter so these show on browser/frontend
platform pages as well.

Also removes a duplicate sentence in the orgId description.
@vercel

vercel Bot commented May 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 11, 2026 11:53pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 11, 2026 11:53pm

Request Review

strictTraceContinuation guards against foreign inbound trace context,
which is a server concern — browsers initiate requests rather than
receive inbound traces from third parties.
@sentry-junior sentry-junior Bot changed the title fix(js): Show orgId and strictTraceContinuation options for all JS SDK categories fix(js): Show orgId option for all JS SDK categories May 11, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c8dfb1d. Configure here.

Comment thread docs/platforms/javascript/common/configuration/options.mdx
Comment thread docs/platforms/javascript/common/configuration/options.mdx Outdated
The link targets an anchor that only exists on server/serverless pages,
so wrap it so browser pages don't get a broken link.
@cleptric cleptric merged commit 403fd8f into master May 12, 2026
20 checks passed
@cleptric cleptric deleted the michi/add-orgid-stricttracecont-browser branch May 12, 2026 02:19
@Swatinem

Copy link
Copy Markdown
Contributor

Opened on behalf of @Swatinem

How so?

sentrivana pushed a commit that referenced this pull request May 18, 2026
## DESCRIBE YOUR PR

`orgId` was restricted to server/serverless categories via
`categorySupported` on the JS SDK configuration options page, but it's
defined in `@sentry/core` and available in browser SDKs too — the org ID
is embedded in the DSC/baggage on outgoing requests from the browser.

This PR removes the `categorySupported` filter from `orgId` so it
appears on browser/frontend platform pages as well (e.g.
`/platforms/javascript/configuration/options/`).

`strictTraceContinuation` stays server/serverless-only since it guards
against foreign inbound trace context, which is a server concern.

Also cleans up a duplicate sentence in the `orgId` description.

## IS YOUR CHANGE URGENT?

- [x] None: Not urgent, can wait up to 1 week+

## PRE-MERGE CHECKLIST

- [ ] 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)

---

*Opened on behalf of @Swatinem*

---------

Co-authored-by: Junior <junior@sentry.io>
antonis added a commit that referenced this pull request May 19, 2026
orgId categorySupported was already removed in #17724.
strictTraceContinuation stays server/serverless-only, aligned with RN
approach — the feature is documented in the distributed tracing guide.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
antonis added a commit that referenced this pull request Jun 10, 2026
## DESCRIBE YOUR PR

Add Capacitor-specific distributed tracing documentation with strict
trace continuation section.

**Changes:**
- **`javascript.capacitor.mdx`** (new) — Capacitor-specific distributed
tracing include with strict trace continuation section and code
examples, aligned with the existing React Native include

**Note:** The original PR also removed `categorySupported` from `orgId`
and `strictTraceContinuation` in `options.mdx`. Those changes were
dropped:
- `orgId` was already fixed in #17724
- `strictTraceContinuation` intentionally stays server/serverless-only
on the options page, aligned with the RN approach (documented in the
distributed tracing guide instead)

Related SDK PR: getsentry/sentry-capacitor#1166

## IS YOUR CHANGE URGENT?

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

## PRE-MERGE CHECKLIST

- [ ] 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)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants