Skip to content

Conversation

@MichaelOrlov
Copy link
Contributor

Description

Bugfix: for the situation when Player can't play with --read-ahead-queue-size or rosbag2_transport::PlayOptions::read_ahead_queue_size equal 1.

Is this user-facing behavior change?

Yes. User will be able to use playback with --read-ahead-queue-size 1 CLI option.

Did you use Generative AI?

Yes. I am using GitHub Copilot, GPT-4.1 in my workflow.

Additional Information

The fix can be backported

@MichaelOrlov MichaelOrlov self-assigned this Sep 14, 2025
Signed-off-by: Michael Orlov <morlovmr@gmail.com>
@MichaelOrlov MichaelOrlov force-pushed the morlov/bugfix-for-palyback-with-queue-size-1 branch from 29d50bf to 1c206db Compare September 14, 2025 20:57
@MichaelOrlov MichaelOrlov marked this pull request as ready for review September 14, 2025 20:57
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Co-Authored by: Christophe Bedard <bedard.christophe@gmail.com>

Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Michael Orlov <morlovmr@gmail.com>
@MichaelOrlov
Copy link
Contributor Author

Pulls: #2174
Gist: https://gist.githubusercontent.com/MichaelOrlov/19166961315f0bbe8b108623fb6d66b8/raw/617a37b11c768d05962a95f70badd125b59774d0/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_transport rosbag2_tests
TEST args: --packages-above rosbag2_transport rosbag2_tests
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/17025

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

@MichaelOrlov
Copy link
Contributor Author

CI failed due to the massive CI infrastructure outage with errors like

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/noble-security/universe/binary-arm64/Packages.gz  File has unexpected size (1110837 != 1110832). Mirror sync in progress? [IP: 91.189.91.104 80]
16:11:08    Hashes of expected file:
16:11:08     - Filesize:1110832 [weak]
16:11:08     - SHA256:5b61d1eb2248baeaca320473c80afb8df1c095dcebf56a8fde807161310ca5a5
16:11:08     - SHA1:26f9e3570aef58d2369665d69340058955dbcfa4 [weak]
16:11:08     - MD5Sum:eb3de2c6410ab8862c6d2bfc9cccccc3 [weak]
16:11:08    Release file created at: Thu, 18 Sep 2025 19:28:46 +0000
16:11:08 E: Some index files failed to download. They have been ignored, or old ones used instead.

Two CI jobs auto-restarted and passed green

  • Linux Build Status
  • Linux-rhel Build Status

@MichaelOrlov
Copy link
Contributor Author

re-run

  • Linux-aarch64 Build Status

@MichaelOrlov
Copy link
Contributor Author

The CI has not been doing very well in the last few days. The failed Ci job auto-restarted and passed green

  • Linux-aarch64 Build Status
    Therefore, all the CI pipelines are green now.
    Merging then.

@MichaelOrlov MichaelOrlov merged commit 951d175 into rolling Sep 19, 2025
12 checks passed
@MichaelOrlov MichaelOrlov deleted the morlov/bugfix-for-palyback-with-queue-size-1 branch September 19, 2025 19:33
@MichaelOrlov
Copy link
Contributor Author

https://github.com/Mergifyio backport kilted jazzy

@mergify
Copy link

mergify bot commented Sep 19, 2025

backport kilted jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Sep 19, 2025
* Bugfix: Player can't play with read_ahead_queue_size equal 1

Signed-off-by: Michael Orlov <morlovmr@gmail.com>

* Add missing deserialize_test_message() from #2172

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>

* Address review comments

Co-Authored by: Christophe Bedard <bedard.christophe@gmail.com>

Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Michael Orlov <morlovmr@gmail.com>

---------

Signed-off-by: Michael Orlov <morlovmr@gmail.com>
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
(cherry picked from commit 951d175)
mergify bot pushed a commit that referenced this pull request Sep 19, 2025
* Bugfix: Player can't play with read_ahead_queue_size equal 1

Signed-off-by: Michael Orlov <morlovmr@gmail.com>

* Add missing deserialize_test_message() from #2172

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>

* Address review comments

Co-Authored by: Christophe Bedard <bedard.christophe@gmail.com>

Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Michael Orlov <morlovmr@gmail.com>

---------

Signed-off-by: Michael Orlov <morlovmr@gmail.com>
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
(cherry picked from commit 951d175)

# Conflicts:
#	rosbag2_transport/test/rosbag2_transport/rosbag2_transport_test_fixture.hpp
MichaelOrlov added a commit that referenced this pull request Sep 23, 2025
…2179)

* Bugfix: Player can't play with read_ahead_queue_size equal 1



* Add missing deserialize_test_message() from #2172



* Address review comments

Co-Authored by: Christophe Bedard <bedard.christophe@gmail.com>




---------




(cherry picked from commit 951d175)

Signed-off-by: Michael Orlov <morlovmr@gmail.com>
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Co-authored-by: Michael Orlov <morlovmr@gmail.com>
Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
MichaelOrlov added a commit that referenced this pull request Sep 23, 2025
…(backport #2174) (#2180)

* Bugfix: Player can't play with read_ahead_queue_size equal 1 (#2174)

* Bugfix: Player can't play with read_ahead_queue_size equal 1

Signed-off-by: Michael Orlov <morlovmr@gmail.com>

* Add missing deserialize_test_message() from #2172

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>

* Address review comments

Co-Authored by: Christophe Bedard <bedard.christophe@gmail.com>

Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Michael Orlov <morlovmr@gmail.com>

---------

Signed-off-by: Michael Orlov <morlovmr@gmail.com>
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
(cherry picked from commit 951d175)

# Conflicts:
#	rosbag2_transport/test/rosbag2_transport/rosbag2_transport_test_fixture.hpp

* Address merge conflicts

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>

* Adjust test for absence of the "play_options_.message_order"

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>

---------

Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Co-authored-by: Michael Orlov <morlovmr@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.

No messages are read with --read-ahead-queue-size 1

3 participants