Skip to content

Reject stale legacy SAA schedule-to-close timers#10917

Open
fretz12 wants to merge 1 commit into
fredtzeng/saa-unpause-after-resetfrom
fredtzeng/saa-stale-legacy-s2c
Open

Reject stale legacy SAA schedule-to-close timers#10917
fretz12 wants to merge 1 commit into
fredtzeng/saa-unpause-after-resetfrom
fredtzeng/saa-stale-legacy-s2c

Conversation

@fretz12

@fretz12 fretz12 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What changed?

Updated SAA ScheduleToClose timer validation to require an exact stamp match. Legacy zero-stamp timers are now only accepted while the activity’s current ScheduleToClose stamp is also zero.

Why?

A stale pre-stamp ScheduleToClose timer could still time out an activity after update-options had extended the timeout and emitted a newer stamped timer.
Matching stamps exactly prevents old timer tasks from remaining valid after the activity advances to a newer ScheduleToClose stamp.

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)

Validate ScheduleToClose timer tasks by exact stamp match so legacy zero-stamp tasks are only valid while the activity stamp is still zero.
@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