Skip to content

fix: guard against None seconds_since_start in after_log#591

Merged
mergify[bot] merged 1 commit intomainfrom
devs/jd/fix/after-log-none-guard/Ib18f8aced63c084204b2d4719579fae4b8e557f5
Feb 19, 2026
Merged

fix: guard against None seconds_since_start in after_log#591
mergify[bot] merged 1 commit intomainfrom
devs/jd/fix/after-log-none-guard/Ib18f8aced63c084204b2d4719579fae4b8e557f5

Conversation

@jd
Copy link
Copy Markdown
Owner

@jd jd commented Feb 19, 2026

RetryCallState.seconds_since_start returns None when
outcome_timestamp is not set. The % format operator in after_log
would crash with a TypeError in this case. Fall back to "?" when the
value is None.

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

`RetryCallState.seconds_since_start` returns None when
`outcome_timestamp` is not set. The `%` format operator in `after_log`
would crash with a TypeError in this case. Fall back to "?" when the
value is None.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change-Id: Ib18f8aced63c084204b2d4719579fae4b8e557f5
@jd jd force-pushed the devs/jd/fix/after-log-none-guard/Ib18f8aced63c084204b2d4719579fae4b8e557f5 branch from 9d0c526 to 2ad2ef3 Compare February 19, 2026 09:51
@jd jd marked this pull request as ready for review February 19, 2026 09:58
mergify Bot added a commit that referenced this pull request Feb 19, 2026
@mergify mergify Bot merged commit 213446e into main Feb 19, 2026
9 checks passed
@mergify mergify Bot deleted the devs/jd/fix/after-log-none-guard/Ib18f8aced63c084204b2d4719579fae4b8e557f5 branch February 19, 2026 09:59
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Feb 19, 2026

Merge Queue Status

Rule: default


This pull request spent 33 seconds in the queue, including 8 seconds running CI.

Required conditions to merge

@jd jd mentioned this pull request Feb 24, 2026
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.

1 participant