-
-
Notifications
You must be signed in to change notification settings - Fork 398
[skip-changelog] Avoid getting locked up in a perpetual symlink loop when loading a library #2146
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
[skip-changelog] Avoid getting locked up in a perpetual symlink loop when loading a library #2146
Conversation
dd7c230
to
f872b0f
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2146 +/- ##
==========================================
+ Coverage 62.55% 62.61% +0.06%
==========================================
Files 223 223
Lines 19459 19461 +2
==========================================
+ Hits 12172 12186 +14
+ Misses 6196 6188 -8
+ Partials 1091 1087 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Matteo!
18ea391
to
b4aa009
Compare
b4aa009
to
a34f57d
Compare
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
Code imperfection fix
What is the current behavior?
When loading a library or sketch that contains multiple symlinks to a parent path, Arduino CLI locks up in a perpetual loop.
What is the new behavior?
Arduino CLI fails with an error when a symlink loop is encountered.
Does this PR introduce a breaking change, and is titled accordingly?
No