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 #268

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Make plugin task first-class citizen #268

merged 3 commits into from
Dec 11, 2023

Conversation

honnix
Copy link
Member

@honnix honnix commented Nov 27, 2023

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
  • 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

flyteorg/flyte#3936

Follow-up issue

NA

@honnix honnix marked this pull request as ready for review November 27, 2023 11:45
Signed-off-by: Hongxin Liang <[email protected]>
@andresgomezfrr andresgomezfrr merged commit 78cd22d into master Dec 11, 2023
4 checks passed
@andresgomezfrr andresgomezfrr deleted the plugin-task branch December 11, 2023 09:19
honnix added a commit that referenced this pull request Dec 11, 2023
honnix added a commit that referenced this pull request Dec 11, 2023
This reverts commit 78cd22d.

Signed-off-by: Hongxin Liang <[email protected]>
honnix added a commit that referenced this pull request Dec 11, 2023
honnix added a commit that referenced this pull request Dec 11, 2023
@honnix honnix mentioned this pull request Dec 11, 2023
8 tasks
honnix added a commit that referenced this pull request Dec 11, 2023
andresgomezfrr pushed a commit that referenced this pull request Dec 18, 2023
* Revert "Revert "Make plugin task first-class citizen (#268)" (#271)"

This reverts commit 3d9ab4e.

Signed-off-by: Hongxin Liang <[email protected]>

* Drop isSyncPlugin for now

Signed-off-by: Hongxin Liang <[email protected]>

* Skip staging and merging custom where applicable

Signed-off-by: Hongxin Liang <[email protected]>

* Skip container

Signed-off-by: Hongxin Liang <[email protected]>

* More description of SdkPluginTask

Signed-off-by: Hongxin Liang <[email protected]>

---------

Signed-off-by: Hongxin Liang <[email protected]>
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