facebook / facebook/buck2

feature request: support dynamic action dependencies in aquery

Open
#758 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

I would like to obtain the action dependency graph of actions emitted by a dynamic output action. E.g. I would like to use something like the following command to draw a dependency graph of these actions
```
buck2 aquery 'filter(":my-target", kind(run, deps(//my/package:my-target)))' --output-attribute='category|identifier' --dot | xdot -
```
At the moment aquery does emit the list of actions, but, it does not emit their dependencies. I.e. the produced graph, just shows all nodes on the same level without any edges between them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.