Skip to content
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

feat(propeller): Add new config to disable fallback to container task handler #5077

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MortalHappiness
Copy link
Member

Tracking issue

Resolves: #5076

Why are the changes needed?

If a task does not have a default plugin handler, it will fall back to the container task handler. We usually do not want this behavior and expect the task without corresponding task handlers to fail.

What changes were proposed in this pull request?

Add a new config fallback-to-container-handler under the task-plugins section.

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. documentation Improvements or additions to documentation enhancement New feature or request labels Mar 19, 2024
@MortalHappiness MortalHappiness marked this pull request as draft March 19, 2024 19:19
@MortalHappiness MortalHappiness force-pushed the feature/#5076-prevent-fallback-container-handler branch from 58a3d3a to 8d23dc9 Compare March 19, 2024 19:27
@MortalHappiness MortalHappiness marked this pull request as ready for review March 19, 2024 19:27
@MortalHappiness MortalHappiness changed the title feat(handler): Add new config to prevent default container task handler feat(handler): Add new config to disable default container task handler Mar 19, 2024
@MortalHappiness MortalHappiness force-pushed the feature/#5076-prevent-fallback-container-handler branch from 8d23dc9 to 5326ad2 Compare March 19, 2024 19:32
@MortalHappiness MortalHappiness changed the title feat(handler): Add new config to disable default container task handler feat(handler): Add new config to disable fallback to container task handler Mar 19, 2024
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.23%. Comparing base (31802c7) to head (99538c3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5077   +/-   ##
=======================================
  Coverage   60.23%   60.23%           
=======================================
  Files         646      646           
  Lines       45664    45667    +3     
=======================================
+ Hits        27505    27508    +3     
  Misses      15569    15569           
  Partials     2590     2590           
Flag Coverage Δ
unittests-datacatalog 69.31% <ø> (ø)
unittests-flyteadmin 58.90% <ø> (ø)
unittests-flytecopilot 17.79% <ø> (ø)
unittests-flyteidl 79.30% <ø> (ø)
unittests-flyteplugins 61.94% <ø> (ø)
unittests-flytepropeller 57.33% <100.00%> (+<0.01%) ⬆️
unittests-flytestdlib 65.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MortalHappiness MortalHappiness force-pushed the feature/#5076-prevent-fallback-container-handler branch from 5326ad2 to b39eab9 Compare March 27, 2024 10:17
@MortalHappiness MortalHappiness changed the title feat(handler): Add new config to disable fallback to container task handler feat(propeller): Add new config to disable fallback to container task handler Mar 28, 2024
@MortalHappiness MortalHappiness force-pushed the feature/#5076-prevent-fallback-container-handler branch from b39eab9 to 2f7b1cd Compare March 28, 2024 10:46
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Mar 28, 2024
@MortalHappiness MortalHappiness force-pushed the feature/#5076-prevent-fallback-container-handler branch 3 times, most recently from 1c7ae32 to 864dacb Compare April 2, 2024 04:16
@MortalHappiness MortalHappiness force-pushed the feature/#5076-prevent-fallback-container-handler branch 2 times, most recently from 862f846 to 92f7076 Compare April 9, 2024 10:49
@MortalHappiness MortalHappiness force-pushed the feature/#5076-prevent-fallback-container-handler branch from 92f7076 to 99538c3 Compare May 16, 2024 16:10
@MortalHappiness
Copy link
Member Author

@pingsutw Can you help me review this PR? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core feature] Add new config to disable fallback to container task handler
1 participant