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

Correctly reset tasks status request failure counter #658

Merged
merged 4 commits into from
Dec 2, 2024

Conversation

aeshub
Copy link
Contributor

@aeshub aeshub commented Dec 2, 2024

No description provided.

@aeshub aeshub added the bug Something isn't working label Dec 2, 2024
@aeshub aeshub requested a review from Eddasol December 2, 2024 12:18
@aeshub aeshub self-assigned this Dec 2, 2024
There is no throttling of the state machine while loop in this case
but there should be. In the event where it failed to collect status due
to a RobotCommunicationException it should also sleep before retrying
to ensure throttling.
The old name did not indicate what the return boolean meant. The new
name, combined with new variable name, should make the code more
readable.
Previously, the failure counter would not be reset between tasks when
running a mission wise mission. Instead, if it reached the counter once
all subsequent tasks would fail with an ever increasing counter.
@aeshub aeshub force-pushed the address-task-status-bug branch from fdb9a05 to 1d4a883 Compare December 2, 2024 12:20
Copy link
Contributor

@mrica-equinor mrica-equinor left a comment

Choose a reason for hiding this comment

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

LGTM :)

@aeshub aeshub merged commit 6bd48b1 into equinor:main Dec 2, 2024
6 checks passed
@aeshub aeshub deleted the address-task-status-bug branch December 2, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants