also the error messaging when you can't satisfy a ...
# development
a
also the error messaging when you can't satisfy a rule (in this case, i was trying to
yield Get(Snapshot, PathGlobsAndRoot, ...)
) made me waste several hours today because it just said "no installed rules could satisfy the selection" or something and i'm not sure where to change to make that better
a
Fun fact - you get exactly the same error message if there are ambiguous routes through the graph, or loops
w
ambiguous routes gets you a different error, but yea a loop would be the same one.
a
yeah i was thinking like how could this have been solved in general with like finding paths to things, but upon waking up i realized all i wanted was to note the specific e.g.
yield Get(...)
which caused the failure
a
Ambiguous routes got you the exact same error as of Thursday...
w
@average-vr-56795: a repro of that would be good... you should be getting https://github.com/pantsbuild/pants/blob/master/src/rust/engine/src/rule_graph.rs#L176-L193
a
w
thanks!