Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added gRPC functions to manage libraries in profiles #3019

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

Draft
cmaglie wants to merge 4 commits into arduino:master
base: master
Choose a base branch
Loading
from cmaglie:grpc-profiles-functions

Conversation

Copy link
Member

@cmaglie cmaglie commented Oct 3, 2025

Please check if the PR fulfills these requirements

See how to contribute

  • 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)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

This is an extract of #2917 containing only the gRPC part of the PR.

What is the current behavior?

Adds only the gRPC functions for managing libraries in profiles, no user-facing changes.

What is the new behavior?

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

No

Other information

@cmaglie cmaglie self-assigned this Oct 3, 2025
@cmaglie cmaglie added type: enhancement Proposed improvement topic: gRPC Related to the gRPC interface labels Oct 3, 2025
@per1234 per1234 added the topic: code Related to content of the project itself label Oct 4, 2025
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 11.49733% with 331 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.44%. Comparing base (20e315c) to head (47d7788).

Files with missing lines Patch % Lines
commands/service_profile_lib_add.go 0.00% 95 Missing ⚠️
internal/arduino/sketch/profiles.go 0.00% 66 Missing and 2 partials ⚠️
commands/service_profile_init.go 0.00% 59 Missing ⚠️
commands/service_profile_lib_remove.go 0.00% 33 Missing ⚠️
commands/service_profile_lib_list.go 0.00% 20 Missing ⚠️
commands/service_profile_set_default.go 0.00% 19 Missing ⚠️
commands/service_profile_dump.go 0.00% 16 Missing ⚠️
commands/cmderrors/cmderrors.go 0.00% 10 Missing and 1 partial ⚠️
commands/service_library_install.go 50.00% 5 Missing and 2 partials ⚠️
commands/service_library_resolve_deps.go 90.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@ Coverage Diff @@
## master #3019 +/- ##
==========================================
- Coverage 68.36% 67.44% -0.93% 
==========================================
 Files 241 247 +6 
 Lines 22731 23062 +331 
==========================================
+ Hits 15541 15554 +13 
- Misses 5992 6308 +316 
- Partials 1198 1200 +2 
Flag Coverage Δ
unit 67.44% <11.49%> (-0.93%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

cmaglie added 3 commits October 6, 2025 14:17
As stated by @per1234:
> Build profile data is already provided via the LoadSketch method, so it
> seems that even a mechanism that is truly for getting profile data should
> be implemented by simply expanding the SketchProfile message to contain
> all the data of the build profile (actually kind of silly that it
> currently only provides a subset of the profile data).
arduino#3019 (comment) 
@per1234 per1234 dismissed their stale review October 6, 2025 13:17

Requested change has been made. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@per1234 per1234 per1234 left review comments

At least 1 approving review is required to merge this pull request.

Labels
topic: code Related to content of the project itself topic: gRPC Related to the gRPC interface type: enhancement Proposed improvement
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /