Skip to content

docs: document RetryCallState attributes including seconds_since_start#599

Merged
mergify[bot] merged 1 commit intomainfrom
devs/jd/docs/retry-call-state-attrs/I1dbaa9072c2f47822e05f859514a42dcf83ae6d3
Feb 20, 2026
Merged

docs: document RetryCallState attributes including seconds_since_start#599
mergify[bot] merged 1 commit intomainfrom
devs/jd/docs/retry-call-state-attrs/I1dbaa9072c2f47822e05f859514a42dcf83ae6d3

Conversation

@jd
Copy link
Owner

@jd jd commented Feb 20, 2026

Add an attribute reference for RetryCallState in the docs, listing
attempt_number, outcome, seconds_since_start, idle_for, and start_time.
Includes a short example showing how to log total elapsed time via the
after callback — directly addressing the common confusion between
seconds_since_start (wall-clock elapsed) and idle_for (sleep time only).

Closes #303

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Add an attribute reference for RetryCallState in the docs, listing
attempt_number, outcome, seconds_since_start, idle_for, and start_time.
Includes a short example showing how to log total elapsed time via the
after callback — directly addressing the common confusion between
seconds_since_start (wall-clock elapsed) and idle_for (sleep time only).

Closes #303

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change-Id: I1dbaa9072c2f47822e05f859514a42dcf83ae6d3
@jd jd marked this pull request as ready for review February 20, 2026 13:11
@mergify mergify bot merged commit 930958f into main Feb 20, 2026
9 checks passed
@mergify mergify bot deleted the devs/jd/docs/retry-call-state-attrs/I1dbaa9072c2f47822e05f859514a42dcf83ae6d3 branch February 20, 2026 13:12
@mergify
Copy link
Contributor

mergify bot commented Feb 20, 2026

Merge Queue Status

Rule: default


  • Entered queue2026-02-20 13:11 UTC
  • Checks passed · in-place
  • Merged2026-02-20 13:12 UTC · at 3cd900966465891a24f1c49e0882129ceb2a9725

This pull request spent 35 seconds in the queue, including 9 seconds running CI.

Required conditions to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Statistic delay_since_first_attempt does not get updated if the last attempt is successful

1 participant