Skip to content

Fix globe location fallback and disable Sentry in tests - #1536

Merged
manudeli merged 1 commit into
mainfrom
manudeli/fix-sentry-visitor-location-and-test-noise
Nov 22, 2026
Merged

manudeli merged 1 commit into
mainfrom
manudeli/fix-sentry-visitor-location-and-test-noise

Conversation

@manudeli

Copy link
Copy Markdown
Collaborator

Summary

  • Use the default maintainers globe view when the visitor location request rejects or returns no location.
  • Disable server and MCP Sentry reporting under NODE_ENV=test, including when a DSN is configured.
  • Assert that a configured DSN does not enable the test client and that reloading instrumentation reuses the existing client.

Verification

  • Type checking and lint completed.
  • The three targeted Sentry and stale-app recovery tests passed.
  • The globe query returned the expected view for valid coordinates, null, undefined, and a rejected request.
  • The local sandbox blocked the unit runner's IPC socket. Running the unit suite directly passed 728 tests, skipped 6, and hit 3 failures while opening a local listener or launching headless Chrome.

@manudeli
manudeli requested a review from a team November 22, 2026 14:25
@changeset-bot

changeset-bot Bot commented Nov 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0fbe030

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 87434245-291c-4baa-9f72-63905e1c531e
Commits

Reviewing files that changed from the base of the PR and between 5668b04 and 0fbe030.

Files selected for processing: 4

  • src/components/MaintainersMap.tsx
  • src/instrument.server.mjs
  • src/utils/sentry.server.ts
  • tests/sentry-initialization.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 0fbe030 Commit Preview URL

Branch Preview URL
Nov 22 2026, 02:26 PM

@manudeli
manudeli merged commit a79a05d into main Nov 22, 2026
8 checks passed
@manudeli
manudeli deleted the manudeli/fix-sentry-visitor-location-and-test-noise branch November 22, 2026 14:32
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