Skip to content

Conversation

@mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Dec 3, 2025

Context

from_install method was failing as the gRPC arguments were inadvertently added to it.

Change Summary

Remove the gRPC arguments in from_install.

Rationale

We may support the gRPC arguments in standalone launcher for development/testing purpose. For now, I've removed the unnecessary arguments.

Impact

from_install method will be fixed. I'll patch last couple of release versions also.

Copilot AI review requested due to automatic review settings December 3, 2025 20:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the from_install method by removing inadvertently added gRPC-related parameters (certificates_folder and insecure_mode) that were causing the method to fail. The changes restore the method to its intended standalone launcher functionality without gRPC configuration options.

Key Changes:

  • Removed certificates_folder and insecure_mode parameters from the from_install method signature
  • Removed associated parameter documentation for the gRPC arguments
  • Renamed test function for clarity and added a new dry-run test

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/ansys/fluent/core/session_utilities.py Removed gRPC parameters and their documentation from from_install method
tests/test_session.py Renamed existing test for clarity and added new dry-run test coverage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added the bug Issue, problem or error in PyFluent label Dec 3, 2025
Copilot AI review requested due to automatic review settings December 4, 2025 14:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mkundu1 mkundu1 merged commit 32a022a into main Dec 8, 2025
69 of 87 checks passed
@mkundu1 mkundu1 deleted the fix/from_install branch December 8, 2025 12:55
@mhoeijm
Copy link
Collaborator

mhoeijm commented Dec 8, 2025

@mkundu1 thanks. Will this fix be included in a future patch release? Especially since the bug is also present in earlier patch releases, e.g. 0.35.1.

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

Labels

bug Issue, problem or error in PyFluent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StandaloneLauncher.__init__() gets an unexpected argument certificates_folder when triggered through from_install

6 participants