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.

file_transfer_service: Any | None = None,
certificates_folder: str | None = None,
insecure_mode: bool = False,
):
Copy link

Copilot AI Nov 26, 2025

Choose a reason for hiding this comment

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

The newly added parameters certificates_folder and insecure_mode are not being used in the method body. They need to be stored or passed to the underlying implementation to have any effect.

Suggested change
):
):
self.certificates_folder = certificates_folder
self.insecure_mode = insecure_mode

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

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

@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.

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.

5 participants