Repository navigation
FIX: Join load thread before opening project - #6513
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6513 +/- ##
==========================================
+ Coverage 81.90% 81.92% +0.01%
==========================================
Files 236 236
Lines 75731 75734 +3
==========================================
+ Hits 62030 62045 +15
+ Misses 13701 13689 -12 🚀 New features to boost your workflow:
|
isaacwaldron
force-pushed
the
join-load-thread-before-open
branch
from
August 12, 2025 13:23
331adb2 to
092e751
Compare
Ensure that `load_aedt_thread` has completed before opening the project in `Design.__init__` to accommodate AEDT's expectation of exclusive access to the AEDT project file.
isaacwaldron
force-pushed
the
join-load-thread-before-open
branch
from
August 13, 2025 03:40
a09f954 to
32d2898
Compare
Devin-Crawford
pushed a commit
that referenced
this pull request
Aug 19, 2025
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> (cherry picked from commit 00ac247)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ensure that
load_aedt_threadhas completed before opening the project inDesign.__init__to accommodate AEDT's expectation of exclusive access to the AEDT project file.Description
During
Design.__init__, join the thread launched to load properties from the AEDT project file before loading the project by settingDesign.oproject.Based on downstream observations, testing this would require creating a highly-loaded system and even then the bug can be reproduced relatively rarely (but reasonably common on a large test suite handling tens or hundreds of AEDT projects). Therefore I have omitted specific tests. Please see #6512 for a way to reproduce the problem reliably.
Issue linked
Fixes #6512
Checklist