Skip to content

Ignore shutdown-time errors in the camera follower and joint demo - #46

Merged
yassinsolim merged 1 commit into
mainfrom
fix/shutdown-flakes
Oct 17, 2026
Merged

yassinsolim merged 1 commit into
mainfrom
fix/shutdown-flakes

Conversation

@yassinsolim

@yassinsolim yassinsolim commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Two bringup launch tests fail now and then in CI because a script crashes while it is shutting down, after the test itself has passed:

Both now ignore these errors, but only after the context has shut down. Any other error, or the same one while ROS is still running, still fails. The existing shutdown tests now cover the joint demo too, and a new test covers the TF time error.

Full suite, rerun on Oct 16: 1033 tests, 0 failures. Merged with #44 and #45: 1113 tests, 0 failures.

Copilot AI balanced review requested due to automatic review settings October 11, 2026 09:25
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d05b1823-a7c9-4ebb-b0a1-024824420406

📥 Commits

Reviewing files that changed from the base of the PR and between b80d6c2 and 127910a.


📒 Files selected for processing (3)
  • waybionic_bringup/scripts/camera_follower.py
  • waybionic_bringup/scripts/joint_demo.py
  • waybionic_teleop/test/test_sim_arm_drives_node.py

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The exception handling is narrowly gated by context state and error identity, with appropriate regression coverage.

0 open findings

What changed in this PR

Adds guarded handling for known ROS 2 shutdown-time exceptions without suppressing errors during normal operation.

Changes:

  • Extends joint demo shutdown handling.
  • Ignores the known TF time error after context shutdown.
  • Expands shutdown regression tests across both scripts.
File Description
waybionic_bringup/​scripts/​camera_follower.py Handles shutdown-related TF time errors.
waybionic_bringup/​scripts/​joint_demo.py Adds guarded ROS and TF shutdown exception handling.
waybionic_teleop/​test/​test_sim_arm_drives_node.py Tests joint demo shutdown behavior and TF errors.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@yassinsolim
yassinsolim merged commit 8177ba7 into main Oct 17, 2026
8 checks passed
@yassinsolim
yassinsolim deleted the fix/shutdown-flakes branch November 14, 2026 12:07
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.

2 participants