René's URL Explorer Experiment


Title: fix(cloudflare): read DNS analytics from the GraphQL Analytics API by volodymyrshk · Pull Request #9187 · simstudioai/sim · GitHub

Open Graph Title: fix(cloudflare): read DNS analytics from the GraphQL Analytics API by volodymyrshk · Pull Request #9187 · simstudioai/sim

X Title: fix(cloudflare): read DNS analytics from the GraphQL Analytics API by volodymyrshk · Pull Request #9187 · simstudioai/sim

Description: Closes #9186. Cloudflare removes GET /zones/{zone_id}/dns_analytics/report on December 1, 2026 (https://developers.cloudflare.com/fundamentals/api/reference/deprecations/), so cloudflare_dns_analytics would fail for every workflow using it. What this does: The tool POSTs to the GraphQL Analytics API (dnsAnalyticsAdaptiveGroups) and maps the grouped rows back onto the existing report output (totals, data rows with parallel dimensions/metrics arrays, rows, query echo), so saved workflows keep reading the same fields. Existing params keep working where GraphQL has an equivalent: dimensions queryName/queryType/responseCode; metric queryCount; filters field==value joined by ;; sort like -queryCount; since/until as ISO dates or relative (-7d), now filtered by day; limit (default 100, max 10000). Metrics and dimensions the GraphQL dataset doesn't have (cache counts, response times, coloName, ...) are rejected with a clear error instead of being reported as zero, matching the tool's "absent means not measured" rule. Block AI-assist hints now list only the supported metrics, dimensions and filters. Query values are inlined as validated, JSON-escaped GraphQL literals; only $zoneTag is a variable. Tests: replaced the REST-envelope DNS analytics tests with GraphQL ones (request URL/method/body, validation errors, mapping, GraphQL error). I ran the tool logic under Node with stubbed imports (passes); I couldn't run vitest, tsc or Biome locally, so CI is the real check. Not verified against a live zone: field names come from Cloudflare's docs examples. Happy to adjust if the schema explorer says otherwise, or if you'd prefer a new tool and version over changing this one.

Open Graph Description: Closes #9186. Cloudflare removes GET /zones/{zone_id}/dns_analytics/report on December 1, 2026 (https://developers.cloudflare.com/fundamentals/api/reference/deprecations/), so cloudflare_dns_analyt...

X Description: Closes #9186. Cloudflare removes GET /zones/{zone_id}/dns_analytics/report on December 1, 2026 (https://developers.cloudflare.com/fundamentals/api/reference/deprecations/), so cloudflare_dns_analyt...

Opengraph URL: https://github.com/simstudioai/sim/pull/9187

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7e5f1e2b-1bb1-8632-ac48-985740f86f2e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB1BE:AAABF:9B0224:D9E83E:6AFB72D6
html-safe-noncedac11bedb3ba22739a87e52508c4a16e13c9a2c17cf14ffe038990cd4f72cb8c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUJFOkFBQUJGOjlCMDIyNDpEOUU4M0U6NkFGQjcyRDYiLCJ2aXNpdG9yX2lkIjoiNTA4OTM1MzQxOTM4NzAwNzcwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac464498eb0f12b1e1dbec45ff3728b90e2da49a7ce4d5e633c22059235ae12d3f
hovercard-subject-tagpull_request:4905578903
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9187/files
twitter:imagehttps://avatars.githubusercontent.com/u/214719305?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/214719305?s=400&v=4
og:image:altCloses #9186. Cloudflare removes GET /zones/{zone_id}/dns_analytics/report on December 1, 2026 (https://developers.cloudflare.com/fundamentals/api/reference/deprecations/), so cloudflare_dns_analyt...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9187/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9187%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9187%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/9187/files
Reloadhttps://github.com/simstudioai/sim/pull/9187/files
Reloadhttps://github.com/simstudioai/sim/pull/9187/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
volodymyrshkhttps://github.com/volodymyrshk
simstudioai:mainhttps://github.com/simstudioai/sim/tree/main
volodymyrshk:fix/cloudflare-dns-analytics-graphqlhttps://github.com/volodymyrshk/sim/tree/fix/cloudflare-dns-analytics-graphql
Conversation 3 https://github.com/simstudioai/sim/pull/9187
Commits 2 https://github.com/simstudioai/sim/pull/9187/commits
Checks 1 https://github.com/simstudioai/sim/pull/9187/checks
Files changed https://github.com/simstudioai/sim/pull/9187/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9187/files
fix(cloudflare): read DNS analytics from the GraphQL Analytics API https://github.com/simstudioai/sim/pull/9187/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/9187/files
1b68b8e fix(cloudflare): read DNS analytics from the GraphQL Analytics API volodymyrshk Oct 18, 2026 https://github.com/simstudioai/sim/pull/9187/commits/1b68b8e547cf1c79716831034d289270174ad05c
d4ab775 style(cloudflare): apply biome formatting to dns_analytics param desc… volodymyrshk Oct 18, 2026 https://github.com/simstudioai/sim/pull/9187/commits/d4ab7754a501fac8d30b22529dc9b4e0041904d1
Clear filters https://github.com/simstudioai/sim/pull/9187/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9187/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9187/files
cloudflare.ts https://github.com/simstudioai/sim/pull/9187/files#diff-834940feaa14b6d2a77d7e1df1d5c44be08851377c613aab5f86c31f1e73a5c1
cloudflare.test.ts https://github.com/simstudioai/sim/pull/9187/files#diff-ac4c52a9803ded1e46d4ae6387e5d326fdfcac1ac226d711f9b4ddfedea9af5d
dns_analytics.ts https://github.com/simstudioai/sim/pull/9187/files#diff-484003bae221b249a24f9a8d701b385297ee961ce0d1ac2fc20691ee0cb81506
types.ts https://github.com/simstudioai/sim/pull/9187/files#diff-58c3362d8373bf8d39e7150444c97061ee13ac1e422aa885ddea8cbe6c0fbfdc
apps/sim/blocks/blocks/cloudflare.tshttps://github.com/simstudioai/sim/pull/9187/files#diff-834940feaa14b6d2a77d7e1df1d5c44be08851377c613aab5f86c31f1e73a5c1
View file https://github.com/volodymyrshk/sim/blob/d4ab7754a501fac8d30b22529dc9b4e0041904d1/apps/sim/blocks/blocks/cloudflare.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9187/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9187/files#diff-834940feaa14b6d2a77d7e1df1d5c44be08851377c613aab5f86c31f1e73a5c1
https://github.com/simstudioai/sim/pull/9187/files#diff-834940feaa14b6d2a77d7e1df1d5c44be08851377c613aab5f86c31f1e73a5c1
https://github.com/simstudioai/sim/pull/9187/files#diff-834940feaa14b6d2a77d7e1df1d5c44be08851377c613aab5f86c31f1e73a5c1
https://github.com/simstudioai/sim/pull/9187/files#diff-834940feaa14b6d2a77d7e1df1d5c44be08851377c613aab5f86c31f1e73a5c1
apps/sim/tools/cloudflare/cloudflare.test.tshttps://github.com/simstudioai/sim/pull/9187/files#diff-ac4c52a9803ded1e46d4ae6387e5d326fdfcac1ac226d711f9b4ddfedea9af5d
View file https://github.com/volodymyrshk/sim/blob/d4ab7754a501fac8d30b22529dc9b4e0041904d1/apps/sim/tools/cloudflare/cloudflare.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9187/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9187/files#diff-ac4c52a9803ded1e46d4ae6387e5d326fdfcac1ac226d711f9b4ddfedea9af5d
https://github.com/simstudioai/sim/pull/9187/files#diff-ac4c52a9803ded1e46d4ae6387e5d326fdfcac1ac226d711f9b4ddfedea9af5d
Please reload this pagehttps://github.com/simstudioai/sim/pull/9187/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.