FYI I added a new debugging guide for Rule Graph i...
# plugins
h
FYI I added a new debugging guide for Rule Graph issues, feedback welcomed. It includes a new script to help isolate where issues come from: https://www.pantsbuild.org/docs/rules-api-tips#debugging-rule-graph-issues
👍 1
cc @fresh-account-42296, this all comes from our pairing sessions together. Thanks again for sharing your experince and plugins cc @fast-nail-55400 @happy-kitchen-89482 who have had issues with the rule graph before. Would this have helped?
❤️ 1
f
Thanks for the debugging script, @hundreds-father-404 That's certainly helpful for folks like me who try to understand the root cause of their problem
💯 1
h
You're welcome! It was super useful to me debugging yesterday. In particular, getting each backend on its own to work made things a lot easier to reason about. It meant that I knew the issue was from the interaction of backends, rather than a particular backend itself.
👍 1
b
Let's put out a tweet alerting people to this helpful new guide. Suggestions on wording?
h
I don't think we want to publicize the rule graph debugging guide - it's meant to make a really confusing experience less confusing. But it's still confusing at the end of the day. And we are planning to fix it through much better rule graph errors
👏 1