Skip to content

feat: Allow running tests with external Rosbridge backend - #1293

Merged
bjsowa merged 2 commits into
developfrom
feat/allow-custom-backend
Nov 5, 2026
Merged

bjsowa merged 2 commits into
developfrom
feat/allow-custom-backend

Conversation

@bjsowa

@bjsowa bjsowa commented Nov 4, 2026

Copy link
Copy Markdown
Member

Public API Changes
None

Description
Makes it easier to test Rosbridge server against roslibjs during development

Copilot AI balanced review requested due to automatic review settings November 4, 2026 22:51

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

No active review issues are blocking the external-backend testing change.

No open issues 🎉

What changed in this PR

This PR lets developers run roslibjs tests against a self-managed Rosbridge backend, making server development and debugging easier without changing the public API.

Changes:

  • Adds ROSLIB_EXTERNAL_BACKEND to skip container management while checking backend readiness.
  • Closes readiness-probe connections after each attempt so they do not keep Vitest running.
  • Documents external-backend usage and matching ROS_DISTRO settings.
File Description
packages/​roslib/​test/​setup/​ros-backend.ts Adds external-backend setup and teardown handling, and closes probe connections.
packages/​roslib/​README.md Documents the new option with a Docker-based example.

Review effort: Balanced

@bjsowa
bjsowa requested a review from EzraBrooks November 4, 2026 22:55
Copilot AI balanced review requested due to automatic review settings November 5, 2026 09:30

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

No active review issues remain for the external-backend test support and readiness-probe connection cleanup.

No open issues 🎉

Review effort: Balanced

@bjsowa
bjsowa merged commit eeb45a3 into develop Nov 5, 2026
15 checks passed
@bjsowa
bjsowa deleted the feat/allow-custom-backend branch November 5, 2026 09:52
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.

3 participants