fix(nextjs): skip custom browser tracing setup for bot user agents (#20263)
Exposes `isBotUserAgent()` from the browser tracing integration to use it in the Next.js browser tracing wrapper so bot user agents also skip Next.js-specific router instrumentation which adds its own interval timer. This is intentionally the smallest change to test whether this fixes the Googlebot rendering issue. Longer term, we probably want a more general mechanism for integrations to skip their own setup, with a skip decision that can be downstreamed easily through wrappers and integration variants instead of checking the bot predicate ad hoc in each package. closes #19670 Co-authored-by: GPT-5.4 <noreply@anthropic.com>
A
Abdelrahman Awad committed
60498042061a49ce0e9e9f66cc839bb6188cf799
Parent: 13dc7a1
Committed by GitHub <noreply@github.com>
on 4/14/2026, 1:36:16 PM