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

RobotWebTools / rclnodejs / 37716040304
91%

Build:
DEFAULT BRANCH: develop
Ran 08 Oct 2026 02:12AM 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

08 Oct 2026 02:04AM UTC coverage: 91.154% (+0.02%) from 91.136%
37716040304

push

github

web-flow
Fix/raw subscription message info (#1618)

**Public API Changes**
Raw (isRaw: true) subscription callbacks that declare a second parameter now receive the documented MessageInfo argument, which was previously always undefined. This corrects runtime behavior to match the existing API and TypeScript declarations. Single-parameter callbacks are unchanged.

**Description**
Raw (isRaw: true) subscription callbacks that declare two parameters now receive MessageInfo, including timestamps, sequence numbers, and publisherGid. This lets bridges and recorders distinguish publishers sharing a topic without deserializing messages.

The change adds a native raw-take path that returns serialized bytes and metadata together, sharing metadata conversion with the existing deserialized path. One-parameter raw callbacks retain their existing behavior.
Tests cover metadata delivery, single-parameter callback compatibility, and distinguishing publishers by GID, with unconditional publishing-interval cleanup during teardown.

The new rclTakeRawWithInfo function duplicates the allocation, take, and cleanup logic in rclTakeRaw. These paths could share a helper in a follow-up. This fix leaves rclTakeRaw unchanged to keep the scope small and reduce regression risk for existing raw subscriptions. Metadata conversion is already shared with rclTakeWithInfo so both paths expose the same fields.

Fixes #1617

2308 of 2703 branches covered (85.39%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 2 files covered. (100.0%)

18075 of 19658 relevant lines covered (91.95%)

225.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37716040304.1 08 Oct 2026 02:12AM UTC 67
91.15
GitHub Action Run
Source Files on build 37716040304
  • Tree
  • List 67
  • Changed 4
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37716040304
  • ba1619d0 on github
  • Prev Build on develop (#35591687490)
  • Next Build on develop (#37736359409)
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