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

do not throw exception if trying to dequeue an empty intra-process buffer #2061

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

alsora
Copy link
Collaborator

@alsora alsora commented Dec 9, 2022

do not throw exception if trying to dequeue an empty intra-process buffer

this PR enforces the same behavior that we already follow for non-ipc messages: there, the take_and_do_error_handling function handles gracefully trying to get data when it's not available.

Signed-off-by: Alberto Soragna alberto.soragna@gmail.com

…ffer

Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
@ivanpauno
Copy link
Member

LGTM with green CI (please test --packages-above rclcpp)

@alsora
Copy link
Collaborator Author

alsora commented Dec 14, 2022

CI

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@alsora
Copy link
Collaborator Author

alsora commented Dec 19, 2022

Retry CI as the failure seems unrelated

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@ivanpauno
Copy link
Member

Retry CI as the failure seems unrelated

Yes, that one seems unrelated, you can ignore it.

@alsora
Copy link
Collaborator Author

alsora commented Dec 21, 2022

Merging this as we have green CI.

@alsora alsora merged commit 3fb012e into rolling Dec 21, 2022
@delete-merged-branch delete-merged-branch bot deleted the asoragna/relax-ipc-buffer branch December 21, 2022 10:11
@fujitatomoya
Copy link
Collaborator

@alsora do we want to backport this to humble?

@alsora
Copy link
Collaborator Author

alsora commented Dec 22, 2022

This inconsistency has always been there (i.e. both in Humble and Galactic).

The backport to humble should be conflicts-free, so yes we could do it.

@fujitatomoya
Copy link
Collaborator

@Mergifyio backport humble

@mergify
Copy link

mergify bot commented Dec 22, 2022

backport humble

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Dec 22, 2022
…ffer (#2061)

Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>

Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
(cherry picked from commit 3fb012e)
fujitatomoya pushed a commit that referenced this pull request Dec 22, 2022
…ffer (#2061) (#2070)

Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>

Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
(cherry picked from commit 3fb012e)

Co-authored-by: Alberto Soragna <alberto.soragna@gmail.com>
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.

None yet

3 participants