Skip to content

Preserve NextRetryDelay across unrelated activity option updates#10920

Open
fretz12 wants to merge 2 commits into
fredtzeng/saa-stale-legacy-s2cfrom
fredtzeng/saa-preserve-next-retry-on-update
Open

Preserve NextRetryDelay across unrelated activity option updates#10920
fretz12 wants to merge 2 commits into
fredtzeng/saa-stale-legacy-s2cfrom
fredtzeng/saa-preserve-next-retry-on-update

Conversation

@fretz12

@fretz12 fretz12 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

What changed?

Fixed standalone activity update-options retry handling so unrelated option updates no longer recalculate an already-scheduled worker-provided NextRetryDelay.

Why?

CurrentRetryInterval stores both retry-policy backoff and worker-provided NextRetryDelay. The old update path recalculated this field for any scheduled/paused activity update, so an unrelated update could overwrite a worker override and delay the next retry incorrectly.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@fretz12 fretz12 marked this pull request as ready for review July 6, 2026 03:44
@fretz12 fretz12 requested review from a team as code owners July 6, 2026 03:44
@fretz12 fretz12 requested a review from dandavison July 6, 2026 03:44
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