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

Make plugin task first-class citizen #272

Merged
merged 5 commits into from
Dec 18, 2023

Conversation

honnix
Copy link
Member

@honnix honnix commented Dec 11, 2023

This is the same as #268, which was not ready to get merged and got reverted later.

TL;DR

Create a dedicated Plugin Task instead of abusing Runnable Task.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

  • Manually pick proto change from unmerged PR Agent Sync Plugin flyte#4107 We can go back to this later, for now I have removed this part to make this PR shippable
  • Now we have a proper Plugin Task so users will no longer to have implement Runnable Task with an a run returning null

Note that it is still supported to use Runnable Task to implement tasks that are handled by backend plugin, for backward compatibility.

Tracking Issue

NA

Follow-up issue

NA

@honnix honnix force-pushed the revert-271-revert-268-plugin-task branch from 1f4031f to 9417e8b Compare December 11, 2023 09:28
@honnix honnix marked this pull request as ready for review December 11, 2023 09:29
Signed-off-by: Hongxin Liang <[email protected]>
@honnix
Copy link
Member Author

honnix commented Dec 12, 2023

I dropped the isSyncPlugin field from this PR because the upstream might take some time.

@honnix honnix force-pushed the revert-271-revert-268-plugin-task branch from bbd1248 to 70ad715 Compare December 12, 2023 22:19
Signed-off-by: Hongxin Liang <[email protected]>
@honnix honnix force-pushed the revert-271-revert-268-plugin-task branch from b0d9b93 to bd0d705 Compare December 12, 2023 22:52
@andresgomezfrr andresgomezfrr merged commit d5015fb into master Dec 18, 2023
4 checks passed
@andresgomezfrr andresgomezfrr deleted the revert-271-revert-268-plugin-task branch December 18, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants