Skip to content

Conversation

@prmukherj
Copy link
Collaborator

Context

'certificates_folder' and 'insecure_mode' was missing in 'StandaloneLauncher'

Change Summary

'certificates_folder' and 'insecure_mode' were added as launcher args.

Impact

'certificates_folder' and 'insecure_mode' will be exposed.

Copilot AI review requested due to automatic review settings November 26, 2025 07:10
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 missing TLS-related arguments in the StandaloneLauncher class by adding certificates_folder and insecure_mode parameters to enable proper certificate configuration for Fluent's gRPC server.

  • Added certificates_folder parameter to specify TLS certificate location
  • Added insecure_mode parameter to enable non-TLS gRPC connections

💡 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 Nov 26, 2025
@prmukherj prmukherj marked this pull request as draft November 26, 2025 09:09
@mkundu1
Copy link
Contributor

mkundu1 commented Nov 26, 2025

Although these modes are not required for standalone launch, it is OK to add them as they are supported. Some user may look for a common script for different launch modes.

@prmukherj prmukherj marked this pull request as ready for review December 11, 2025 05:06
Copilot AI review requested due to automatic review settings December 11, 2025 05:06
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 2 out of 2 changed files in this pull request and generated 1 comment.


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

@seanpearsonuk
Copy link
Collaborator

Although these modes are not required for standalone launch, it is OK to add them as they are supported. Some user may look for a common script for different launch modes.

Based on your comment, I would phrase it as necessary to add them.

@prmukherj prmukherj enabled auto-merge (squash) December 11, 2025 11:59
import ansys.fluent.core as pyfluent

self.certificates_folder = certificates_folder
self.insecure_mode = insecure_mode
Copy link
Contributor

@mkundu1 mkundu1 Dec 11, 2025

Choose a reason for hiding this comment

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

How are these arguments passed to Fluent or used in the client during the channel construction?

@mkundu1
Copy link
Contributor

mkundu1 commented Dec 11, 2025

Please update the from_install method also.

@prmukherj prmukherj marked this pull request as draft December 11, 2025 13:36
auto-merge was automatically disabled December 11, 2025 13:36

Pull request was converted to draft

@prmukherj
Copy link
Collaborator Author

Converted this to draft for further testing the Standalone mode.

cc. @seanpearsonuk, @mkundu1.

@seanpearsonuk seanpearsonuk self-requested a review December 11, 2025 13:45
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.

4 participants