-
Notifications
You must be signed in to change notification settings - Fork 681
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
[Docs] Update flytectl_update_workflow-execution-config.rst #5865
[Docs] Update flytectl_update_workflow-execution-config.rst #5865
Conversation
Added the usage of raw_output_data_config in flytectl update workflow-execution-config page of docs, Signed-off-by: Pranshu <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5865 +/- ##
=======================================
Coverage 37.06% 37.06%
=======================================
Files 1318 1318
Lines 132644 132644
=======================================
+ Hits 49160 49161 +1
+ Misses 79235 79233 -2
- Partials 4249 4250 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Code Review Agent Run #46cb36Actionable Suggestions - 0Review Details
|
Changelist by BitoThis pull request implements the following key changes.
|
Signed-off-by: Eduardo Apolinario <[email protected]>
Congrats on merging your first pull request! 🎉 |
Code Review Agent Run #a4f945Actionable Suggestions - 10
Additional Suggestions - 10
Review Details
|
|
||
|
||
default-env-vars-from-env (map[string]string) | ||
agent.Deployment | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
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 default value for enable-host-networking-pod
appears to be an invalid reflect value. Consider providing a proper boolean default value like false
for clarity.
Code suggestion
Check the AI-generated fix before applying
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
false |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
|
||
.. code-block:: yaml | ||
|
||
"" |
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.
Consider providing a meaningful default value for cloudwatch-region
instead of an empty string, as AWS services require a valid region to function properly.
Code suggestion
Check the AI-generated fix before applying
"" | |
"us-east-1" |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | ||
}} |
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 Kubernetes template URI appears to be malformed. The template string is incomplete and has an unexpected closing brace. Consider reviewing the template format.
Code suggestion
Check the AI-generated fix before applying
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | |
}} | |
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | ||
}} |
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 Kubernetes template URI appears to be malformed. The template variable interpolation is incomplete with a dangling {{.namespace
at the end and an extra closing brace on the next line.
Code suggestion
Check the AI-generated fix before applying
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | |
}} | |
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
kubernetes-template-uri: http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName | ||
}}/pod?namespace={{ .namespace }} |
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 kubernetes-template-uri
value appears to be split across two lines which could cause parsing issues. Consider combining the URL into a single line.
Code suggestion
Check the AI-generated fix before applying
kubernetes-template-uri: http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName | |
}}/pod?namespace={{ .namespace }} | |
kubernetes-template-uri: http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
|
||
|
||
gpu-partition-size-node-label (string) | ||
enabled (bool) |
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 configuration parameter name has been changed from gpu-partition-size-node-label
to enabled
. This change appears to significantly alter the functionality from GPU configuration to a generic enable/disable flag. Consider if this is the intended change.
Code suggestion
Check the AI-generated fix before applying
enabled (bool) | |
gpu-partition-size-node-label (string) |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | ||
}} |
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 Kubernetes template URI appears to be malformed. The template string has an unexpected closing brace }}
on a new line which could cause parsing issues.
Code suggestion
Check the AI-generated fix before applying
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | |
}} | |
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
|
||
.. code-block:: yaml | ||
|
||
"" |
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.
Consider providing a meaningful default value for cloudwatch-region
instead of an empty string. An empty string might cause issues when Cloudwatch logging is enabled.
Code suggestion
Check the AI-generated fix before applying
"" | |
"us-east-1" |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
|
||
.. code-block:: yaml | ||
|
||
"" |
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 default value for cloudwatch-log-group
is being changed from 1m40s
to an empty string. This could potentially affect CloudWatch logging functionality if the value is required. Consider providing a meaningful default value if CloudWatch logging is intended to be used.
Code suggestion
Check the AI-generated fix before applying
"" | |
"flyte-logs" |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | ||
}} |
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 kubernetes template URI appears to be malformed. The template string has an unmatched closing brace at the end and the namespace parameter is repeated. Consider reviewing the template format.
Code suggestion
Check the AI-generated fix before applying
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod?namespace={{ .namespace | |
}} | |
http://localhost:30082/#!/log/{{ .namespace }}/{{ .podName }}/pod |
Code Review Run #a4f945
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
Added the usage of raw_output_data_config in flytectl update workflow-execution-config page of docs,
Tracking issue
Closes #4615
Why are the changes needed?
To show the usage of flytectl to update raw output data config.
What changes were proposed in this pull request?
Updated the examples to showcase the same.
Check all the applicable boxes
Docs link
The 2 example Code blocks in the synopsis part were changed
Summary by Bito
Comprehensive documentation updates covering multiple system components, including flytectl update workflow-execution-config command with raw_output_data_config feature, Kubernetes configuration, logging providers (CloudWatch, Kubernetes, Stackdriver), and resource management. Updates include WebAPI plugin configuration, GPU resource management, pod templates, authentication settings, and output_location_prefix configuration details. These changes enhance overall clarity and provide detailed guidance for system configuration.Unit tests added: False
Estimated effort to review (1-5, lower is better): 5