-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(app): Support "resume from recovery assuming false positive" action #16601
refactor(app): Support "resume from recovery assuming false positive" action #16601
Conversation
…tiveMutation hook
…rt to error recvery
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Will merge after #16556 merges |
How does this handle the case where:
We want the client to |
All of the retry flows currently utilize If it's helpful, we can test your specific flow to confirm this is true in practice before merging! EDIT: Ran the above sequence of steps, can confirm we are issuing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and all is well!
Closes EXEC-791
Overview
See #16556 and the linked ticket for details concerning the reasoning for implementing these changes.
When skipping a step in Error Recovery, the FE essentially calls two commands:
handleIgnoringErrorKind
, which deals with updating the recovery policy, andskipFailedCommand
, which does the skipping. By usingisAssumeFalsePositiveResumeKind
, we can conditionally determine which policyifMatch
criteria to use, and we can determine which error recovery resume kind to dispatch to the server.Test Plan and Hands on Testing
Review requests
errorKind
as utilized inisAssumeFalsePositiveResumeKind
. See the linked ticket, which leads me to think this line of thinking is true. This assumption gets us through 8.2, but is it reasonably sufficient going forward? I think it is, but curious if anyone else has thoughts.Risk assessment
mediumish. This effectively impacts every route in some way, but it should only directly change the behavior of tip handling error flows.