Skip to content

Improved compile speed by running multi-threaded library discovery. #2625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

fix: libraries are recompiled if the list of include paths changes

7241f25
Select commit
Loading
Failed to load commit list.
Open

Improved compile speed by running multi-threaded library discovery. #2625

fix: libraries are recompiled if the list of include paths changes
7241f25
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 14, 2025 in 0s

68.22% (target 30.00%)

View this Pull Request on Codecov

68.22% (target 30.00%)

Details

Codecov Report

Attention: Patch coverage is 85.04673% with 48 lines in your changes missing coverage. Please review.

Project coverage is 68.22%. Comparing base (ae68728) to head (7241f25).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...rnal/arduino/builder/internal/detector/detector.go 87.95% 5 Missing and 5 partials ⚠️
internal/arduino/builder/sizer.go 12.50% 6 Missing and 1 partial ⚠️
internal/arduino/builder/builder.go 81.81% 4 Missing and 2 partials ⚠️
...lder/internal/preprocessor/arduino_preprocessor.go 0.00% 6 Missing ⚠️
internal/arduino/builder/internal/runner/task.go 86.04% 4 Missing and 2 partials ⚠️
internal/arduino/builder/compilation.go 86.84% 3 Missing and 2 partials ⚠️
commands/service_compile.go 72.72% 2 Missing and 1 partial ⚠️
internal/arduino/builder/internal/runner/runner.go 96.55% 2 Missing ⚠️
commands/service_monitor.go 0.00% 1 Missing ⚠️
internal/arduino/builder/core.go 0.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2625      +/-   ##
==========================================
+ Coverage   68.01%   68.22%   +0.21%     
==========================================
  Files         239      241       +2     
  Lines       22589    22696     +107     
==========================================
+ Hits        15363    15484     +121     
+ Misses       6023     6012      -11     
+ Partials     1203     1200       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.