Skip to content

Redirect broken Node ANR event-loop-block docs URL - #19641

Merged
coolguyzone merged 2 commits into
getsentry:masterfrom
SatvikMishra08:fix/18899-anr-event-loop-redirect
Oct 13, 2026
Merged

coolguyzone merged 2 commits into
getsentry:masterfrom
SatvikMishra08:fix/18899-anr-event-loop-redirect

Conversation

@SatvikMishra08

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

The Node ANR integration docs 404 when the event-loop page is requested as a child of the ANR page (.../integrations/anr/event-loop-block/). That path should land on the current eventLoopBlockIntegration docs.

  • Add redirects for the common and per-guide JS paths
  • Switch the remaining relative markdown link on the ANR page to a PlatformLink so it uses the same destination

Verified live: .../integrations/anr/event-loop-block/ still returns 404; sibling .../integrations/event-loop-block/ returns 200.

Fixes #18899

IS YOUR CHANGE URGENT?

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

SLA

Please give the docs team up to 1 week to review.

PRE-MERGE CHECKLIST

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

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

The URL .../integrations/anr/event-loop-block/ 404s because
event-loop-block is a sibling of anr, not a child. Add redirects
to the current eventLoopBlockIntegration docs and point the
remaining relative ANR link at that page via PlatformLink.

Fixes getsentry#18899
@vercel

vercel Bot commented Sep 27, 2026

Copy link
Copy Markdown

@SatvikMishra08 is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Sep 27, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team September 27, 2026 12:09
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
develop-docs Ready Ready Preview Oct 5, 2026 5:56pm UTC
sentry-docs Ready Ready Preview Oct 5, 2026 5:56pm UTC

Request Review

@coolguyzone coolguyzone 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.

Hey @SatvikMishra08 thanks for digging into this one — the core redirect is right, and the 404 is a good catch, but a couple of things to update:

1. Drop the common/ redirect.

/platforms/javascript/common/* isn't a URL the site ever serves,common/
is a source directory that gets expanded into each guide at build time, so
nothing can request that path. There's an existing redirect in redirects.js
using the same shape, and you can see what it does:

/platforms/javascript/common/configuration/application-not-responding/
  → 308 → /platforms/javascript/common/configuration/event-loop-block/ → 404

It turns one 404 into a redirect to another 404. That one slipped through
review, so the pattern looks legitimate, but we shouldn't add a second.

**2. Revert the anr.mdx link

The existing [Event Loop Blocoop-block) on line 27
already works. From /guides/nions/anr/, the ../../
resolves to /guides/node/conf/, which returns 200
and is titled "Event Loop Bloce link text.

The PlatformLink you've swapped in points at
/configuration/integrations/event-loop-block/, which is a different page
("Event Loop Block"), and it's 15 already links to.
So the change retargets a working link and loses the pointer to the overview
page.

Drop the /platforms/javascript/common/... redirect (common/ is a
source path, not a served URL) and restore the working relative
link to the Event Loop Block overview on anr.mdx.
@SatvikMishra08

Copy link
Copy Markdown
Contributor Author

Thanks @coolguyzone — applied both review notes:

  1. Dropped the /platforms/javascript/common/... redirect (kept only the guides/:guide/... one).
  2. Restored the original relative [Event Loop Block Detection](../../event-loop-block) link on anr.mdx.

@SatvikMishra08

Copy link
Copy Markdown
Contributor Author

Hey @coolguyzone, both of your notes are in now (only the guides/:guide/... redirect is left, and the relative ANR link is restored). Could you take another look when you get a chance? Thanks!

Copy link
Copy Markdown
Contributor Author

Hi @coolguyzone — gentle ping now that we’re past the docs SLA window. Review notes from earlier are still in (guides/:guide redirect only; relative ANR link restored). Happy to adjust anything else if needed. Thanks!

@SatvikMishra08

Copy link
Copy Markdown
Contributor Author

Hi @coolguyzone — one more gentle bump on this docs fix. Happy to adjust anything if needed. Thanks!

@coolguyzone
coolguyzone merged commit 95a0797 into getsentry:master Oct 13, 2026
22 checks passed

This branch was successfully deployed

2 active deployments
Preview – sentry-docs — 6bdbeaca Deployed Oct 5, 2026 by vercel[bot]
Preview – develop-docs — 6bdbeaca Deployed Oct 5, 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.

🔗 404 Error

2 participants