-
Notifications
You must be signed in to change notification settings - Fork 537
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
Fix: Resolve race condition in MoveGroupSequenceAction #3125
Conversation
Replaced `ReentrantCallbackGroup` with `MutuallyExclusiveCallbackGroup` in `MoveGroupSequenceAction::initialize` to prevent race conditions during stress testing. This change ensures sequential execution of callbacks, avoiding issues caused by concurrent execution. Reference: moveit#3117
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.
Thank you! Will see if all the tests pass and merge/backport to Humble if it looks good.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3125 +/- ##
==========================================
- Coverage 50.74% 45.44% -5.30%
==========================================
Files 392 482 +90
Lines 32553 40431 +7878
==========================================
+ Hits 16517 18370 +1853
- Misses 16036 22061 +6025 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
I don't know what started causing these |
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.
Thanks! Appreciate the comment as well 🙂
(cherry picked from commit 6d94dfb) # Conflicts: # moveit_planners/pilz_industrial_motion_planner/src/move_group_sequence_action.cpp
Humble backport is in #3127, and CI seems to be passing there. |
Description
Replaced
ReentrantCallbackGroup
withMutuallyExclusiveCallbackGroup
inMoveGroupSequenceAction::initialize
to prevent race conditions during stress testing.This change ensures sequential execution of callbacks, avoiding issues caused by concurrent execution.
Reference: #3117
Checklist