Skip to content

Add ROS executor queue watchdog#22

Open
jon-mcmillan wants to merge 2 commits into
mainfrom
jon/executor-blocked
Open

Add ROS executor queue watchdog#22
jon-mcmillan wants to merge 2 commits into
mainfrom
jon/executor-blocked

Conversation

@jon-mcmillan
Copy link
Copy Markdown
Collaborator

@jon-mcmillan jon-mcmillan commented Jun 1, 2026

Summary

There is a high likelihood that in some cases the ROS executor queue stops making progress. This adds a watchdog that probes queue progress and forces a restart when the queue stays blocked past the recovery timeout.

Changes

  • Add a ROS executor watchdog that submits periodic no-op probes through the executor queue.
  • Reuse the existing health.watchdog config for both LiveKit recovery and ROS executor progress.
  • Update package version to 0.1.2.

Notes

The watchdog runs outside the ROS executor, so it can still detect when executor-backed work stops moving:

every 5 seconds:
  probe = ros_executor_queue.submit(no_op)

  while probe is not finished:
    if probe has been pending longer than recovery_timeout:
      exit process so the container can restart the bridge

    if probe has been pending longer than 2 seconds:
      log executor unhealthy

    sleep 100 ms

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