getsentry / getsentry/sentry-javascript

[Flaky CI]: E2E nextjs-16-cf-workers Test - tests/streaming-rsc-error.test.ts › Should capture errors for crashing streaming promises in server components when `Sentry.captureRequestError` is added to the `onRequestError` hook

Open
#23,934 1 comment 0 reactions 0 assignees View on GitHub
Cloudflare Workers Flaky Test Next.js Tests
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Flakiness Type

Other / Unknown

### Name of Job

E2E nextjs-16-cf-workers Test

### Name of Test

[chromium] › tests/streaming-rsc-error.test.ts:4:5 › Should capture errors for crashing streaming promises in server components when `Sentry.captureRequestError` is added to the `onRequestError` hook

### Link to Test Run

https://github.com/getsentry/sentry-javascript/actions/runs/33626904429/job/100237921295

---

_This issue was automatically created._

Contributor guide

Open the contributing guide

Research direction

Start by running the named E2E nextjs-16-cf-workers job and reading tests/streaming-rsc-error.test.ts, especially the test at line 4. Use the linked workflow run to identify why the test is intermittent, then verify the test passes reliably without losing coverage for crashing streaming promises and Sentry.captureRequestError in the onRequestError hook.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.