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

RobotWebTools / rclnodejs
85%

Build:
DEFAULT BRANCH: develop
Repo Added 09 Nov 2017 06:42AM UTC
Files 63
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

LAST BUILD ON BRANCH develop
branch: develop
CHANGE BRANCH
x
Reset
  • develop
  • 12.1.0
  • actionlib
  • actions
  • add-back-misdeleted-docs
  • add-badges
  • add-contributors
  • add-descriptor-namespaces
  • add-documentation-comments
  • add-kilted-actions-support
  • add-message-factory-helpers-with-smart-defaults-and-partial-construction-1343
  • add-missing-from-service
  • add-missing-func
  • add-missing-methods-graph
  • add-missing-timer
  • add-nan-module
  • add-nodejs-24
  • add-numpy
  • add-observable-subscriptions-with-rxjs-support-1347
  • add-online-document
  • add-rolling-info
  • add-tf2-electron-demo
  • add-typescript-definitions-and-non-throwing-variants-for-validator-1344
  • add-typescript-interfaces
  • arm64-only-on-develop
  • bouncy-bolson
  • bug/callback-uaf
  • bump-0.3.1
  • bump-0.4
  • bump-to-0.10.0
  • bump-to-0.7
  • bump-to-v0.10.1
  • change-linting-rule
  • cleanup-ci-config
  • cleanup-message-template
  • cleanup/testjs
  • complete-contributor
  • correct-rclnodejs-path
  • corrent-coveralls-badge
  • crystal-clemmys
  • develop-1
  • disable-interaction-test
  • enable-active-lts-on-develop
  • enable-test-on-windows-workflow
  • enable-tests-on-jazzy
  • enhance-message-validation-1340
  • eslint-es2017
  • feat-add-json-safe-serialization-modes-1307
  • feat-add-parameter-client-for-external-parameter-access-1317
  • feat-add-parameter-watcher-for-real-time-parameter-monitoring-1325
  • feat-add-structured-error-handling-with-error-class-hierarchy-1319
  • feat/web-cli
  • feat/web-default-capability-path
  • feat/web-http-transport
  • feat/web-runtime-l3-ws
  • feat/web-sdk
  • feat/web-tutorial-and-demos
  • feature/promise-based-service-calls-1310
  • fix-1036
  • fix-1063
  • fix-1065
  • fix-1066
  • fix-1068
  • fix-1073
  • fix-1073-1
  • fix-1073-2
  • fix-1074
  • fix-1081
  • fix-1083
  • fix-1085
  • fix-1089
  • fix-1099
  • fix-1102
  • fix-1104
  • fix-1118
  • fix-1122
  • fix-1124
  • fix-1135
  • fix-1137
  • fix-1139
  • fix-1142
  • fix-1143
  • fix-1154
  • fix-1156
  • fix-1161
  • fix-1163
  • fix-1165
  • fix-1167
  • fix-1170
  • fix-1172
  • fix-1174
  • fix-1176
  • fix-1178
  • fix-1184
  • fix-1186
  • fix-1187
  • fix-1190
  • fix-1192
  • fix-1193
  • fix-1196
  • fix-1200
  • fix-1202
  • fix-1204
  • fix-1207
  • fix-1209
  • fix-1211
  • fix-1214
  • fix-1216
  • fix-1219
  • fix-1220
  • fix-1232
  • fix-1234
  • fix-1236
  • fix-1238
  • fix-1240
  • fix-1241
  • fix-1244
  • fix-1246
  • fix-1248
  • fix-1250
  • fix-1250-1
  • fix-1254
  • fix-1255
  • fix-1258
  • fix-1261
  • fix-1263
  • fix-1265
  • fix-1267
  • fix-1269
  • fix-1271
  • fix-1273
  • fix-1275
  • fix-1277
  • fix-1279
  • fix-1281
  • fix-1284
  • fix-1286
  • fix-1289
  • fix-1289-1
  • fix-1290
  • fix-1292
  • fix-1294
  • fix-1296
  • fix-1298
  • fix-1300
  • fix-1301
  • fix-1304
  • fix-1312
  • fix-1321
  • fix-1327
  • fix-1330
  • fix-1330-1
  • fix-1330-10
  • fix-1330-11
  • fix-1330-12
  • fix-1330-13
  • fix-1330-2
  • fix-1330-3
  • fix-1330-4
  • fix-1330-5
  • fix-1330-6
  • fix-1330-7
  • fix-1330-8
  • fix-1330-9
  • fix-1350
  • fix-1359
  • fix-1362
  • fix-1364
  • fix-1366
  • fix-1368
  • fix-1368-1
  • fix-1370
  • fix-1374
  • fix-1378
  • fix-1380
  • fix-1384
  • fix-1386
  • fix-1388
  • fix-1391
  • fix-1397
  • fix-1403
  • fix-1405
  • fix-1407
  • fix-1409
  • fix-1411
  • fix-1413
  • fix-1415
  • fix-1418
  • fix-1419
  • fix-1421
  • fix-1423
  • fix-1425
  • fix-1427
  • fix-1429
  • fix-1431
  • fix-1433
  • fix-1437
  • fix-1439
  • fix-1441
  • fix-1443
  • fix-1446
  • fix-1448
  • fix-1450
  • fix-1452
  • fix-1454
  • fix-1456
  • fix-1458
  • fix-1458-1
  • fix-1458-11
  • fix-1458-12
  • fix-1458-13
  • fix-1458-14
  • fix-1458-15
  • fix-1458-2
  • fix-1458-4
  • fix-1458-5
  • fix-1458-6
  • fix-1458-7
  • fix-1458-8
  • fix-1458-9
  • fix-1465
  • fix-1467
  • fix-1469
  • fix-1471
  • fix-1473
  • fix-1475
  • fix-1482
  • fix-1484
  • fix-1486
  • fix-1489
  • fix-1489-1
  • fix-1494
  • fix-1500
  • fix-1502
  • fix-1504
  • fix-764
  • fix-764-1
  • fix-circle-ci
  • fix-circleci-build-error
  • fix-eslint-errors
  • fix-exmaple-error
  • fix-flakiness
  • fix-issue-179
  • fix-issue-183
  • fix-issue-184
  • fix-issue-185
  • fix-issue-189
  • fix-issue-211
  • fix-issue-218
  • fix-issue-232
  • fix-issue-233
  • fix-issue-243-1
  • fix-issue-244
  • fix-issue-265
  • fix-issue-270
  • fix-issue-278
  • fix-issue-279
  • fix-issue-280
  • fix-issue-281
  • fix-issue-286
  • fix-issue-287
  • fix-issue-291
  • fix-issue-308
  • fix-issue-310
  • fix-issue-314
  • fix-issue-325
  • fix-issue-327
  • fix-issue-329
  • fix-issue-330
  • fix-issue-335
  • fix-issue-338
  • fix-issue-344
  • fix-issue-349
  • fix-issue-351
  • fix-issue-353
  • fix-issue-382
  • fix-issue-386
  • fix-issue-391
  • fix-issue-393
  • fix-issue-397
  • fix-issue-400
  • fix-issue-402
  • fix-issue-413
  • fix-issue-419
  • fix-issue-428
  • fix-issue-441
  • fix-issue-448
  • fix-issue-474
  • fix-issue-486
  • fix-issue-488
  • fix-issue-515
  • fix-issue-518
  • fix-issue-539
  • fix-issue-634
  • fix-issue-635
  • fix-issue-637
  • fix-issue-646-a
  • fix-issue-664
  • fix-issue-667
  • fix-issue-677
  • fix-issue-689
  • fix-issue-766
  • fix-issue-768
  • fix-issue-771
  • fix-issue-797
  • fix-rolling-crash-caused-rosidl-abi-change
  • fix-rolling-failure
  • fix-travis-rolling-ridley
  • fix-windows-action
  • fix-windows-action-failure
  • fix/eloquent-compatibility
  • foxy-fitzroy
  • galactic-geochelone
  • generate-version-jsdoc
  • get-packages-from-ament-index
  • get-rmw-identifier
  • hanyia-patch-1
  • jazzy
  • kilted
  • leverage-rosidl_parser
  • lyrical-apt-install
  • master
  • merge-actionlib
  • move-client-introspection-to-client-binding
  • no-signal-handler
  • nodejs-8.12
  • nodejs-v10.14.0
  • nodejs-v12.20.0
  • patch-1
  • prebuildify
  • pump-0.32.1
  • pump-0.32.2
  • pump-0.32.3
  • pump-0.32.4
  • pump-0.32.5
  • pump-0.33.0
  • pump-1.0.0
  • pump-1.1.0
  • pump-1.2.0
  • pump-1.3.0
  • pump-1.4.0
  • pump-1.4.1
  • pump-1.4.2
  • pump-1.5.0
  • pump-1.5.1
  • pump-1.5.2
  • pump-1.6.0
  • pump-1.7.0
  • re-enable-rolling
  • reenable-cross-language-test
  • reenable-test-arm64
  • rename-scripts-to-cjs-for-esm-migration-1358
  • reorg-actions-badge
  • restructure-benchmark
  • revert-250-fix-issue-222
  • revert-295-topic-string-coverage
  • revert-colon-path
  • support-arm64-arch
  • support-introspection-configuration-kilted
  • sync-handles
  • travis-ci
  • typescript
  • update-appveyor-script
  • update-ci-configuration
  • update-doc-latest
  • update-dockerfile-dashing
  • update-nodejs-v8.11.4
  • update-readme-dashing
  • update-readme-on-v0.10.1
  • update-readme-security
  • update-visual
  • upgrade-commander
  • upgrade-debug
  • upgrade-dev-dependency
  • upgrade-mac-image
  • upgrade-nodejs-8.9.4
  • upgrade-nodejs-v10.15.1
  • upgrade-nodejs-v10.16.1
  • upgrade-to-0.6
  • upgrade-xcode
  • use-colcon-variable
  • use-crystal-package
  • verify-0.9.0-on-crystal-patch2
  • verify-get-rmw-identifier-on-jazzy

13 May 2026 07:33AM UTC coverage: 85.474%. Remained the same
25785111516

push

github

web-flow
Align WS and HTTP transports on a default `/capability` path (#1515)

Both transports now apply the default path when (and only when) the caller didn't supply one. Before this commit WS required the caller to spell `/capability` out (`connect('ws://host:9000')` silently failed against a default server) and HTTP did the opposite (it hardcoded `/capability/<kind>/<name>` so `connect('http://host:9001/capability')` silently double-prefixed and 404'd). Pure addition: existing `connect('ws://host:9000/capability')` and `connect('http://host:9001')` callers see byte-identical request URLs.

- `web/client.js`: new `_normaliseWsPath()` wired into `_resolveUrls()` for both URL forms; `_HttpLink.constructor` only appends `/capability` when the URL doesn't already end with it; `_fetch()` builds URLs from the normalised baseUrl with no hardcoded literal. `RosClient` JSDoc + matching `web/index.d.ts` updated to drop the spell-it-out examples and document the "pass an explicit non-default path" escape hatch for path-rewriting proxies.
- `test/test-web-ws.js`: +2 cases (`ws://host:port` and `{ ws: 'ws://host:port' }` against a live runtime).
- `test/test-web-http.js`: +2 cases (`httpBase + '/capability'` under both single-string and `{ http }` forms).

Out of scope: custom server `basePath` / `path` configurations behind a reverse proxy. Same "user URL is authoritative when non-default" model could extend to support them, but that deserves its own PR with proxy-deployment docs and tests.

Fix: #1510

1828 of 2323 branches covered (78.69%)

Branch coverage included in aggregate %.

3609 of 4038 relevant lines covered (89.38%)

405.72 hits per line

Relevant lines Covered
Build:
Build:
4038 RELEVANT LINES 3609 COVERED LINES
405.72 HITS PER LINE
Source Files on develop
  • Tree
  • List 63
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25785111516 develop Align WS and HTTP transports on a default `/capability` path (#1515) Both transports now apply the default path when (and only when) the caller didn't supply one. Before this commit WS required the caller to spell `/capability` out (`connect('ws:... push 13 May 2026 08:15AM UTC web-flow github
85.47
25727559523 develop [Web Runtime] rclnodejs-web CLI launcher (#1513) Adds the bundled `rclnodejs-web` (and `rcl-web` short alias) CLI so frontend developers can run the Web Runtime without writing a Node.js server. - `bin/rclnodejs-web.js` (new, 138 LOC) — declarat... push 12 May 2026 10:22AM UTC web-flow github
85.47
25724053837 develop HTTP transport for call/publish (#1512) - New `HttpTransport` (lib/runtime/transports/http.js): POST /{basePath}/capability/{call|publish}/{name}, dispatcher-code → HTTP-status mapping, 1 MiB body cap, optional verifyRequest hook. Re-exported fro... push 12 May 2026 09:11AM UTC web-flow github
85.4
25715286133 develop [Web Runtime] Typed Browser SDK over WebSocket (#1511) New `rclnodejs/web` subpath: a pure-JS, ESM Browser SDK that talks to the existing Web Runtime over WebSocket. Zero native deps; safe to bundle for browsers. Verb API: ```js import { connect... push 12 May 2026 05:42AM UTC web-flow github
85.75
25664009519 develop Rclnodejs web capability runtime over WebSocket (#1509) Opt-in **Web Runtime** that lets browser code talk to ROS 2 via an explicit, allow-listed set of capabilities exposed by a host Node.js process. JSON over WebSocket; transport-agnostic dispa... push 11 May 2026 10:29AM UTC web-flow github
85.63
25482305639 develop [Docs] Refine README and npmjs landing page (#1508) Reorder, trim, and align the README and the npmjs landing page so they read cleanly for ROS 2 developers (repo) and web developers shopping on npmjs (package page). ## README.md - Reorder `##`... push 07 May 2026 07:47AM UTC web-flow github
85.86
25472505303 develop Run tests on Lyrical instead of Jazzy (#1506) Lyrical Luth will be the next ROS 2 LTS, so make it the test target on the Windows pixi job. Flip `run_tests: true` from `jazzy` to `lyrical`; Jazzy, Kilted, and Rolling remain build-only. Fix: #1458 push 07 May 2026 03:35AM UTC web-flow github
85.86
25474025940 develop [Docs] Surface ROS 2 Lyrical and the 2.0.0-beta.0 baseline (#1507) Roll Lyrical Luth into the user-facing docs now that 2.0.0-beta.0 ships Lyrical support and Linux x64/arm64 prebuilds for Ubuntu 26.04 (Resolute). Tracks the "After beta, before L... push 07 May 2026 03:31AM UTC web-flow github
85.86
25470300784 develop Pump lint-staged & sinon to latest (#1505) Fix: #1504 push 07 May 2026 01:31AM UTC web-flow github
85.86
25428949655 develop Consolidate all demos under demo/ + add rosocket demo (#1503) - Move `electron_demo/` → `demo/electron/` and `ts_demo/` → `demo/typescript/`, so all runnable demos live under a single `demo/` tree (Electron, TypeScript, and the new rosocket demo)... push 06 May 2026 10:33AM UTC web-flow github
85.86
See All Builds (1945)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc