Can I get the run's goal(s) from a `RunTracker` in...
# plugins
b
Can I get the run's goal(s) from a
RunTracker
instance?
Seems like parsing cmdline is the only way, and yuck
c
b
This isn't specifically in rule code, though. I've got the
RunRequest
from a
src/python/pants/engine/streaming_workunit_handler.py
WorkunitsCallback
πŸ™‚
Although looks like the workunits has that info in your PR
πŸ‘ 1
c
depending on where it lands.. Stu’s been a bit back-and-forth with me on that one πŸ˜…
b
Well, anyways I'm not holding my breath. I get his concern too, I think
I'll probably dump the whole cmdline and call it a day πŸ™‚
c
yup, not going to resolve my PR within days..
b
Plus that'd be 2.17 which is ages for me πŸ™‚