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

[Improvement] Subworkflow task use t_ds_task_instance_context store runtime context #16938

Open
3 tasks done
ruanwenjun opened this issue Jan 1, 2025 · 1 comment
Open
3 tasks done
Assignees
Labels
backend improvement make more easy to user or prompt friendly

Comments

@ruanwenjun
Copy link
Member

ruanwenjun commented Jan 1, 2025

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

All tasks should use t_ds_task_instance_context to store its runtime context, runtime context represent its runtime info , once its runtime context changed, it should tell master to update its runtime context.

When task failover should copy runtime context to new task instance which is generated by failover and provide it's runtime context to task plugin to do failover, so task plugin should provide interface how to deserialze/serialize runtime context, and how to use runtime context to do failover.

image

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ruanwenjun ruanwenjun added improvement make more easy to user or prompt friendly Waiting for reply Waiting for reply labels Jan 1, 2025
@SbloodyS SbloodyS added backend and removed Waiting for reply Waiting for reply labels Jan 1, 2025
@ruanwenjun
Copy link
Member Author

ruanwenjun commented Jan 9, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend improvement make more easy to user or prompt friendly
Projects
None yet
Development

No branches or pull requests

2 participants