-
Notifications
You must be signed in to change notification settings - Fork 310
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
Improve podtemplate override logic #3117
Improve podtemplate override logic #3117
Conversation
Signed-off-by: Nelson Chen <[email protected]>
Signed-off-by: Nelson Chen <[email protected]>
Code Review Agent Run #833d42Actionable Suggestions - 1
Review Details
|
Signed-off-by: Nelson Chen <[email protected]>
Changelist by BitoThis pull request implements the following key changes.
|
Code Review Agent Run #85621cActionable Suggestions - 0Review Details
|
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.
can you add a few unit tests?
Signed-off-by: Nelson Chen <[email protected]>
Signed-off-by: Nelson Chen <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3117 +/- ##
==========================================
- Coverage 79.64% 79.62% -0.03%
==========================================
Files 203 203
Lines 21621 21625 +4
Branches 2788 2789 +1
==========================================
- Hits 17221 17219 -2
- Misses 3625 3630 +5
- Partials 775 776 +1 ☔ View full report in Codecov by Sentry. |
@eapolinario After adding pod_template into from_flyte_idl, if pod_template returns a struct rather than None, the test will fail. |
Signed-off-by: Nelson Chen <[email protected]>
Code Review Agent Run #9c3fa1Actionable Suggestions - 1
Review Details
|
Signed-off-by: Nelson Chen <[email protected]>
…dtemplate_override_logic
Signed-off-by: Nelson Chen <[email protected]>
Code Review Agent Run #9b999aActionable Suggestions - 0Additional Suggestions - 9
Review Details
|
Tracking issue
Issue#5683
Why are the changes needed?
tCtx.TaskExecutionMetadata().GetOverrides().GetPodTemplate()
should be nil.What changes were proposed in this pull request?
pod_template=None
in TaskNodeOverrides.How was this patch tested?
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link
Summary by Bito
Enhancement to workflow module's pod template override handling and authentication system. Introduces thread-safe factory patterns, environment validation, and secure pip secret mount support for image building. Improves type system handling with simplified pickle detection and type extraction. Includes restructured TaskNodeOverrides class with proper serialization support and comprehensive test coverage.Unit tests added: True
Estimated effort to review (1-5, lower is better): 5