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

fix: handle task.depends_on(composition) when scheduling reconfigurations #357

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

doudou
Copy link
Member

@doudou doudou commented Apr 11, 2023

While the normal data structure does not generate this type of patterns, they must be supported - it is generally speaking useful, and is already used by e.g. the transformer to represent dynamic transformation producers.

The pattern obviously already triggered a bug since there was a specific bug fix for a task context->task context dependency. The fix was however too limited as it would not handle task context->composition.

This change implements a pass after deployment where we would find the root components from the "old plan" that are not used in the "new plan", and cut the dependency relations between these two. This should really handle all cases.

…ions

While the normal data structure does not generate this type of patterns,
they must be supported - it is generally speaking useful, and is already
used by e.g. the transformer to represent dynamic transformation producers.

The pattern obviously already triggered a bug since there was a specific
bug fix for a task context->task context dependency. The fix was however
too limited as it would not handle task context->composition.

This change implements a pass after deployment where we would find the
root components from the "old plan" that are not used in the "new plan",
and cut the dependency relations between these two. This should really
handle all cases.
@doudou doudou merged commit 794de30 into transition-to-runkit Apr 14, 2023
@doudou doudou deleted the cut_between_old_and_new branch April 14, 2023 17:05
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