Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
9bf6306
feat: add monitoring thread to _multi_connect for early timeout exit
germa89 Nov 18, 2025
0cfeba8
fix: update monitoring thread condition and test mocks
germa89 Nov 20, 2025
cb6e31f
ci: auto fixes from pre-commit.com hooks.
pre-commit-ci[bot] Nov 20, 2025
b6da042
chore: adding changelog file 4310.added.md [dependabot-skip]
pyansys-ci-bot Nov 20, 2025
741fc1c
ci: auto fixes from pre-commit.com hooks.
pre-commit-ci[bot] Nov 20, 2025
846400e
Merge branch 'main' into feat/early-exiting-timeout
germa89 Nov 26, 2025
3b6c0ad
Merge branch 'main' into feat/early-exiting-timeout
germa89 Nov 27, 2025
47d6bad
Merge branch 'main' into feat/early-exiting-timeout
germa89 Nov 27, 2025
b167789
feat(cli): refactor list_instances for improved process validation an…
germa89 Nov 28, 2025
56532e9
feat(cli): update MAPDL instance launch output to include process object
germa89 Nov 28, 2025
0d8ac32
feat(cli): refactor list_instances for improved process validation an…
germa89 Nov 28, 2025
296c2e8
feat(cli): refactor list_instances to utilize core functionality for …
germa89 Nov 28, 2025
5f0d7c7
fix(cli): optimize process iteration by adding info attribute for bet…
germa89 Nov 28, 2025
e51dea8
chore: adding changelog file 4329.miscellaneous.md [dependabot-skip]
pyansys-ci-bot Nov 28, 2025
fc48ea3
Merge branch 'main' into refactor/list_instances
germa89 Nov 28, 2025
7a20e16
fix(cli): handle AccessDenied exception in get_ansys_process_from_por…
germa89 Nov 28, 2025
c3bd773
test(cli): add comprehensive tests for get_ansys_process_from_port fu…
germa89 Nov 28, 2025
0e55860
Merge branch 'refactor/list_instances' of https://github.com/ansys/py…
germa89 Nov 28, 2025
190b76a
Merge branch 'main' into refactor/list_instances
germa89 Nov 28, 2025
14a2240
chore: merge branch 'refactor/list_instances' into feat/early-exiting…
germa89 Nov 28, 2025
01dd770
fix(tests): remove unused profile-svg option from pytest configuration
germa89 Nov 28, 2025
b72f419
refactor: move get_ansys_process_from_port function to core module
germa89 Nov 28, 2025
c1e724e
feat(tests): add early exit handling for MAPDL process connection
germa89 Nov 28, 2025
5a4ab6d
Merge branch 'refactor/list_instances' into feat/early-exiting-timeout
germa89 Nov 28, 2025
1fa0196
refactor: remove unused error check in MAPDL process monitoring
germa89 Nov 28, 2025
6913a26
refactor(tests): update early exit handling in multi-connect test for…
germa89 Nov 28, 2025
7a426fe
feat: enhance MAPDL process monitoring with robust liveness checks an…
germa89 Nov 28, 2025
27244cc
chore: Merge remote-tracking branch 'origin/main' into feat/early-exi…
germa89 Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/4310.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add monitoring thread to _multi_connect for early timeout exit
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ addopts = [
"--log-file=pytest.log",
"--maxfail=10",
"--profile",
"--profile-svg",
"--random-order",
"--random-order-bucket=class",
"--report-log-exclude-logs-on-passed-tests",
Expand Down Expand Up @@ -284,6 +283,7 @@ exclude = [
"^tests/",
]
explicit_package_bases = true
files = ["src", "tests"]
namespace_packages = true


Expand Down
3 changes: 2 additions & 1 deletion src/ansys/mapdl/core/cli/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ def start(
)

if len(out) == 3:
header = f"Launched an MAPDL instance (PID={out[2]}) at "
pid = out[2].pid
header = f"Launched an MAPDL instance (PID={pid}) at "
else:
header = "Launched an MAPDL instance at "

Expand Down
5 changes: 1 addition & 4 deletions src/ansys/mapdl/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,10 +1819,7 @@ def launch_mapdl(
raise handle_launch_exceptions(exception)

if args["just_launch"]:
out: list[Any] = [args["ip"], args["port"]]
if hasattr(process, "pid"):
out += [process.pid]
return out
return (args["ip"], args["port"], process)

########################################
# Connect to MAPDL using gRPC
Expand Down
Loading
Loading