Skip to content

fix: SEO prerequisites — Next server errors, docs, and site metadata - #690

Merged
cursor[bot] merged 2 commits into
developfrom
cursor/seo-prereqs-f4fb
Sep 25, 2026
Merged

cursor[bot] merged 2 commits into
developfrom
cursor/seo-prereqs-f4fb

Conversation

@unjica

@unjica unjica commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Base branch: develop

Summary

Safe product and site fixes from the SEO/AEO audit. The 23 SEO pages are not in this PR. This branch is not a production deploy by itself, and @telemetry-tracker/[email protected] is not published yet.

  • Next.js server errors. @telemetry-tracker/next/server exports createOnRequestError for instrumentation.ts / onRequestError. It uses fetch only (Node.js and Edge). It reports uncaught App Router errors Next passes to that hook (routeType render / route / action). It never throws into Next.js, does not forward request headers, strips query strings from the path, skips an Error already marked with Symbol.for("telemetry.reported") (shared with core) or a recent Next.js digest, and aborts hung ingest after 3s. Docs and unit tests cover those cases.
  • Source maps. External Action reference is Telemetry-Tracker/telemetry-tracker/.github/actions/upload-source-maps@main. Fixture tests cover webpack and Turbopack map URL resolution. Live Next 15 / Next 16 / Vercel / Node uploads are still a follow-up.
  • Docs. /docs/source-maps, /docs/self-hosting, /docs/alerts are in the nav and sitemap. Self-hosting does not claim a production Compose stack or invent RAM/CPU numbers. Source maps state Vercel was not live-verified.
  • Site. Pricing H1, ingest unit and 429 cap copy, sitemap lastmod, /llms.txt, htmlLimitedBots for <title> in <head>, version badge cleanup. www → apex middleware was already present; DNS/Cloudflare unchanged.
  • Crawlers / dogfood. Policy in docs/CLOUDFLARE-CRAWLERS.md and gap note in docs/MARKETING-OBSERVABILITY.md. Zone and Sentry unchanged.

How to test

  • pnpm lint && pnpm test && pnpm build
  • pnpm --filter @telemetry-tracker/next test
  • Built routes include /docs/alerts, /docs/self-hosting, /docs/source-maps, /llms.txt

Code review (Bugbot)

Paused: GitHub bugbot-review is currently a no-op. /review-bugbot is optional.

  • Considered /review-bugbot (optional while paused). Additive SDK ingest path; no billing/auth behavior change.
  • If Bugbot comments appear anyway: addressed or replied

Checklist

  • Tests pass
  • Lint passes
  • Build succeeds
  • CHANGELOG [Unreleased] updated
  • Documentation updated
  • No breaking changes (new ./server export; npm 1.3.1 unchanged until published)

Security / privacy

Server payloads do not copy request headers. Query strings are stripped from the path. Server API keys must not use NEXT_PUBLIC_. Cloudflare and DNS were not modified.

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 25, 2026 18:41
Add App Router onRequestError reporting, public docs for source maps,
alerts, and self-hosting, and the pricing, sitemap, and llms.txt fixes
from the audit. Do not publish the SDK or change Cloudflare.

Co-authored-by: Sanja Malovic <[email protected]>
Skip duplicate Error and digest reports, strip query strings, ignore
request headers, time out hung ingest, and never throw into Next.js.

Co-authored-by: Sanja Malovic <[email protected]>
@unjica
unjica marked this pull request as ready for review September 25, 2026 18:56
@cursor
cursor Bot merged commit a8d572f into develop Sep 25, 2026
9 checks passed
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