Repository navigation
Update ros industrial ci job - #631
Conversation
The ubuntu-latest runner at the moment contains a 32bit incompatible docker version. That fails the CB3 test.
The main purpose of this workflow is to ensure that we are not breaking the API towards the ROS driver. For this, we don't necessarily have to build all branches. The rolling version is failing a lot due to reasons outside of our hands. Main build will be failing as soon as we require new versions of dependencies in the driver that aren't synched to the main repo. As they are built from the same Git revision, there's no added benefit from those builds in terms of API compatibility, but they are more likely to fail due to something that isn't really an issue. The testing builds should get up-to-dates w.r.t. dependency updates.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #631 +/- ##
==========================================
+ Coverage 83.40% 83.76% +0.35%
==========================================
Files 127 127
Lines 8559 8560 +1
Branches 3913 3913
==========================================
+ Hits 7139 7170 +31
+ Misses 998 977 -21
+ Partials 422 413 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
There was a problem hiding this comment.
🟡 Changes recommended
The new clang-tidy job fails because it reuses GCC compilation commands containing -Werror and the Clang-unsupported -Wno-maybe-uninitialized flag.
1 open issue
What changed in this PR
This PR focuses ROS driver compatibility checks on testing repositories and moves clang-tidy into a dedicated job, with naming cleanups that preserve the public API.
Changes:
- Pin industrial CI to Ubuntu 24.04 and remove Rolling and main-repository builds.
- Export compilation commands and add a separate clang-tidy job with report uploads.
- Align internal and test identifiers with naming checks while preserving existing behavior.
| File | Description |
|---|---|
tests/test_script_reader.cpp |
Rename the include-chain length constant. |
tests/test_rtde_data_package.cpp |
Rename the log handler’s public warnings member. |
tests/test_rtde_allocations.cpp |
Align allocation counters and diagnostic member names. |
tests/test_primary_parser.cpp |
Rename local message-offset constants. |
tests/test_package_serializer.cpp |
Align local test constant names. |
tests/test_bin_parser.cpp |
Rename the expected-double constant. |
src/rtde/rtde_writer.cpp |
Rename private register-key constants and their uses. |
src/rtde/data_package.cpp |
Replace the type-trait variable template with a constexpr helper. |
include/ur_client_library/rtde/rtde_writer.h |
Update private register-key declarations. |
include/ur_client_library/log.h |
Add a naming-check suppression for the existing public function. |
examples/rtde_roundtrip.cpp |
Rename the global signal flag. |
.github/workflows/industrial-ci.yml |
Pin the runner and reduce the compatibility matrix. |
.github/workflows/ci.yml |
Export compilation commands and add clang-tidy reporting. |
Review effort: Balanced
8c3d82c to
9f1e847
Compare
All clang-tidy errors are outside of the public API, so no issues with addressing them.
9f1e847 to
693e1d1
Compare
PR SummaryLow Risk Overview ROS Industrial CI is narrowed: runners move to Code changes are mostly naming cleanups for Reviewed by Cursor Bugbot for commit 693e1d1. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
This pull request is merged. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 693e1d1. Configure here.
| industrial_ci: | ||
| name: ${{matrix.ROS_DISTRO.NAME}}, ${{matrix.ROS_REPO}} | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 |
There was a problem hiding this comment.
PR title has acronym and scope issues
Low Severity
The PR title Update ros industrial ci job lowercases the ROS and CI acronyms and only mentions the industrial CI change, so it reads as a spelling issue and understates the clang-tidy work. A clearer title would be Update ROS industrial CI and add clang-tidy.
Triggered by team rule: PR title
Reviewed by Cursor Bugbot for commit 693e1d1. Configure here.



Run ICI on ubuntu 24.04
Remove Rolling and all main jobs
The main purpose of this workflow is to ensure that we are not breaking
the API towards the ROS driver. For this, we don't necessarily have to
build all branches.
The rolling version is failing a lot due to reasons outside of our
hands.
Main build will be failing as soon as we require new versions of
dependencies in the driver that aren't synched to the main repo. As they
are built from the same Git revision, there's no added benefit from
those builds in terms of API compatibility, but they are more likely to
fail due to something that isn't really an issue. The testing builds
should get up-to-dates w.r.t. dependency updates.
Create separate clang-tidy jobs and fix errors
All clang-tidy errors are outside of the public API, so no issues with
addressing them.