Skip to content
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

[BREAKING] Removed debugging_supported field from BoardDetails gRPC call #2438

Merged
merged 2 commits into from
Nov 24, 2023

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Nov 24, 2023

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?

The debugging_supported field has been removed from gRPC cc.arduino.cli.commands.v1.BoardDetailsResponse and board details command in CLI.

Since the possibility to debug is determined by:

  • the board selected
  • the board option selected
  • the programmer selected

the board details has no sufficient information to determine it.
If you need to determine if a specific selection of board + option + programmer supports debugging, use the gRPC call
cc.arduino.cli.commands.v1.GetDebugConfig: if the call is successful, it means that the debugging is supported.

What is the current behavior?

What is the new behavior?

The Debuggin Supported field is no more available.

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

Yes.

Other information

@cmaglie cmaglie added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Nov 24, 2023
@cmaglie cmaglie added this to the Arduino CLI v0.35.0 milestone Nov 24, 2023
@cmaglie cmaglie self-assigned this Nov 24, 2023
Copy link

codecov bot commented Nov 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a4e7eb4) 67.31% compared to head (1f4e25b) 67.40%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2438      +/-   ##
==========================================
+ Coverage   67.31%   67.40%   +0.08%     
==========================================
  Files         210      210              
  Lines       20574    20567       -7     
==========================================
+ Hits        13850    13863      +13     
+ Misses       5585     5571      -14     
+ Partials     1139     1133       -6     
Flag Coverage Δ
unit 67.40% <100.00%> (+0.08%) ⬆️

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.

@cmaglie cmaglie merged commit 89f8f04 into arduino:master Nov 24, 2023
104 checks passed
@cmaglie cmaglie deleted the remove_debug_info_from_board_details branch November 24, 2023 16:13
cmaglie added a commit to cmaglie/arduino-cli that referenced this pull request Dec 20, 2023
…PC call (arduino#2438)

* Removed debugging_supported field from BoardDetailsResponse

* fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants