Skip to content

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jun 13, 2022

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?
The compiler will now detect changes in the filesystem when not using profiles. This fixes a regression described in #1755

What is the current behavior?
The daemon caches all the libraries installed in the sketchbook. This provides a quicker compile but it prevents detection of changes in the sketchbook happening outside the daemon process.

What is the new behavior?
Libraries are re-scanned at each compile.

Does this PR introduce a breaking change, and is titled accordingly?
No

Other Information:
Fix #1755
Integration-testing requires the implementation of a testing harness to test gRPC and launch the daemon, this will be done in the future.

@cmaglie cmaglie requested a review from a team June 13, 2022 10:51
@cmaglie cmaglie self-assigned this Jun 13, 2022
@cmaglie cmaglie added priority: high Resolution is a high priority topic: CLI Related to the command line interface criticality: highest Of highest impact type: imperfection Perceived defect in any part of project labels Jun 13, 2022
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes #1755 for me.

Thanks Cristian!

@cmaglie cmaglie merged commit 427af56 into arduino:master Jun 13, 2022
@cmaglie cmaglie deleted the update_uninstalled_libs branch June 13, 2022 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criticality: highest Of highest impact priority: high Resolution is a high priority topic: CLI Related to the command line interface type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

delete auto downloaded SD library in users <sb>/libraries directory, does not then use board specific one
2 participants