Hello Pants people :wave: I am working on a rule w...
# general
d
Hello Pants people 👋 I am working on a rule which collects a bunch of metrics from a pants run and pushes them all to the place all my metrics go to die live so they can become beautiful build dashboards. This rule will run at the end of any pants run in our CI environment. Currently it is doing exactly what I need except if the upload fails, the rule fails, and someones PR gets marked with CI failures they can't fix. I can wrap it up in try/except blocks and silence the failures that way, but I'm wondering if there exists any sort of built in "don't fail the pants run if this rule fails" switch?
c
Could you elaborate a little bit on the design? I think most metrics extraction workflows I have seen have been based on the workunit logger (as opposed to being a regular old rule themself). Or are these metrics about your code, not the Pannts run?