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

Capture task dependency tree, along with graph #136

Closed
khuck opened this issue Feb 27, 2021 · 1 comment
Closed

Capture task dependency tree, along with graph #136

khuck opened this issue Feb 27, 2021 · 1 comment

Comments

@khuck
Copy link
Collaborator

khuck commented Feb 27, 2021

Currently, APEX only captures the task dependency graph. It would be nice to capture a task dependency tree. While admittedly larger, it would allow analysis of specific code / dependency paths through the application (with less annotation required).

To capture the graph, only the task parent is recorded. To capture the tree, the parent node in the dependency tree would also be captured. Upon task creation, a new node in the tree would be created. The tree would be rooted at APEX_MAIN.

Graph example (A calls B and E, which both call C):

A -> B -> C -> D
 \-> E ->/

Tree example (A calls B and E, which both call C):

A -> B -> C -> D
 \-> E -> C -> D
khuck added a commit that referenced this issue Mar 13, 2021
Now have the ability to capture task tree, not just graph.
No more cycles!
@khuck
Copy link
Collaborator Author

khuck commented Mar 13, 2021

Fixed with 9b89b30

@khuck khuck closed this as completed Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant