Skip to main content

Enumeration: BuildIdTaskReachability

enums.v1.BuildIdTaskReachability

Specifies which category of tasks may reach a versioned worker of a certain Build ID.

Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY.

Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well.

Enumeration Members

BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY

BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2


BUILD_ID_TASK_REACHABILITY_REACHABLE

BUILD_ID_TASK_REACHABILITY_REACHABLE = 1


BUILD_ID_TASK_REACHABILITY_UNREACHABLE

BUILD_ID_TASK_REACHABILITY_UNREACHABLE = 3


BUILD_ID_TASK_REACHABILITY_UNSPECIFIED

BUILD_ID_TASK_REACHABILITY_UNSPECIFIED = 0