Skip to content

REFACTOR: remove unused method to retrieve reference primitive from terminal#1910

Draft
svandenb-dev wants to merge 2 commits intomainfrom
remove-grpc-unused-and-non-functionaö-method

Hidden character warning

The head ref may contain hidden characters: "remove-grpc-unused-and-non-functiona\u00f6-method"
Draft

REFACTOR: remove unused method to retrieve reference primitive from terminal#1910
svandenb-dev wants to merge 2 commits intomainfrom
remove-grpc-unused-and-non-functionaö-method

Conversation

@svandenb-dev
Copy link
Collaborator

This PR is removing unused method to retrieve reference primitive from terminal and tries instead using pyedb-core api to get it when available. The removed code was not working. Instead raising an error message telling what to use, as it is not a deprecation but rather another approach. In any case the previous one could not work.

@svandenb-dev svandenb-dev self-assigned this Mar 12, 2026
@github-actions github-actions bot added the testing Anything related to testing label Mar 12, 2026
@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2026

Codecov Report

❌ Patch coverage is 57.14286% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.47%. Comparing base (5cbae21) to head (5065479).
⚠️ Report is 21 commits behind head on main.

❌ Your patch status has failed because the patch coverage (57.14%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1910      +/-   ##
==========================================
+ Coverage   70.20%   70.47%   +0.26%     
==========================================
  Files         261      260       -1     
  Lines       42416    42630     +214     
==========================================
+ Hits        29779    30044     +265     
+ Misses      12637    12586      -51     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@ecoussoux-ansys ecoussoux-ansys left a comment

Choose a reason for hiding this comment

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

I am not able to assess the logic implemented here to replace the old, dysfunctional method, sorry.

Just two comments :

  • Is that same method working fine in dotnet? That one is currently not covered by tests. (Sorry if it's not a good practice to mention dotnet in a grpc PR.. I’m not sure whether you usually deal with the two separately, or whether an update to a method present in both is seen as a good opportunity to review the counterpart)
  • The new logic is currently not completely covered by tests, maybe this could be improved?
Image

@svandenb-dev
Copy link
Collaborator Author

OK I will work on improving this. Actually I am not sure it is working in DotNet.

@ecoussoux-ansys ecoussoux-ansys linked an issue Mar 13, 2026 that may be closed by this pull request
2 tasks
@svandenb-dev svandenb-dev marked this pull request as draft March 16, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Anything related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check get_edge_terminal_reference_primitive for grpc

5 participants