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

RobotWebTools / rclnodejs / 13759582391 / 3
81%
develop: 81%

Build:
DEFAULT BRANCH: develop
Ran 10 Mar 2025 08:04AM UTC
Files 36
Run time 7s
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

10 Mar 2025 07:58AM UTC coverage: 85.04% (-0.2%) from 85.285%
13759582391.3

push

github

minggangw
Catch the error when loading library failed (#1071)

Currently, `interfaces.d.ts`, a declaration file for ROS2 messages, will be generated when running `npm install`, which needs to require the `.js` files of messages and the `ref-napi` C++ addon gets loaded.

There could be a corner case that the `ref-napi` C++ addon is cross-compiled for arm arch, so loading `binding.node` dynamically failed on x86 platform, see details #1066.

This patch catches the error when loading the library failed, and if it happens, we will use a prebuild `interfaces.d.ts` instead. Meanwhiles, this patch moves out generating `interfaces.d.ts` file out of `generate-messages` command because it already executed.

Fix: #1066

705 of 920 branches covered (76.63%)

Branch coverage included in aggregate %.

1728 of 1941 relevant lines covered (89.03%)

335.72 hits per line

Source Files on job run-22.X - 13759582391.3
  • Tree
  • List 36
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 13759582391
  • 22dc7456 on github
  • Prev Job for on develop (#13738849965.1)
  • Next Job for on develop (#13759851354.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