Repository navigation
fix(autofix): Don't send the click event as context on out-of-credits re-runs - #131378
Merged
Merged
Conversation
… 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
Contributor
Story previewsPreview the stories changed in this PR on the Vercel deployment:
Preview deployment: https://sentry-2ee9h0p9c.sentry.dev |
billyvg
marked this pull request as ready for review
November 16, 2026 21:36
billyvg
approved these changes
Nov 16, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes JEST-2Z9T, a frontend test that has failed on master since d098593.
This is a semantic merge conflict between two PRs:
useRerunSingleRun().rerunan optionaluserContextargument and changed the existing Re-run buttons toonClick={() => singleRunRerun.rerun()}.onClick={singleRunRerun.rerun}directly. It merged after feat(autofix): Ask for context in chat before restarting a finished run #131015.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 callsrerun()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 IDdispatch_07630d309ee3e64fffe2b2a86ce6fe8b.--
View Session [Sentry]