Skip to content
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(protocol-engine): Minor CommandStore/CommandView refactors #15501

Merged
merged 6 commits into from
Jun 25, 2024

Conversation

SyntaxColoring
Copy link
Contributor

@SyntaxColoring SyntaxColoring commented Jun 24, 2024

Overview

This was originally going to fix EXEC-581, but it turns out that that behavior is intentional. So now this just adds a test for the intended behavior and makes a couple of other very minor refactors.

Test plan

None needed.

Review requests

See comments below.

Risk assessment

Low.

@SyntaxColoring SyntaxColoring requested a review from a team as a code owner June 24, 2024 22:19
if self._state.queue_status == QueueStatus.AWAITING_RECOVERY:
self._state.recovery_target_command_id = None
self._state.recovery_target_command_id = None
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TamarZanzouri Do you remember if there was any particular reason this was conditional on if self._state.queue_status == QueueStatus.AWAITING_RECOVERY? I think it's safe to remove the if statement for simplicity, but am I missing anything?

#15066

@SyntaxColoring SyntaxColoring marked this pull request as draft June 24, 2024 22:23
@SyntaxColoring SyntaxColoring changed the title fix(protocol-engine): Count run as "failed" if it's stopped during error recovery refactor(protocol-engine): Minor CommandStore/CommandView refactors Jun 25, 2024
@SyntaxColoring SyntaxColoring marked this pull request as ready for review June 25, 2024 15:08
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@SyntaxColoring SyntaxColoring merged commit 7ce3ae5 into fix_door_blocking Jun 25, 2024
21 checks passed
@SyntaxColoring SyntaxColoring deleted the to_stop_is_to_fail branch June 25, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants