starknet_transaction_prover: global panic hook + graceful SIGTERM shutdown#14166
starknet_transaction_prover: global panic hook + graceful SIGTERM shutdown#14166avi-starkware wants to merge 1 commit into
Conversation
…tdown Installs a process-wide panic hook that emits one structured `event=panic` tracing event with location and backtrace, and bridges SIGTERM/SIGINT into `ServerHandle::stop` so container teardown becomes visible in logs and in-flight proofs get to finish. A second signal forces `exit(1)` to work around tokio-rs/tokio#7905. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR SummaryMedium Risk Overview After tracing is initialized, the process installs a global panic hook that logs a single SIGTERM and SIGINT are wired into jsonrpsee’s Unit tests cover panic payload extraction for common Reviewed by Cursor Bugbot for commit 63d34df. Bugbot is set up for automated code reviews on this repo. Configure here. |

Installs a process-wide panic hook that emits one structured
event=panictracing event with location and backtrace, and bridges SIGTERM/SIGINT into
ServerHandle::stopso container teardown becomes visible in logs andin-flight proofs get to finish. A second signal forces
exit(1)to workaround tokio-rs/tokio#7905.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com