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

RobotWebTools / rclnodejs / 13759582391
81%

Build:
DEFAULT BRANCH: develop
Ran 10 Mar 2025 08:03AM UTC
Jobs 3
Files 36
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

10 Mar 2025 07:58AM UTC coverage: 85.04% (-0.3%) from 85.32%
13759582391

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%)

1006.31 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
5
71.88
-12.5% lib/client.js
Jobs
ID Job ID Ran Files Coverage
1 run-20.X - 13759582391.1 10 Mar 2025 08:03AM UTC 36
85.04
GitHub Action Run
2 run-23.X - 13759582391.2 10 Mar 2025 08:04AM UTC 36
85.04
GitHub Action Run
3 run-22.X - 13759582391.3 10 Mar 2025 08:03AM UTC 36
85.04
GitHub Action Run
Source Files on build 13759582391
  • 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 Repo
  • Github Actions Build #13759582391
  • 22dc7456 on github
  • Prev Build on develop (#13738849965)
  • Next Build on develop (#13759851354)
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

© 2025 Coveralls, Inc