[skill-drift] update(sentry-cloudflare-sdk): document D1 batch/exec/withSession and Durable Object SQL storage - #224
Merged
cleptric merged 2 commits intoJul 1, 2026
Conversation
…ithSession and Durable Object SQL storage Automated drift-fix run. Co-Authored-By: Claude (claude-sonnet-4-5) <noreply@anthropic.com>
github-actions
Bot
requested review from
JPeer264,
andreiborza and
mydea
and removed request for
a team
June 29, 2026 14:10
JPeer264
approved these changes
Jul 1, 2026
…/exec/withSession and Durable Object SQL storage
JPeer264
force-pushed
the
skill-drift/sentry-cloudflare-sdk-skill-drift-update-sentry-cloudflare-sdk-1782742199
branch
from
July 1, 2026 09:02
b845e0c to
8357721
Compare
cleptric
deleted the
skill-drift/sentry-cloudflare-sdk-skill-drift-update-sentry-cloudflare-sdk-1782742199
branch
July 1, 2026 23:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
Auto-generated from external SDK content. Review all links and code suggestions before acting on them.
Summary
The skill incorrectly documented that
db.batch()anddb.exec()are not instrumented, but these methods were added in v10.61.0 (#21292). Additionally, Durable Object SQL storage instrumentation was added (#21656).Changes
D1 Instrumentation (v10.61.0+)
Added to instrumented methods table:
db.batch(statements[])- executes multiple prepared statements atomicallydb.exec(query)- executes raw SQL directlydb.withSession(callback)- returns instrumented session with tracedprepare()andbatch()methodsUpdated:
withSession()instrumentationDurable Object SQL Storage (v10.61.0+)
Added new section:
ctx.storage.sql.exec()for Durable Objectsdb.system.name,db.operation.name,db.query.text,db.query.summary,cloudflare.durable_object.query.bindingsReviewed PRs
Files Modified
skills/sentry-cloudflare-sdk/SKILL.mdskills/sentry-cloudflare-sdk/references/durable-objects.mdskills/sentry-cloudflare-sdk/references/tracing.mdSource PRs