starknet_transaction_prover: bump prover_panics_total on panic hook fire - #14170
starknet_transaction_prover: bump prover_panics_total on panic hook fire#14170avi-starkware wants to merge 1 commit into
Conversation
PR SummaryLow Risk Overview The global panic hook now increments the counter before structured logging and backtrace capture, so a failure during logging cannot drop the count. Tests gain a mutex around panic-hook cases and a new check that each hooked panic bumps the counter by one. Reviewed by Cursor Bugbot for commit a7b0b66. Bugbot is set up for automated code reviews on this repo. Configure here. |
cbd1def to
e503ebd
Compare
51ebd37 to
6c02d2b
Compare
e503ebd to
db503b7
Compare
2af08ad to
47068b1
Compare
db503b7 to
1da27e9
Compare
47068b1 to
eea5655
Compare
1da27e9 to
ac98d86
Compare
ac98d86 to
e4bbbdc
Compare
eea5655 to
df42f2f
Compare
df42f2f to
83d004c
Compare
e4bbbdc to
06bb59e
Compare
83d004c to
9122417
Compare
0b2c8cc to
4b1caba
Compare
9122417 to
23731d6
Compare
0f1f75f to
4bdd233
Compare
fd26d99 to
e128166
Compare
4bdd233 to
7954230
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7954230. Configure here.
7954230 to
c85d523
Compare
dc79487 to
d9dd37a
Compare
c85d523 to
3dd3f7b
Compare
d9dd37a to
dce9c4b
Compare
cf545e6 to
0b8beaa
Compare
511c82e to
ed936b5
Compare
0b8beaa to
f97d247
Compare
ed936b5 to
935d7ae
Compare
f97d247 to
33c9cd5
Compare
33c9cd5 to
9efc43a
Compare
935d7ae to
278e99a
Compare
9efc43a to
d3fe724
Compare
278e99a to
8cc0720
Compare
d3fe724 to
e1815f6
Compare
553107d to
ce52272
Compare
e1815f6 to
57ee518
Compare
ce52272 to
e8c7c31
Compare
Bumps the new `prover_panics_total` counter from the panic hook before constructing the backtrace, so dashboards can alert on panic rate without log search. The pre-registered zero observation in `install_exporter` keeps the series visible at scrape time even before the first panic. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>


Bumps the new
prover_panics_totalcounter from the panic hook beforeconstructing the backtrace, so dashboards can alert on panic rate without
log search. The pre-registered zero observation in
install_exporterkeeps the series visible at scrape time even before the first panic.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com