starknet_transaction_prover: /health returns 503 when service is saturated#14171
starknet_transaction_prover: /health returns 503 when service is saturated#14171avi-starkware wants to merge 1 commit into
Conversation
PR SummaryMedium Risk Overview Wiring: Reviewed by Cursor Bugbot for commit b321f22. Bugbot is set up for automated code reviews on this repo. Configure here. |
cbd1def to
e503ebd
Compare
318c9c2 to
53381dd
Compare
e503ebd to
db503b7
Compare
d477f5e to
ef3cf0b
Compare
1da27e9 to
ac98d86
Compare
ef3cf0b to
eb8da8d
Compare
ac98d86 to
e4bbbdc
Compare
eb8da8d to
e084131
Compare
e4bbbdc to
06bb59e
Compare
171e482 to
158a680
Compare
06bb59e to
0b2c8cc
Compare
158a680 to
b385d86
Compare
0b2c8cc to
4b1caba
Compare
b385d86 to
a462e96
Compare
4b1caba to
05ed9b4
Compare
a462e96 to
a83176f
Compare
05ed9b4 to
72918b7
Compare
a83176f to
b4c05a6
Compare
74f4f46 to
728f22c
Compare
b4c05a6 to
2739271
Compare
728f22c to
966f499
Compare
2739271 to
89534f1
Compare
89534f1 to
d3f1139
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 d3f1139. Configure here.
646fb1e to
a77477b
Compare
d15dc19 to
def7ea4
Compare
a77477b to
8017e9e
Compare
…rated Adds `SaturationMonitor` (shared by `ProvingRpcServerImpl` and `HealthLayer`) that tracks whether the concurrency semaphore has been continuously rejecting proving requests. Once that has held for the configured window (`health_max_saturated_ms`, default 10s), `/health` returns 503 with an opaque body so load balancers can drain the pod before in-flight requests start failing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
def7ea4 to
b321f22
Compare
8017e9e to
23ed570
Compare


Adds
SaturationMonitor(shared byProvingRpcServerImplandHealthLayer) that tracks whether the concurrency semaphore has beencontinuously rejecting proving requests. Once that has held for the
configured window (
health_max_saturated_ms, default 10s),/healthreturns 503 with an opaque body so load balancers can drain the pod
before in-flight requests start failing.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com