Skip to content

fix(cloudflare): Export session APIs - #25330

Closed
nicohrubec wants to merge 1 commit into
developfrom
feat/cloudflare-session-exports
Closed

nicohrubec wants to merge 1 commit into
developfrom
feat/cloudflare-session-exports

Conversation

@nicohrubec

Copy link
Copy Markdown
Member

Export startSession, captureSession, and endSession from @sentry/cloudflare, matching the other server SDKs. The existing core implementations also become available through @sentry/hono/cloudflare.

Refs SDK-1531.

Co-Authored-By: Codex <codex@openai.com>
@linear-code

linear-code Bot commented Oct 13, 2026

Copy link
Copy Markdown

SDK-1531

@nicohrubec
nicohrubec marked this pull request as ready for review October 13, 2026 13:38
@nicohrubec
nicohrubec requested a review from a team as a code owner October 13, 2026 13:38
@nicohrubec
nicohrubec requested review from JPeer264, isaacs and mydea and removed request for a team October 13, 2026 13:38

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d14df9a. Configure here.

captureFeedback,
startSession,
captureSession,
endSession,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing test for session exports

Low Severity

This fix PR exports startSession, captureSession, and endSession but adds no test that would fail without those exports. The review rules require a unit, integration, or E2E test covering the regression. This was flagged because it was mentioned in the review rules.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit d14df9a. Configure here.

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally fine but did anyone ask for this? If not, maybe we can hold off a bit from merging this. I'm currently talking to a few people if we should continue sending session health data from backend SDKs, or if we should rather sunset this feature since tracking sessions in the backend is a bit "weird".

@nicohrubec

Copy link
Copy Markdown
Member Author

@Lms24 ah wasn't aware. noone asked for this I was just working on the docs and noticed that cloudflare is the only API that doesn't export this so wanted to consolidate. I'll close for now!

@nicohrubec nicohrubec closed this Oct 13, 2026
@Lms24

Lms24 commented Oct 13, 2026

Copy link
Copy Markdown
Member

ah wasn't aware

yeah this only came up yesterday/today, so you couldn't have known. Good and bad timing in a way 😅

Copy link
Copy Markdown
Member Author

yeah 😅 thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants