Skip to content

chore(iswf): Removes retry decorators from integration-related tasks#115028

Merged
GabeVillalobos merged 3 commits intomasterfrom
gv/remove-retry-decorators-from-integration-tasks
May 7, 2026
Merged

chore(iswf): Removes retry decorators from integration-related tasks#115028
GabeVillalobos merged 3 commits intomasterfrom
gv/remove-retry-decorators-from-integration-tasks

Conversation

@GabeVillalobos
Copy link
Copy Markdown
Member

@GabeVillalobos GabeVillalobos commented May 6, 2026

Continuing the work of #114937, this PR removes more of the old @retry decorators from tasks, updating them to their closest equivalent in Taskbroker.

@GabeVillalobos GabeVillalobos requested review from a team as code owners May 6, 2026 22:11
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 6, 2026
@GabeVillalobos GabeVillalobos requested a review from markstory May 7, 2026 18:18
name="sentry.integrations.github.tasks.codecov_account_unlink",
namespace=integrations_control_tasks,
retry=Retry(times=3),
retry=Retry(times=3, on=(Exception,), ignore=(ConfigurationError,)),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems a bit odd that the decorator needs to specify what to retry on ? Versus just saying what to ignore and then retry on everything else... Curious what was the why there?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The older decorator did the same thing, it just set a default of (Exception,). We've opted to make this more explicit now, since this makes it instantly clear what the Retry is and isn't doing, though I do see your point.

@GabeVillalobos GabeVillalobos merged commit 323fc50 into master May 7, 2026
62 of 65 checks passed
@GabeVillalobos GabeVillalobos deleted the gv/remove-retry-decorators-from-integration-tasks branch May 7, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants