It4innovations / hyperqueue

Scheduler for sub-node tasks for HPC systems with batch scheduling
https://it4innovations.github.io/hyperqueue
MIT License
269 stars 20 forks source link

Improve panics in distributed builds #632

Closed Kobzol closed 9 months ago

Kobzol commented 9 months ago

1) Enable (compressed) debuginfo in dist builds 2) Enable backtraces by default 3) Add a custom panic hook 4) Propagate RUST_LOG in autoalloc

Best reviewed commit by commit.

Kobzol commented 9 months ago

I wanted to use human-panic or some other crate, but in the end they were difficult/impossible to modify, so I just implemented our own custom panic hook.

This is now ready for a review.