-
Notifications
You must be signed in to change notification settings - Fork 673
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
feat: add timeouts of request services #6532
feat: add timeouts of request services #6532
Conversation
Signed-off-by: TetsuKawa <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6532 +/- ##
==========================================
+ Coverage 14.77% 14.81% +0.03%
==========================================
Files 1917 1917
Lines 132319 132001 -318
Branches 39298 39236 -62
==========================================
- Hits 19552 19551 -1
+ Misses 90941 90637 -304
+ Partials 21826 21813 -13
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
@TetsuKawa Build is failing. It seems that the function name is different. |
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
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
* feat: add timeouts of request services Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * feat: replace define with enum Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * modify: renam a function Signed-off-by: TetsuKawa <[email protected]> * modify: rename a function Signed-off-by: TetsuKawa <[email protected]> * modify: fix functions name at the caller side Signed-off-by: TetsuKawa <[email protected]> --------- Signed-off-by: TetsuKawa <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <[email protected]> Co-authored-by: Ryuta Kambe <[email protected]> Signed-off-by: Kotaro Yoshimoto <[email protected]>
* feat: add timeouts of request services Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * feat: replace define with enum Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * modify: renam a function Signed-off-by: TetsuKawa <[email protected]> * modify: rename a function Signed-off-by: TetsuKawa <[email protected]> * modify: fix functions name at the caller side Signed-off-by: TetsuKawa <[email protected]> --------- Signed-off-by: TetsuKawa <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <[email protected]> Co-authored-by: Ryuta Kambe <[email protected]> Signed-off-by: kaigohirao <[email protected]>
* feat: add timeouts of request services Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * feat: replace define with enum Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * modify: renam a function Signed-off-by: TetsuKawa <[email protected]> * modify: rename a function Signed-off-by: TetsuKawa <[email protected]> * modify: fix functions name at the caller side Signed-off-by: TetsuKawa <[email protected]> --------- Signed-off-by: TetsuKawa <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <[email protected]> Co-authored-by: Ryuta Kambe <[email protected]>
* feat: add timeouts of request services Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * feat: replace define with enum Signed-off-by: TetsuKawa <[email protected]> * style(pre-commit): autofix * modify: renam a function Signed-off-by: TetsuKawa <[email protected]> * modify: rename a function Signed-off-by: TetsuKawa <[email protected]> * modify: fix functions name at the caller side Signed-off-by: TetsuKawa <[email protected]> --------- Signed-off-by: TetsuKawa <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <[email protected]> Co-authored-by: Ryuta Kambe <[email protected]>
Description
This PR adds timeout processing when requesting service to mrm operator.
Related links
Tests performed
Confirmed that the timeout process works.
Confirmed that the emergency_stop request is called after a mrm request failed (timed out).
Confirmed that the emergency_stop request also failed and mrm state transition to MRM_FAILED.
Notes for reviewers
Please come up with a better default value for timeout.
Interface changes
Effects on system behavior
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.