-
Notifications
You must be signed in to change notification settings - Fork 58
fix: Arguments in standalone launcher. #4656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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_folderparameter to specify TLS certificate location - Added
insecure_modeparameter 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, | ||
| ): |
Copilot
AI
Nov 26, 2025
There was a problem hiding this comment.
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.
| ): | |
| ): | |
| self.certificates_folder = certificates_folder | |
| self.insecure_mode = insecure_mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
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. |
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.