Skip to content

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

This reverts commit 3d9ab4e.

Signed-off-by: Hongxin Liang <honnix@users.noreply.github.com>
@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 <honnix@users.noreply.github.com>
@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.

Signed-off-by: Hongxin Liang <honnix@users.noreply.github.com>
@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 <honnix@users.noreply.github.com>
@honnix honnix force-pushed the revert-271-revert-268-plugin-task branch from b0d9b93 to bd0d705 Compare December 12, 2023 22:52
Signed-off-by: Hongxin Liang <honnix@users.noreply.github.com>
@andresgomezfrr andresgomezfrr merged commit d5015fb into master Dec 18, 2023
@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.

3 participants