Skip to content

Fix: Check on exec_basis - #591

Merged
margalva merged 6 commits into
mainfrom
mg/envehome_execbasis
Aug 4, 2026
Merged

Fix: Check on exec_basis#591
margalva merged 6 commits into
mainfrom
mg/envehome_execbasis

Conversation

@margalva

@margalva margalva commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Addresses https://ado.internal.synopsys.com/tfs/ANSYS_development/Portfolio/_backlogs/backlog/Nexus/Epics%20(Sagas)/?workitem=1424524

If exec_basis is available, it should be used instead of enve_home. This is particularly important when you are using cpython from CEI since enve_home in that case will return the path inside CEI instead of ADR - and that won't work once CEI removes the django directory.

Looks like this check is implemented in a number of places, but this one was missing.

Adding also some docstring to a class.

@margalva
margalva requested a review from viseshrp as a code owner August 3, 2026 17:13
@margalva
margalva requested a review from mfkrogh August 3, 2026 17:14
@codecov-commenter

codecov-commenter commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.57%. Comparing base (e53d58d) to head (40ade9e).

Files with missing lines Patch % Lines
...ynamicreporting/core/utils/report_remote_server.py 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #591      +/-   ##
==========================================
- Coverage   82.59%   82.57%   -0.02%     
==========================================
  Files          31       31              
  Lines        9021     9023       +2     
  Branches     1623     1624       +1     
==========================================
  Hits         7451     7451              
- Misses       1084     1085       +1     
- Partials      486      487       +1     

☔ View full report in Codecov by Harness.
📢 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.

@margalva
margalva marked this pull request as draft August 3, 2026 17:48
@margalva
margalva requested a review from vsama98 August 3, 2026 18:01
@margalva
margalva marked this pull request as ready for review August 3, 2026 18:13
@margalva
margalva enabled auto-merge (squash) August 3, 2026 18:13
@margalva
margalva merged commit de4f135 into main Aug 4, 2026
21 checks passed
@margalva
margalva deleted the mg/envehome_execbasis branch August 4, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants