Repository navigation
docs(javascript): Add Pi Durable guide - #19873
Conversation
Co-Authored-By: Andrei Borza <andrei.borza@sentry.io>
Co-Authored-By: Andrei Borza <andrei.borza@sentry.io>
Co-Authored-By: Andrei Borza <andrei.borza@sentry.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
The change publishes a new platform guide and links it from agent tracing pages. The plan checks 200s on the new guide URL, JavaScript guide 404s, and client errors. An issue escalates when guide 404s rise or server 5xx appear. Services: PlanWhat changedRequests to sentry-docs must deploy before those pages are live. develop-docs also ships the shared PlatformIcon map in RiskIf static path generation misses the new slug, the guide URL returns 404. A bad icon import can fail the shared bundle on both sites. Sibling JavaScript guide pages can 404 if the new platform frontmatter breaks page generation. Client render of the platform selector can throw if the new icon map is wrong. Intended effectThe new guide is live when
Regression watchThis diff can 404 sibling JavaScript guides if static paths fail. It can also throw in the shared page and icon code. Watch 404s on that guide family, 5xx on the docs catch-all, and client errors on that catch-all. Algolia fetch failures already dominate client errors. Treat a new title from PlatformIcon or MDX as a regression even if the total stays near the sample.
Sibling Eve and Mastra guide Not observableClient pageload transaction names are Next.js routes, not the page URL. Soft navigations are sampled at 30%. Whether the new MDX body is correct is not in traces. The JavaScript agent-tracing page had 0 |
|
Verified in
|
…le (#19728) ## DESCRIBE YOUR PR The Feature Flags page was excluded for the Eve, Flue, and Mastra guides (#19450), and later for Pi Durable (#19873), but all four use `@sentry/node`, which exports `featureFlagsIntegration`. The Generic Feature Flags integration page is still shown for these guides and links to `feature-flags/#enable-evaluation-tracking` and `#enable-change-tracking`, which returned 404. - Remove Eve, Flue, Mastra, and Pi Durable from the page's `notSupported` list. Checked locally: `feature-flags/` renders for these guides (it uses the Node evaluation-tracking snippet via `fallbackGuide`), and the anchors from the integration page resolve. Note: the provider integrations exported from `@sentry/node` (LaunchDarkly, OpenFeature, Statsig, Unleash, GrowthBook) are no-op shims. Their docs pages are already hidden for server guides, so this PR doesn't change them. ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the due date. You can update this information later by editing the PR description. - [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD - [ ] Other deadline: YYYY-MM-DD - [x] No deadline: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've supplied a deadline. Thanks in advance for your help! ## PRE-MERGE CHECKLIST _Make sure you've checked the following before merging your changes:_ - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
## DESCRIBE YOUR PR The AI integration pages excluded the Mastra guide via `notSupported: javascript.mastra`. The exclusion came over from the former Agent Tracing sub-pages when #19547 moved them to `configuration/integrations/*`. The Pi Durable guide (#19873) copied the same exclusion. Mastra and Pi Durable apps use `@sentry/node`, where these integrations are enabled by default. Nothing in the Mastra integration disables them, so the pages apply to Mastra too. Pi Durable turns off its OpenAI, Anthropic, and Google Gen AI integrations once a run starts, but the integrations still exist and can be configured. Both guides' integrations overviews inherit the Node table, which links to all of these pages, so these links returned 404: - `/platforms/javascript/guides/{mastra,pi-durable}/configuration/integrations/{vercelai,openai,anthropic,google-genai,langchain,langgraph,mistral,groq,together-ai,typesafe}` Change: - Remove `javascript.mastra` and `javascript.pi-durable` from `notSupported` on the 10 AI integration pages (drop the key where it's now empty; TypeSafe keeps its Cloudflare exclusion). ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the due date. You can update this information later by editing the PR description. - [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD - [ ] Other deadline: YYYY-MM-DD - [x] No deadline: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've supplied a deadline. Thanks in advance for your help! ## PRE-MERGE CHECKLIST _Make sure you've checked the following before merging your changes:_ - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
## DESCRIBE YOUR PR Bumps `platformicons` to 9.8.1, which ships the official `pi` icon in both sizes. The Pi Durable guide now uses it instead of the local `src/icons/pi-durable.svg` we added in #19873. That local copy is removed. `pi-durable` and `javascript-pi-durable` both point to the new `pi` icon, so the guide's `icon: pi-durable` frontmatter works without changes. ## IS YOUR CHANGE URGENT? - [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD - [ ] Other deadline: YYYY-MM-DD - [x] No deadline: Not urgent, can wait up to 1 week+ ## PRE-MERGE CHECKLIST - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) <!-- junior-request-attribution:start --> via **Andrei Borza**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0BKK9QLCUA%3A1791884530.598529 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0BKK9QLCUA%3A1791884530.598529) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0BKK9QLCUA%3A1791884530.598529/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Andrei Borza <andrei.borza@sentry.io>
DESCRIBE YOUR PR
Adds a dedicated
javascript.pi-durableplatform guide for the Pi Durable integration added in getsentry/sentry-javascript#24993 (see also the Pi Durable announcement). It follows the same structure as the Flue, Eve, and Mastra guides.docs/platforms/javascript/guides/pi-durable/index.mdx: Node.js setup (preloadinstrument.mjswith--import, or use the bundler plugin)docs/platforms/javascript/guides/pi-durable/cloudflare.mdx: Cloudflare setup (sentryCloudflareVitePlugin()+instrument.server.ts, with an Agents SDKPiHarnessexample)includes/pi-durable/: shared sections covering experimental status, captured telemetry (gen_ai.invoke_agent/gen_ai.chat/gen_ai.execute_tool), conversation IDs across restarts, crash recovery, captured errors, which provider integrations get skipped, current gaps, verification, and next stepsjavascript.pi-durableto common-page platform lists wherever Mastra appears (install-method pages stay visible, since a Pi Durable app controls its own startup)src/icons/pi-durable.svg), plus entries on the Agent Tracing index and the Agents getting-started pageBun and Deno are left out for now because their setup couldn't be verified. Only Node and Cloudflare are documented.
IS YOUR CHANGE URGENT?
SLA
PRE-MERGE CHECKLIST
via Andrei Borza.
--
View Junior Session [Sentry]