Skip to content

fix(iswf): Reverts change to reporting logic that silences NoRetriesRemaining exceptions#627

Merged
GabeVillalobos merged 1 commit into
mainfrom
gv/remove-silenced-exhausted-retries-reporting
May 13, 2026
Merged

fix(iswf): Reverts change to reporting logic that silences NoRetriesRemaining exceptions#627
GabeVillalobos merged 1 commit into
mainfrom
gv/remove-silenced-exhausted-retries-reporting

Conversation

@GabeVillalobos
Copy link
Copy Markdown
Member

@GabeVillalobos GabeVillalobos commented May 8, 2026

This reporting is valuable for other teams to triage issues with their tasks and retries, even through silenced exceptions. Knowing when a task has exceeded its maximum number of retries means that the task has effectively transitioned to a terminal state and will not be reattempted if no deadletter is set. While this will increase a bit of noise, it'll provide better ideas of failure rates in our product.

Comment on lines +284 to +286
retry_error = NoRetriesRemainingError(
f"{inflight.activation.taskname} has consumed all of its retries"
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So even for a silenced error we would capture an error when the task has run out of retries and will be discarded 👍

@GabeVillalobos GabeVillalobos marked this pull request as ready for review May 11, 2026 16:41
@GabeVillalobos GabeVillalobos requested a review from a team as a code owner May 11, 2026 16:41
@GabeVillalobos GabeVillalobos requested a review from kcons May 11, 2026 16:41
@GabeVillalobos GabeVillalobos merged commit 50adbd7 into main May 13, 2026
23 checks passed
@GabeVillalobos GabeVillalobos deleted the gv/remove-silenced-exhausted-retries-reporting branch May 13, 2026 20:57
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.

3 participants