Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ to docs, or any other relevant information.

### Changed

- Priority is no longer marked as experimental.

### Deprecated

### :boom: Breaking Changes
Expand Down
8 changes: 4 additions & 4 deletions temporalio/lib/temporalio/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def operator_service
# @param request_eager_start [Boolean] Potentially reduce the latency to start this workflow by encouraging the
# server to start it on a local worker running with this same client. This is currently experimental.
# @param versioning_override [VersioningOverride, nil] Override the version of the workflow.
# @param priority [Priority] Priority of the workflow. This is currently experimental.
# @param priority [Priority] Priority of the workflow.
# @param arg_hints [Array<Object>, nil] Overrides converter hints for arguments if any. If unset/nil and the
# workflow definition has arg hints, those are used by default.
# @param result_hint [Object, nil] Overrides converter hint for result if any. If unset/nil and the workflow
Expand Down Expand Up @@ -400,7 +400,7 @@ def start_workflow(
# @param request_eager_start [Boolean] Potentially reduce the latency to start this workflow by encouraging the
# server to start it on a local worker running with this same client. This is currently experimental.
# @param versioning_override [VersioningOverride, nil] Override the version of the workflow.
# @param priority [Priority] Priority for the workflow. This is currently experimental.
# @param priority [Priority] Priority for the workflow.
# @param arg_hints [Array<Object>, nil] Overrides converter hints for arguments if any. If unset/nil and the
# workflow definition has arg hints, those are used by default.
# @param result_hint [Object, nil] Overrides converter hint for result if any. If unset/nil and the workflow
Expand Down Expand Up @@ -517,7 +517,7 @@ def activity_handle(activity_id, activity_run_id: nil, result_hint: nil)
# @param search_attributes [SearchAttributes, nil] Search attributes for the activity.
# @param summary [String, nil] Fixed single-line summary for this activity execution.
# @param static_details [String, nil] Fixed details for this activity execution. May be in markdown format.
# @param priority [Priority] Priority for the activity. This is currently experimental.
# @param priority [Priority] Priority for the activity.
# @param start_delay [Float, nil] Time (in seconds) to wait before dispatching the first activity task. This delay
# is not applied to retry attempts. `nil` or `0` means no delay. Negative values raise `ArgumentError`.
# This is currently experimental.
Expand Down Expand Up @@ -597,7 +597,7 @@ def start_activity(
# @param search_attributes [SearchAttributes, nil] Search attributes for the activity.
# @param summary [String, nil] Fixed single-line summary for this activity execution.
# @param static_details [String, nil] Fixed details for this activity execution. May be in markdown format.
# @param priority [Priority] Priority for the activity. This is currently experimental.
# @param priority [Priority] Priority for the activity.
# @param start_delay [Float, nil] Time (in seconds) to wait before dispatching the first activity task. This delay
# is not applied to retry attempts. `nil` or `0` means no delay. Negative values raise `ArgumentError`.
# This is currently experimental.
Expand Down
4 changes: 2 additions & 2 deletions temporalio/lib/temporalio/client/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _to_proto(data_converter)
# @!attribute search_attributes
# @return [SearchAttributes, nil] Search attributes for the workflow.
# @!attribute priority
# @return [Priority] Priority of the workflow. This is currently experimental.
# @return [Priority] Priority of the workflow.
# @!attribute arg_hints
# @return [Array<Object>, nil] Converter hints for workflow arguments. This is only user-set (e.g. on create)
# and is not persisted and therefore will not be set when describing a workflow.
Expand Down Expand Up @@ -242,7 +242,7 @@ class << self
# @param retry_policy [RetryPolicy, nil] Retry policy for the workflow.
# @param memo [Hash<String, Object>, nil] Memo for the workflow.
# @param search_attributes [SearchAttributes, nil] Search attributes for the workflow.
# @param priority [Priority] Priority of the workflow. This is currently experimental.
# @param priority [Priority] Priority of the workflow.
# @param headers [Hash<String, Object>, nil] Headers for the workflow.
def new(
workflow,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Options; end # rubocop:disable Lint/EmptyClass
# Note, for {Client.start_update_with_start_workflow} and {Client.execute_update_with_start_workflow},
# `id_conflict_policy` is required.
#
# @param priority [Priority] Priority of the workflow that may be started. This is currently experimental.
# @param priority [Priority] Priority of the workflow that may be started.
def initialize(
workflow,
*args,
Expand Down
4 changes: 2 additions & 2 deletions temporalio/lib/temporalio/workflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def self.deprecate_patch(patch_id)
# optimization on some servers that sends activities back to the same worker as the calling workflow if they can
# run there. If `false` (the default), eager execution may still be disabled at the worker level or may not be
# requested due to lack of available slots.
# @param priority [Priority] Priority of the activity. This is currently experimental.
# @param priority [Priority] Priority of the activity.
# @param arg_hints [Array<Object>, nil] Overrides converter hints for arguments if any. If unset/nil and the
# activity definition has arg hints, those are used by default.
# @param result_hint [Object, nil] Overrides converter hint for result if any. If unset/nil and the activity
Expand Down Expand Up @@ -424,7 +424,7 @@ def self.sleep(duration, summary: nil, cancellation: Workflow.cancellation)
# @param cron_schedule [String, nil] Cron schedule. Users should use schedules instead of this.
# @param memo [Hash{String, Symbol => Object}, nil] Memo for the workflow.
# @param search_attributes [SearchAttributes, nil] Search attributes for the workflow.
# @param priority [Priority] Priority of the workflow. This is currently experimental.
# @param priority [Priority] Priority of the workflow.
# @param arg_hints [Array<Object>, nil] Overrides converter hints for arguments if any. If unset/nil and the
# workflow definition has arg hints, those are used by default.
# @param result_hint [Object, nil] Overrides converter hint for result if any. If unset/nil and the workflow
Expand Down
Loading