Skip to content

fix: make retry attempts respect current slot number #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: prestwich/bumpable-prep
Choose a base branch
from

Conversation

dylanlott
Copy link
Contributor

@dylanlott dylanlott commented Jun 13, 2025

fix: make retry attempts respect current slot number

Retry attempts were happening but if the slot changed in the middle of a retry attempt, it wouldn't recognize it and would get into an error loop, exhausting all retry attempts on an obviously incorrect block.

Instead, this PR checks the initial slot number and each retry attempt will only happen if the slot is still valid.

Closes ENG-1127

Copy link
Contributor Author

dylanlott commented Jun 13, 2025

@dylanlott dylanlott added the bug Something isn't working label Jun 14, 2025 — with Graphite App
@dylanlott dylanlott self-assigned this Jun 14, 2025
@dylanlott dylanlott force-pushed the prestwich/bumpable-prep branch from 0d88be1 to 72d2c26 Compare June 14, 2025 00:10
@dylanlott dylanlott force-pushed the dylan/fix-retry-slot-checks branch 3 times, most recently from 449e320 to ff22657 Compare June 14, 2025 00:20
@dylanlott dylanlott force-pushed the prestwich/bumpable-prep branch from 48a1e82 to 4f0445e Compare June 14, 2025 00:21
@dylanlott dylanlott force-pushed the dylan/fix-retry-slot-checks branch from ff22657 to 4bc36fa Compare June 14, 2025 00:22
@dylanlott dylanlott force-pushed the prestwich/bumpable-prep branch from 4f0445e to ecc8355 Compare June 14, 2025 02:35
@dylanlott dylanlott force-pushed the dylan/fix-retry-slot-checks branch from 4bc36fa to 57614e4 Compare June 14, 2025 02:35
@dylanlott dylanlott force-pushed the dylan/fix-retry-slot-checks branch from 57614e4 to 1e75f23 Compare June 14, 2025 02:36
@dylanlott dylanlott marked this pull request as ready for review June 14, 2025 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant