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

RobotWebTools / rclnodejs / 24229260424
86%

Build:
DEFAULT BRANCH: develop
Ran 10 Apr 2026 06:30AM UTC
Jobs 1
Files 55
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 Apr 2026 06:12AM UTC coverage: 85.867% (+0.02%) from 85.844%
24229260424

push

github

web-flow
Treat unrecognized ROS_DISTRO as a future distro (#1485)

Previously, `getDistroId()` returned `UNKNOWN (0)` for any `ROS_DISTRO` value not in the known map. This caused forward-looking feature guards (e.g., `>= ROLLING`) to fail for future distros like "lyrical", even though they would include the same ABI changes as Rolling.

Now, if `ROS_DISTRO` is set but not recognized, `getDistroId()` returns `FUTURE (9999)` instead, so feature guards pass correctly. If `ROS_DISTRO` is unset, it still returns `UNKNOWN (0)`.

### Changes

- **lib/distro.js**
  - Added `FUTURE: 9999` to `DistroId` enum
  - Updated `getDistroId()` to return `FUTURE` when `ROS_DISTRO` is set but not in the known map, `UNKNOWN` when unset

- **test/test-distro.js**
  - Updated "unknown distro" test to expect `FUTURE` for unrecognized `ROS_DISTRO` values
  - Added assertion for truly unset `ROS_DISTRO` returning `UNKNOWN`

Fix: #1484

1566 of 1985 branches covered (78.89%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

3179 of 3541 relevant lines covered (89.78%)

448.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24229260424.1 10 Apr 2026 06:30AM UTC 55
85.87
GitHub Action Run
Source Files on build 24229260424
  • Tree
  • List 55
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24229260424
  • e90e098a on github
  • Prev Build on develop (#24175810628)
  • Next Build on develop (#24328049899)
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