Skip to content

fix(autofix): Don't send the click event as context on out-of-credits re-runs - #131378

Merged
billyvg merged 1 commit into
masterfrom
fix-flaky/JEST-2Z9T
Nov 16, 2026
Merged

billyvg merged 1 commit into
masterfrom
fix-flaky/JEST-2Z9T

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Fixes JEST-2Z9T, a frontend test that has failed on master since d098593.

This is a semantic merge conflict between two PRs:

Together, clicking one of the new buttons sends the React click event to startStep('root_cause', {userContext: <event>}), so the event would become the run's user context. This PR calls rerun() with no arguments, like the other Re-run buttons, and updates the spec to expect the call shape from #131015.

via automation evt_9a7bfc2a3d5f26294c52e258276d5ddb · Run ID dispatch_07630d309ee3e64fffe2b2a86ce6fe8b.

--

View Session [Sentry]

… re-runs

The out-of-credits Re-run buttons for single runs (#129566) passed
singleRunRerun.rerun straight to onClick. #131015 gave rerun an optional
userContext argument, so the click event became the user context sent to
startStep. Call rerun with no arguments, like the other Re-run buttons,
and assert the new call shape in the test.

Fixes JEST-2Z9T
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-2ee9h0p9c.sentry.dev

@billyvg
billyvg marked this pull request as ready for review November 16, 2026 21:36
@billyvg
billyvg requested a review from a team as a code owner November 16, 2026 21:36
@billyvg
billyvg enabled auto-merge (squash) November 16, 2026 21:36
@billyvg
billyvg merged commit 4fd2146 into master Nov 16, 2026
80 checks passed
@billyvg
billyvg deleted the fix-flaky/JEST-2Z9T branch November 16, 2026 21:39

This branch was successfully deployed

1 active deployment
Preview — c5f33de8 Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant