You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(producer): also record transient-retry burn on failed renders
Addresses Via's should-fix on #1850: the transient-retry counter previously
fired only on the success path ("burned budget and recovered"). Mirror it into
the failure path so "burned budget and STILL failed" is also emitted — the more
actionable signal for tuning MAX_TRANSIENT_CAPTURE_RETRIES.
Note: `captureAttempts` was declared `const` INSIDE the try, so it was NOT in
scope in the catch (contrary to the review note). Hoisted it to function scope
and extracted a shared `recordTransientRetryObservability` helper called from
both the success path and the catch, so the two sites can't drift.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments