Skip to content

Add revision_number to DeclinedTargetVersionUpgrade#762

Open
Shivs11 wants to merge 1 commit intomasterfrom
trampolining-rev-number
Open

Add revision_number to DeclinedTargetVersionUpgrade#762
Shivs11 wants to merge 1 commit intomasterfrom
trampolining-rev-number

Conversation

@Shivs11
Copy link
Copy Markdown
Member

@Shivs11 Shivs11 commented Apr 9, 2026

  • Added revision_number to DeclinedTargetVersionUpgrade, which already took in a deployment version.
  • Recap about what DeclinedTargetVersionUpgrade does: the main intention of this field was to "remember" which target version we have rejected when a pinned workflow declines to AU when CAN'ing. However, you could have matching partitions send you back stale target deployment versions, and we don't want to "bounce back" and CAN our pinned workflows when they see such a stale version. For that very purpose, we resort to now store the revision number here.
  • I explained it above
  • None, changes are additive.
  • Also, no changes required from the SDK perspective

temporalio/temporal#9895

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Shivs11 Shivs11 marked this pull request as ready for review April 10, 2026 00:51
@Shivs11 Shivs11 requested review from a team April 10, 2026 00:51
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