Skip to content

Commit 7d14a90

Browse files
authored
remove experimental warning for new worker versioning APIs and envconfig, add deprecation warnings for old worker versioning APIs (#383)
1 parent 025308d commit 7d14a90

File tree

8 files changed

+1
-17
lines changed

8 files changed

+1
-17
lines changed

temporalio/lib/temporalio/client.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ def operator_service
298298
# @param request_eager_start [Boolean] Potentially reduce the latency to start this workflow by encouraging the
299299
# server to start it on a local worker running with this same client. This is currently experimental.
300300
# @param versioning_override [VersioningOverride, nil] Override the version of the workflow.
301-
# This is currently experimental.
302301
# @param priority [Priority] Priority of the workflow. This is currently experimental.
303302
# @param arg_hints [Array<Object>, nil] Overrides converter hints for arguments if any. If unset/nil and the
304303
# workflow definition has arg hints, those are used by default.
@@ -392,7 +391,6 @@ def start_workflow(
392391
# @param request_eager_start [Boolean] Potentially reduce the latency to start this workflow by encouraging the
393392
# server to start it on a local worker running with this same client. This is currently experimental.
394393
# @param versioning_override [VersioningOverride, nil] Override the version of the workflow.
395-
# This is currently experimental.
396394
# @param priority [Priority] Priority for the workflow. This is currently experimental.
397395
# @param arg_hints [Array<Object>, nil] Overrides converter hints for arguments if any. If unset/nil and the
398396
# workflow definition has arg hints, those are used by default.

temporalio/lib/temporalio/common_enums.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ module WorkflowIDConflictPolicy
4040
end
4141

4242
# Specifies when a workflow might move from a worker of one Build Id to another.
43-
#
44-
# WARNING: Experimental API.
4543
module VersioningBehavior
4644
# Unspecified versioning behavior. By default, workers opting into worker versioning will
4745
# be required to specify a behavior.

temporalio/lib/temporalio/env_config.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
require 'temporalio/internal/bridge'
55

66
module Temporalio
7-
# Environment and file-based configuration for Temporal clients
8-
#
9-
# WARNING: Experimental API.
7+
# Environment and file-based configuration for Temporal clients.
108
module EnvConfig
119
# This module provides utilities to load Temporal client configuration from TOML files
1210
# and environment variables.

temporalio/lib/temporalio/versioning_override.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
module Temporalio
66
# Base class for version overrides that can be provided in start workflow options.
77
# Used to control the versioning behavior of workflows started with this override.
8-
#
9-
# WARNING: Experimental API.
108
class VersioningOverride
119
# @!visibility private
1210
def _to_proto

temporalio/lib/temporalio/worker.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ def self._validate_plugins!(plugins)
425425
# scheduler will fail. Instead of setting this to true, users are encouraged to use {Workflow::Unsafe.io_enabled}
426426
# with a block for narrower enabling of IO.
427427
# @param deployment_options [DeploymentOptions, nil] Deployment options for the worker.
428-
# WARNING: This is an experimental feature and may change in the future.
429428
# @param workflow_task_poller_behavior [PollerBehavior] Specify the behavior of workflow task
430429
# polling. Defaults to a 5-poller maximum.
431430
# @param activity_task_poller_behavior [PollerBehavior] Specify the behavior of activity task

temporalio/lib/temporalio/worker/deployment_options.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ class Worker
1313

1414
# Options for configuring the Worker Versioning feature.
1515
#
16-
# WARNING: Deployment-based versioning is experimental and APIs may change.
17-
#
1816
# @!attribute version
1917
# @return [WorkerDeploymentVersion] The worker deployment version.
2018
# @!attribute use_worker_versioning

temporalio/lib/temporalio/worker_deployment_version.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ module Temporalio
99
)
1010

1111
# Represents the version of a specific worker deployment.
12-
#
13-
# WARNING: Experimental API.
1412
class WorkerDeploymentVersion
1513
# Parse a version from a canonical string, which must be in the format
1614
# `<deployment_name>.<build_id>`. Deployment name must not have a `.` in it.

temporalio/lib/temporalio/workflow/definition.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ def workflow_query_attr_reader(*attr_names, description: nil)
110110

111111
# Set the versioning behavior of this workflow.
112112
#
113-
# WARNING: This method is experimental and may change in future versions.
114-
#
115113
# @param behavior [VersioningBehavior] The versioning behavior.
116114
def workflow_versioning_behavior(behavior)
117115
@versioning_behavior = behavior
@@ -732,7 +730,6 @@ def _with_validator_to_invoke(validator_to_invoke)
732730
# @!attribute versioning_behavior
733731
# Dynamic equivalent of {Definition.workflow_versioning_behavior}.
734732
# Will override any behavior set there if set.
735-
# WARNING: Deployment-based versioning is experimental and APIs may change.
736733
# @return [VersioningBehavior, nil] The versioning behavior
737734
#
738735
# @return [VersioningBehavior, nil] The versioning behavior

0 commit comments

Comments
 (0)