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

[BUG] Blocks are not running in expected order while using dynamic blocks #5001

Open
sangvorennlabs opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sangvorennlabs
Copy link

Mage version

0.9.69

Describe the bug

Context

Consider the pipeline diagram as follows:

image (1)

First, the blue loader will be set as dynamic block. Then, the three purple transformers will generate several dynamic blocks.

In the three yellow exporters each will also generate several dynamic blocks, but return a list of results as set as reduced output.

Finally, there is a purple transformer at the end to do some final tasks.

Problem

We expect that the purple transformer at the end will be executed after all the three yellow exporters finish.

However, considering this runs list, there is one yellow exporter that is executed after the purple transformer at the end finish.
image (2)

To reproduce

No response

Expected behavior

We expect that the purple transformer at the end will be executed after all the three yellow exporters finish.

Screenshots

image (3)

Operating system

image (4)

Additional context

I am using the docker image mageai/mageai:0.9.69

@sangvorennlabs sangvorennlabs added the bug Something isn't working label Apr 29, 2024
@wangxiaoyou1993 wangxiaoyou1993 self-assigned this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants