Repository navigation
feat(website): Redirect spotlightjs.com to sentry local docs - #1387
Merged
Merged
Conversation
Spotlight has moved to sentry local in Sentry CLI v4. Replace the Starlight site with Astro redirects from every page it built to the matching cli.sentry.dev page. Any other path gets a 404 page that sends people to the migration guide. install.sh stays so existing curl | sh installs keep working.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Coverage Results 📊✅ Patch coverage is 100.00% (no changed executable lines found; target 80%). Coverage diff@@ Coverage Diff @@
## main #1387 +/-##
==========================================
Coverage 55.54% 55.54% —%
==========================================
Files 81 81 —
Tracked lines 2588 2588 —
Branches 1891 1891 —
==========================================
Hits 1441 1441 —
Misses 1147 1147 —
Partials 186 186 —Generated by Coverage Action |
astro's prerenderer imports parseCookie, which older cookie versions don't export. Keep the direct cookie ^2.0.1 dependency the site had before so the build resolves it.
…ages to the guide /sidecar/npx is still in a sentry-javascript debug message. Docker, MCP, desktop app and SDK pages now land on the matching migration guide section, which explains what changed.
MathurAditya724
approved these changes
Dec 5, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spotlight has moved to
sentry localin Sentry CLI v4, so this PR replaces the Starlight site with redirects to cli.sentry.dev. It needs to merge before the repo is archived.Merge order: getsentry/toolkit#2912 first. Most redirects and the 404 page go to https://cli.sentry.dev/migrating-from-spotlight/, which returns 404 until that PR ships, and this site deploys
mainto production on merge. Merge this only once that URL returns 200.astro.config.mjshas aredirectsentry for each of the 29 pages the current site builds, plus the older URLs that the README, CONTRIBUTING.md, the changelog and SDK debug messages link to (such as/sidecar/npx/from sentry-javascript).@astrojs/vercelturns them into real 301s in.vercel/output/config.json.trailingSlash: "never": the adapter's redirect rules match/docs/foobut not/docs/foo/, which is how every old link is written. With"never", Vercel first sends/docs/foo/to/docs/foowith a 308, and the redirect rule then matches.getStaticPathsfor those), so any other path gets404.html. That page has a meta refresh and a link to the migration guide.public/install.shstays, socurl -sL https://spotlightjs.com/install.sh | shkeeps installing the latest Spotlight release. Once feat: Point Spotlight users at sentry local #1386 is released, that binary prints the move notice itself.@sentry/astrocatalog entry that only the website used. The build now outputs only404.html,favicon.svg, andinstall.sh.Example:
getsentry/sentry-cliimage.Redirect table
From the built
.vercel/output/config.jsonroutes. Every old path with a trailing slash first gets a 308 to the same path without it, then the 301 below./,/docs/,/docs/getting-started/,/docs/about/,/docs/architecture/,/about//docs/cli/,/docs/cli/run/,/docs/quickstart/turborepo//docs/cli/tail//docs/cli/reference//docs/quickstart/nextjs/,/docs/sdk/,/setup/nextjs//docs/desktop-app//docs/sidecar/,/docs/sidecar/npx/,/docs/sidecar/webpack/,/sidecar/,/sidecar/npx//docs/sidecar/docker//docs/mcp/,/docs/mcp/tools/,/docs/mcp/workflows//docs/reference/console/,/docs/reference/integration/,/docs/reference/integrationpanel/,/docs/reference/configuration//docs/contribute/and its four subpages,/contribute//setup/,/setup/migration//docs/sidecar/whatever//install.shQuery strings carry through both hops.
via @BYK, @MathurAditya724.
--
View Session [Sentry]