Skip to content

fix(exec): apply the timeout to each exec attempt - #11651

Merged
leonardoce merged 1 commit into
mainfrom
dev/exec-retry-per-attempt
Oct 14, 2026
Merged

leonardoce merged 1 commit into
mainfrom
dev/exec-retry-per-attempt

Conversation

@mnencia

@mnencia mnencia commented Oct 13, 2026

Copy link
Copy Markdown
Member

A single timeout covered all retry attempts. A transient network error such as a handshake or DNS timeout used the whole budget, so the retry never ran. The timeout now applies to each attempt.

An attempt that hits its own deadline is not retried, because the command may already have started.

@mnencia
mnencia requested a review from a team as a code owner October 13, 2026 15:21
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.28 release-1.30 labels Oct 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@litaocdl
litaocdl force-pushed the dev/exec-retry-per-attempt branch from 5654927 to 4cb9130 Compare October 14, 2026 06:14
@litaocdl

Copy link
Copy Markdown
Collaborator

/test

@github-actions

Copy link
Copy Markdown
Contributor

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Oct 14, 2026
@litaocdl
litaocdl force-pushed the dev/exec-retry-per-attempt branch from 4cb9130 to 33f8876 Compare October 14, 2026 08:50
A single timeout covered all retry attempts. A transient network error
such as a handshake or DNS timeout used the whole budget, so the retry
never ran. The timeout now applies to each attempt.

An attempt that hits its own deadline is not retried, because the
command may already have started.

Signed-off-by: Marco Nenciarini <[email protected]>
@leonardoce
leonardoce force-pushed the dev/exec-retry-per-attempt branch from 33f8876 to bdd22a7 Compare October 14, 2026 13:04
@leonardoce
leonardoce merged commit 0a1b062 into main Oct 14, 2026
@leonardoce
leonardoce deleted the dev/exec-retry-per-attempt branch October 14, 2026 13:13
cnpg-bot pushed a commit that referenced this pull request Oct 14, 2026
A single timeout covered all retry attempts. A transient network error
such as a handshake or DNS timeout used the whole budget, so the retry
never ran. The timeout now applies to each attempt.

An attempt that hits its own deadline is not retried, because the
command may already have started.

Signed-off-by: Marco Nenciarini <[email protected]>
(cherry picked from commit 0a1b062)
leonardoce pushed a commit that referenced this pull request Oct 14, 2026
A single timeout covered all retry attempts. A transient network error
such as a handshake or DNS timeout used the whole budget, so the retry
never ran. The timeout now applies to each attempt.

An attempt that hits its own deadline is not retried, because the
command may already have started.

Signed-off-by: Marco Nenciarini <[email protected]>
(cherry picked from commit 0a1b062)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases no-issue ok to merge 👌 This PR can be merged release-1.28 release-1.30

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants