• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RobotWebTools / rclnodejs / 34552620758
91%

Build:
DEFAULT BRANCH: develop
Ran 11 Sep 2026 02:05AM UTC
Jobs 1
Files 67
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Sep 2026 01:55AM UTC coverage: 90.924% (+0.09%) from 90.83%
34552620758

push

github

web-flow
[Web runtime] Add WebSocket action support (2/3) (#1593)

This PR adds ROS 2 **action** support to the `rclnodejs/web` WebSocket SDK and its type surface, enabling browser/runtime clients to send goals, receive feedback, await results, and request cancellation via the runtime’s action capability dispatch.

**Changes:**
- Support typed goal submission through `RosClient.action()`, deliver feedback through `onFeedback`, and return an action handle after goal acceptance with a result promise and per-goal cancellation.
- Expose read-only terminal status so callers can distinguish `succeeded`, `canceled`, `aborted`, and `unknown` outcomes without changing result payloads. Status remains undefined until a terminal response arrives.
- Support cancellation requests through `cancel()`, resolving to `undefined` when accepted and propagating rejection errors to match the `Promise<void>` contract.
- Accept null and undefined action options, reject invalid feedback callbacks before networking, and isolate exceptions thrown by valid callbacks so result delivery continues.
- Reject actions during and after client closure, including clients whose lazy WebSocket has not opened. Clear pending action state on connection loss and avoid resubmitting goals after reconnection.
- Map native numeric typed arrays to JSON number arrays and BigInt typed arrays to encoded string arrays in the public wire types.
- Add runtime and TypeScript regression coverage for goal submission, feedback, cancellation, terminal status, connection lifecycle, invalid options, and typed goal validation.

Fix: #1579

2264 of 2659 branches covered (85.14%)

Branch coverage included in aggregate %.

17832 of 19443 relevant lines covered (91.71%)

224.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34552620758.1 11 Sep 2026 02:05AM UTC 67
90.92
GitHub Action Run
Source Files on build 34552620758
  • Tree
  • List 67
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34552620758
  • 8201754b on github
  • Prev Build on develop (#34455545203)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc