-
Notifications
You must be signed in to change notification settings - Fork 179
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
Conversation
if self._state.queue_status == QueueStatus.AWAITING_RECOVERY: | ||
self._state.recovery_target_command_id = None | ||
self._state.recovery_target_command_id = None |
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.
@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?
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.
Looks good!
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.