Skip to content

Update RingBufferImplementation to clear internal data.#2837

Merged
fujitatomoya merged 2 commits intoros2:rollingfrom
InvincibleRMC:clear-ring-buffer-fix
May 4, 2025
Merged

Update RingBufferImplementation to clear internal data.#2837
fujitatomoya merged 2 commits intoros2:rollingfrom
InvincibleRMC:clear-ring-buffer-fix

Conversation

@InvincibleRMC
Copy link
Copy Markdown
Contributor

Closes #2817

Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
…ntation.hpp

Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@InvincibleRMC thanks for taking care of this. lgtm with green CI.

@alsora can you also take a look if you have time?

@fujitatomoya
Copy link
Copy Markdown
Collaborator

Pulls: #2837
Gist: https://gist.githubusercontent.com/fujitatomoya/3cfead188c4f0584dcf55c6a37171681/raw/b853147ba46839d19c537292a049467f331644fb/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15895

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

Copy link
Copy Markdown
Member

@christophebedard christophebedard left a comment

Choose a reason for hiding this comment

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

LGTM. One thing to note is that (I believe) clear() might not ever be used/called.

@InvincibleRMC
Copy link
Copy Markdown
Contributor Author

LGTM. One thing to note is that (I believe) clear() might not ever be used/called.

Yeah that is what I saw as well.

@alsora
Copy link
Copy Markdown
Collaborator

alsora commented May 3, 2025

Started a new build as it looks like Tomoya's one had some infrastructure issues

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

@fujitatomoya
Copy link
Copy Markdown
Collaborator

CI failures are unrelated.

i see https://ci.ros2.org/job/ci_linux/23410/testReport/junit/sros2.test.sros2.commands.security.verbs/test_generate_policy/test_generate_policy/ (zenoh) issue a lot recently from CI. maybe we can create tracking issue and address it.

@fujitatomoya fujitatomoya merged commit e97d569 into ros2:rolling May 4, 2025
2 of 3 checks passed
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.

RingBufferImplementation::clear() does not actually clear buffer contents

5 participants