Add redirect_counter field to task started events.
Rename TaskQueueVersionGroup to TaskQueueVersionSelection and get rid of the oneof.
Why?
redirect_counter is used by server to synchronize build ID redirects when rebuilding history. it is needed to make sure we reapply the redirects correctly for workflows with concurrent activities.
Regarding TaskQueueVersionSelection, in some scenarios caller may want to specify more than one option. For example, the operator may want to get the result for a fixed list of build IDs plus any active build IDs that may be missing from its radar. Or if it wants to get the results for some build IDs and "unversioned" together.
What changed?
redirect_counter
field to task started events.oneof
.Why?
redirect_counter
is used by server to synchronize build ID redirects when rebuilding history. it is needed to make sure we reapply the redirects correctly for workflows with concurrent activities.Breaking changes
Server PR