What is a `CoarsenedTarget`? Is it a target depend...
# development
p
What is a
CoarsenedTarget
? Is it a target dependency graph where the dependencies and transitive dependencies are not flattened? I see it is only used in the jdk-related backends - but I'm having troubles groking the docstrings:
Copy code
CoarsenedTarget:
    A set of Targets which cyclicly reach one another, and are thus indivisible.

CoarsenedTargets:
    The CoarsenedTarget roots of a transitive graph walk for some addresses.
Ultimately I'm looking for a way to get dependencies of a packagable target, but if it has a dep (transitive or direct) on another target of the same type (another packagable target), do not traverse the other packagable target's dependencies as well.
1
h
It represents a dependency cycle, basically. The original target dep graph may have cycles, the dep graph induced on the coarsened targets will be a DAG
So we know, e.g., that we must compile all the files in the entire coarsened target in a single compiler run
p
oh. That makes sense. Turn the graph into a DAG. got it.
Then, that's not going to give me the tree of deps that I can include until some rule is met.