Repository navigation
[Agents] Add a Guides section with a debugging guide - #35058
mattzcarey wants to merge 2 commits into
Conversation
AI Review✅ Reviewed 👉 Fix in your agent 👈Fix the following review findings in PR #35058 (https://github.com/cloudflare/cloudflare-docs/pull/35058).
Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification.
- If you disagree, explain why.
- If you need clarification before deciding, ask those questions.
- Then share your plan for which issues to tackle and in what order.
After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.
The comment must come before the commit because the next review reads PR comments.
## Style Guide
- S-01c25de2 | src/content/docs/agents/guides/debug-agents.mdx:114 | Time-sensitive date in prose
The cost table cell uses a month name and a four-digit year (`December 1, 2026`), which the time-sensitive content rules exclude outside `src/content/changelog/`. Docs prose should read as timeless.Style GuideSkipped: no new docs content changes since the last review.
Commands
|
Review coverage✅ All 2 ownership areas are covered. ✅ 2 areas already covered
CODEOWNERS mappings for displayed areas (2)
|
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://docs-agents-debugging-guide.previews.developers.cloudflare.com (commit d1c153e)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
|
Worker Preview URL: https://gh-docs-agents-debugging-guide.previews.developers.cloudflare.com Files with changes (up to 15) |
irvinebroque
left a comment
There was a problem hiding this comment.
where does all of this come from?
|
@mattzcarey All approved and ready, please merge whenever all changes are done, thanks! 🙌 |
264b976 to
7ba28e8
Compare
ad66a8c to
d1c153e
Compare
Adds a Guides section to the Agents docs with one guide, "Debug agents". It starts from what you see and what to run, then works through the Local Explorer locally, the
cfCLI against production (cf observability tail,cf o11y telemetry query,cf o11y agents traces), Data Studio for the object's SQLite tables, and eleven common failures written as symptom, how to confirm it, cause, and fix./agents/guides/redirected to the MCP guides; that redirect is removed so the new index serves the path, and the other/agents/guides/*redirects stay.The first version of this PR was written for
[email protected]and started fromwrangler tailand SQLite files opened by hand. This rewrite covers the released packages and the tools available today:cf1.0.0-rc.4 has live tail and agent-trace commands that earliercfreleases do not haveErrorpassed toconsole.error()and does not store the SDK's diagnostics channel events, so the guide shows how to log both[email protected]and@cloudflare/[email protected]behaveEvery command and output in the guide ran against a probe Worker deployed with
cf deploy(a plain Durable Object with the Lifecycle, and a Think agent) that triggered each failure on purpose; IDs are shortened. The TypeScript samples typecheck against[email protected]and@cloudflare/workers-typeswithtsc --noEmit.The existing approval is for the first version, which this force-push replaces, so the guide needs a fresh review.