buck2 icon indicating copy to clipboard operation
buck2 copied to clipboard

feature request: support dynamic action dependencies in aquery

Open aherrmann opened this issue 1 year ago • 0 comments

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.

aherrmann avatar Aug 29 '24 09:08 aherrmann