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

RobotWebTools / rclnodejs / 25785111516 / 1
85%
develop: 85%

Build:
DEFAULT BRANCH: develop
Ran 13 May 2026 08:15AM UTC
Files 63
Run time 2s
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

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

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

Source Files on job 25785111516.1
  • Tree
  • List 63
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25785111516
  • 128faf62 on github
  • Prev Job for on develop (#25727559523.1)
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