Skip to content

CHORE: adding grpc message#2232

Open
svandenb-dev wants to merge 2 commits into
mainfrom
grpc-message
Open

CHORE: adding grpc message#2232
svandenb-dev wants to merge 2 commits into
mainfrom
grpc-message

Conversation

@svandenb-dev
Copy link
Copy Markdown
Collaborator

This PR is adding grpc message and adjusting CI timeout due to tests increase.

@svandenb-dev svandenb-dev self-assigned this Jun 3, 2026
@github-actions github-actions Bot added maintenance Package and maintenance related grpc-transition Changes that need to be included in gRPC transition ci/cd labels Jun 3, 2026
@svandenb-dev svandenb-dev enabled auto-merge (squash) June 3, 2026 12:30
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

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

Don't you think it would be a good idea to wait a bit more to switch for gRPC ? Wouldn't notify users about the incoming release be a better way and then proceed with the change a bit later ?

import warnings

from pyedb.generic.grpc_warnings import GRPC_BETA_WARNING, GRPC_NOT_SUPPORTED_WARNING
from pyedb.generic.grpc_warnings import GRPC_NOT_SUPPORTED_WARNING
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think there is no need to keep the warning in the grpc_warnings module either, right ?

Comment on lines +32 to +36
GRPC_DEFAULT_MESSAGE = (
"gRPC is now the default mode starting with Ansys release 26.1.2 (June 10th). "
"gRPC introduces Fast Mode, which significantly increases speed. "
"Make sure you are using the latest PyEDB and AEDT versions."
)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this message should be reworked, it tastes strange (very subjective here).

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.67%. Comparing base (5cbae21) to head (e0d2e79).
⚠️ Report is 194 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2232      +/-   ##
==========================================
+ Coverage   70.20%   75.67%   +5.46%     
==========================================
  Files         261      266       +5     
  Lines       42416    45497    +3081     
==========================================
+ Hits        29779    34430    +4651     
+ Misses      12637    11067    -1570     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

ci/cd grpc-transition Changes that need to be included in gRPC transition maintenance Package and maintenance related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants