Skip to content

test(node): Port fetch request suites to span streaming - #25189

Merged
nicohrubec merged 4 commits into
developfrom
feat/fetch-request-tests-span-streaming
Oct 9, 2026
Merged

nicohrubec merged 4 commits into
developfrom
feat/fetch-request-tests-span-streaming

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Run the fetch request suites with the default span-streaming lifecycle.

Part of #24135

Co-Authored-By: GPT-6 <codex@openai.com>

@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.

Reviewed by Cursor Bugbot for commit bec19f5. Configure here.

Co-Authored-By: GPT-6 <codex@openai.com>
expect(headers['sentry-trace']).toEqual(expect.stringMatching(/^([a-f\d]{32})-([a-f\d]{16})-0$/));
expect(headers['sentry-trace']).not.toEqual('00000000000000000000000000000000-0000000000000000-0');
expect(headers['sentry-trace']).toEqual(expect.stringMatching(/^([a-f\d]{32})-([a-f\d]{16})-1$/));
expect(headers['sentry-trace']).not.toEqual('00000000000000000000000000000000-0000000000000000-1');

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this changes because for span streaming parentless fetch spans get sampled

@nicohrubec
nicohrubec marked this pull request as ready for review October 8, 2026 16:15
@nicohrubec
nicohrubec requested a review from a team as a code owner October 8, 2026 16:15
@nicohrubec
nicohrubec requested review from Lms24, andreiborza and isaacs and removed request for a team October 8, 2026 16:16
@nicohrubec
nicohrubec merged commit 861710d into develop Oct 9, 2026
59 checks passed
@nicohrubec
nicohrubec deleted the feat/fetch-request-tests-span-streaming branch October 9, 2026 09:41
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