You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce CI runtime using ccache and path filters - #635
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.90%. Comparing base (f53cd97) to head (c2dee1a).
✅ All tests successful. No failed tests found.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Alpine cache saves fail without GNU tar, and workflow path filters omit CI inputs and installed scripts, allowing relevant changes to bypass validation.
Please include scripts/** here as well. This workflow runs colcon build, whose install phase installs scripts referenced by CMakeLists.txt (start_ursim.sh, tool_communication.py, and wait_robot_booted.py). A PR that only removes or renames one of those scripts now skips the RHEL build, hiding the resulting installation failure until after merging.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The workflow path filters omit dependency and coverage configuration files and installed scripts, allowing affected pull requests to skip the CI and RHEL jobs that could catch tooling or installation failures.
Path filter skips Gemfile and coverage tooling changes
.github/workflows/ci.yml:17
The new filter excludes Gemfile, Gemfile.lock, and .simplecov, but this workflow also runs test_start_ursim, which installs the bundled gems and uses bashcov to generate coverage (lines 477–482). A PR that only updates those dependencies or the coverage formatter now skips the job that exercises them, allowing broken test tooling to reach the push build. Include these three files in the path filter.
Path filter skips changes to installed scripts
.github/workflows/rhel_build.yml:16
This filter omits scripts/**, although CMakeLists.txt:196–205 installs programs from that directory and the RHEL job uses colcon build, including installation. A PR that only deletes or renames an installed script now skips all RHEL builds instead of exposing the missing-file installation failure. Include scripts/** so changes to these package inputs still exercise the RHEL build.
The ccache takes builds without changed source files from > 5 minutes down to < 15 seconds. Thus, we're getting to running our integration tests a lot faster.
Medium Risk
CI trigger and cancellation behavior changes could skip builds or abort runs reviewers still expect; no application runtime code is affected.
Overview
This PR speeds up CI by skipping heavyweight build workflows on pull requests unless relevant paths change (CMake, src/, tests/, etc.), so doc-only or unrelated edits no longer trigger Alpine, Ubuntu integration, macOS, Windows, RHEL, and industrial builds.
Compile caching is added on Alpine and the main Ubuntu jobs (ubuntu_build, unit_coverage): install ccache, restore/save cache via actions/cache, wire CMake compiler launchers, and print ccache -s after builds. The integration ubuntu_build step no longer installs python3-pandas / python3-lxml at image setup (those remain available where integration tests install them).
Concurrency is standardized across workflows so new pushes or PR commits cancel stale in-flight runs, while scheduled and workflow_dispatch runs are grouped separately so nightly/manual jobs are not auto-cancelled. update_rtde_fields now cancels superseded PR runs; sphinx_build moves concurrency from the job to the workflow level with the same push/PR cancel behavior.
Reviewed by Cursor Bugbot for commit c2dee1a. Bugbot is set up for automated code reviews on this repo. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Attempt to reduce CI runtimes by