https://pantsbuild.org/ logo
f

flat-zoo-31952

06/28/2022, 3:15 PM
I'm checking out 2.13.0a0 and getting some fun rule graph errors on first run. Probably related to my plugins. It looks like this is related to my use of
WrappedTargets
but I'm not a rule graph error expert. There's no plugin upgrade guide for this version yet, so I'm asking here for a little guidance in interpreting this.
1
b

bitter-ability-32190

06/28/2022, 3:17 PM
Might need to switch to
WrappedTargetRequest
?
✔️ 2
c

curved-television-6568

06/28/2022, 3:24 PM
Iff that doesn’t help, you can run with
./pants -ltrace
and you’ll get a dot graph output that you can render that will help illustrate the root issue.
🙏🏻 1
f

flat-zoo-31952

06/28/2022, 3:26 PM
that was it
I saw somewhere that there's autogenerated API docs for the rule graphs now? that could also be useful
c

curved-television-6568

06/28/2022, 3:41 PM
Not yet graphs, but all rules and types. Simply
./pants help <name>
;)
And help advanced for rule deps etc.
f

flat-zoo-31952

06/28/2022, 3:45 PM
awesome
h

hundreds-father-404

06/28/2022, 4:07 PM
I'm hoping to update the Plugin Upgrade guide this week for 2.13
b

bitter-ability-32190

06/28/2022, 4:09 PM
FYI @hundreds-father-404 if you want I can be on the hook to upgrade it relative to
run
and
test
goals (you have to add a new rule for the debug adapter types if you have a union for the Run/Test FieldSets). The error is super non-helpful
👍 1