Skip to content

test(node): Port outgoing HTTP client spans to streaming - #25192

Merged
nicohrubec merged 2 commits into
developfrom
feat/http-client-tests-span-streaming
Oct 9, 2026
Merged

nicohrubec merged 2 commits into
developfrom
feat/http-client-tests-span-streaming

Conversation

@nicohrubec

Copy link
Copy Markdown
Member

Exercise outgoing request hooks, header collection, query handling, and fetch errors through streamed spans. Preserve the existing basic HTTP and fetch transaction suites as static coverage, along with the request and correlation checks in the migrated cases.

Part of #24135

Co-Authored-By: GPT-6 <codex@openai.com>
@nicohrubec
nicohrubec marked this pull request as ready for review October 9, 2026 06:37
@nicohrubec
nicohrubec requested a review from a team as a code owner October 9, 2026 06:37
@nicohrubec
nicohrubec requested review from Lms24, isaacs and mydea and removed request for a team October 9, 2026 06:37
import { cleanupChildProcesses, createEsmAndCjsTests } from '../../../utils/runner';

describe('http.client span with streaming enabled', () => {
describe('http.client span without a local parent', () => {

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.

l: just as an addition, in this test we should assert on span.is_segment: true.

Co-Authored-By: GPT-6 <codex@openai.com>
@nicohrubec
nicohrubec merged commit 4422cef into develop Oct 9, 2026
703 of 707 checks passed
@nicohrubec
nicohrubec deleted the feat/http-client-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