Skip to content

docs(javascript): Add list of integrations that use globals#16384

Open
s1gr1d wants to merge 1 commit intomasterfrom
sig/shared-env-integrations
Open

docs(javascript): Add list of integrations that use globals#16384
s1gr1d wants to merge 1 commit intomasterfrom
sig/shared-env-integrations

Conversation

@s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Feb 13, 2026

DESCRIBE YOUR PR

Documents missing integrations to filter.

Ref: getsentry/sentry-javascript#19324

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: 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 added an urgent due date to it.
    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

@s1gr1d s1gr1d requested a review from Lms24 February 13, 2026 14:05
@vercel
Copy link

vercel bot commented Feb 13, 2026

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Feb 13, 2026 2:13pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Feb 13, 2026 2:13pm

Request Review

@s1gr1d s1gr1d requested a review from inventarSarah February 13, 2026 14:05
// filter integrations that use the global variable
const integrations = getDefaultIntegrations({}).filter((defaultIntegration) => {
return !["BrowserApiErrors", "Breadcrumbs", "GlobalHandlers"].includes(
return !["BrowserApiErrors", "BrowserSession", "Breadcrumbs", "ConversationId", "GlobalHandlers", "FunctionToString"].includes(
Copy link

Choose a reason for hiding this comment

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

Bug: The documentation adds the integration name "ConversationId" to a filter list, but this integration does not exist in the Sentry JavaScript SDK.
Severity: MEDIUM

Suggested Fix

Remove "ConversationId" from the filter list in the documentation file. If it was intended to be a different integration, replace it with the correct, existing integration name.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: docs/platforms/javascript/common/best-practices/shared-environments.mdx#L67

Potential issue: The documentation update adds `"ConversationId"` to a list of
integrations to be filtered out in shared environments. However, `"ConversationId"` is
not a valid integration in the Sentry JavaScript SDK. As a result, when users copy and
use this code, the filter will silently fail to match and remove this non-existent
integration. This misleads developers into believing they have correctly configured
their environment to disable certain global-state-using integrations when they have not.
The other added integrations, `"BrowserSession"` and `"FunctionToString"`, are valid.

Did we get this right? 👍 / 👎 to inform future reviews.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

2 participants