Skip to content

Fix SAA reset attempt dispatch time reporting#10923

Open
fretz12 wants to merge 1 commit into
fredtzeng/saa-validate-mergedfrom
fredtzeng/saa-attempt-dispatch-time
Open

Fix SAA reset attempt dispatch time reporting#10923
fretz12 wants to merge 1 commit into
fredtzeng/saa-validate-mergedfrom
fredtzeng/saa-attempt-dispatch-time

Conversation

@fretz12

@fretz12 fretz12 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

What changed?

Persist the current SAA attempt dispatch time in ActivityAttemptState.dispatch_time and use it when reporting CurrentAttemptScheduledTime.

Why?

Reset rewinds the attempt count to 1 and re-dispatches the activity. Deriving dispatch time from attempt == 1 incorrectly reports the original first dispatch time instead of the reset attempt’s dispatch time.

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:45
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