https://pantsbuild.org/ logo
#plugins
Title
# plugins
b

bitter-ability-32190

03/15/2023, 3:57 PM
Can I get the run's goal(s) from a
RunTracker
instance?
Seems like parsing cmdline is the only way, and yuck
c

curved-television-6568

03/15/2023, 4:09 PM
b

bitter-ability-32190

03/15/2023, 4:15 PM
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

curved-television-6568

03/15/2023, 4:18 PM
depending on where it lands.. Stu’s been a bit back-and-forth with me on that one πŸ˜…
b

bitter-ability-32190

03/15/2023, 4:19 PM
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

curved-television-6568

03/15/2023, 4:19 PM
yup, not going to resolve my PR within days..
b

bitter-ability-32190

03/15/2023, 4:20 PM
Plus that'd be 2.17 which is ages for me πŸ™‚
2 Views