replit / upm

⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
https://repl.it
Other
1.06k stars 91 forks source link

bug/Differentiate exit codes #209

Closed blast-hardcheese closed 10 months ago

blast-hardcheese commented 10 months ago

A decent first pass of trying to alert on UPM classifications seems to be to classify upm error categories. If one error code spikes, (DieNetwork, as an example,) we'll get a useful signal from that.

I didn't give much thought to the actual error codes, simply incrementing the previous code. If we want to do something clever like a HTTP status code int(c / 100) == 2-style pattern I'm happy to revisit, though that'll increase cardinality for minimal gain imo.