Add telemetry for detecting whether AI coding agents have Cloudflare skills installed - #14009
Conversation
🦋 Changeset detectedLatest commit: fbac658 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
✅ All changesets look good |
|
Now let me verify one concern I have: the changeset says Looking at the changeset rules: Let me now check one more thing — the Let me look at the Now I've finished my analysis. Let me determine if there are actionable issues:
Actually wait — let me think about issue #3 more carefully. The Actually, there IS a real issue here. The For agent users, the GitHub API call runs in parallel with whatever the command is doing, and the telemetry event just includes the result when it's ready. The process exit timeout protects against it being too slow. I think this PR is well-constructed. The code is clean, tests are comprehensive, and the error handling is solid. Let me double-check one potential concern with the Overall, this is a clean, well-tested PR. No actionable issues found. LGTM |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
182713a to
c497d54
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
94ba3ce to
fbac658
Compare
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Wrangler now includes a
currentAgentSkillsInstalledproperty in telemetry events that reports whether the current AI coding agent has Cloudflare skills present on disk. The value distinguishes between skills installed automatically by Wrangler ("automatic"), skills installed manually by the user ("manual"), no skills present (false), or no supported agent detected (null). Skill names are fetched from the GitHub Contents API with a 24-hour disk cache to avoid rate limits.A picture of a cute animal (not mandatory, but encouraged)