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
|
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]