Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

cloudflare-integration-tests: add shared streamed-span helpers to the runner

Open
#24,146 1 comment 0 reactions 1 assignee View on GitHub

@JPeer264 is already working on this.

Since Sep 7, 2026.

Assessment

This issue has not been assessed yet.

Description

javascript Task

Blocks the other two sub-issues.

This package has no shared span assertion helpers. suites/public-api/startSpan-streamed/test.ts and suites/tracing/ignoreSpans-streamed/test.ts each define their own local getSpanContainer(envelope), which will not scale to 80 ported files.

What to do

Add helpers next to runner.ts and expect.ts, mirroring what the other packages already have:

  • node uses .expect({ span }) in utils/runner/createRunner.ts, which gives a SerializedStreamedSpanContainer
  • browser uses waitForStreamedSpan / waitForStreamedSpans / waitForStreamedSpanEnvelope in utils/spanUtils.ts

At minimum this package needs: pull the span container out of an envelope, find a span by op or name, and collect spans across several envelopes, since streamed child spans do not all arrive in one envelope.

Port the two existing -streamed suites onto the new helpers in the same PR so the shape is proven before the bulk work starts.

Dominant language
TypeScript
Stars
8.7k
Forks
1.9k
Avg merge
1d 18h
Merged PRs (30d)
543

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-javascript

All issues in getsentry/sentry-javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.