MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
2k stars 529 forks source link

allow instrumentation sigterm in archive node #16372

Open dkijania opened 5 days ago

dkijania commented 5 days ago

Add flag to support sigterm command from bisect ppx. This is required to generate coverage on sigterm command when using instrumented archive. See details here: https://github.com/aantron/bisect_ppx/blob/master/doc/advanced.md#sigterm-handling

Main problem is that we need to fetch instrumentation from running archive node. Usually when we stop process it won't generate coverage files unless process support 'coverage' sigterm

dkijania commented 5 days ago

!ci-build-me