temporalio 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eab42914a8505489221304731b5e794855699374913e2ceda6b37dc446d175b7
4
- data.tar.gz: ec78f3ae4a518ba34d8086d372684b9f71f2de89b380e639a7f4e83a44e8b6f5
3
+ metadata.gz: 83bdaf2665c0e0870da1ad032bc014bb2a99970eee632c7349b5ebd35611bea3
4
+ data.tar.gz: 8bd6f029572ee2b46477306283a33480eaea57bf8bdac45ed094bcd6bc2110c8
5
5
  SHA512:
6
- metadata.gz: aafa0d2a6640601bf031ce18029c5135a53c5127056e0c423c1ade397069e746f4d96278cc282286f28213b32aa5248c7fcc2a9f3c71579caa68d1a8cf59774b
7
- data.tar.gz: 7a4054f79dbcb27a9f27a9d6d16e9275d7cfd4663f04775c9525a9b63a234df70986fc9c9db40fcacac58ec272e401c59f552fadb4d782d21a277f1d5fe1e154
6
+ metadata.gz: bc6cad44f81d64124fb61c16605f011ebace9a6121ef8e7d63b81dd88e4050da7e5aac376e326679c6d4da2f44d1a3a3fdcc4a5c21fd8335a3c5f22d40eeb27b
7
+ data.tar.gz: a04e3cebf85f26728de6445268cd3f88adc3614f4c02bc9bae3e05a566f2a0848cb6a8d61eba595d14eb651f6db5c89b471ef3fb4f71ad98e0d47591a2599dbf
@@ -35,7 +35,6 @@ module Temporalio
35
35
  # @return [String] ID for the activity.
36
36
  # @!attribute activity_run_id
37
37
  # @return [String, nil] Run ID for a standalone activity execution. nil for activities scheduled from a workflow.
38
- # WARNING: Standalone Activities are experimental.
39
38
  # @!attribute activity_type
40
39
  # @return [String] Type name for the activity.
41
40
  # @!attribute attempt
@@ -85,8 +84,6 @@ module Temporalio
85
84
  # class or it may break in incompatible ways.
86
85
  class Info
87
86
  # @return [Boolean] True if this activity was scheduled by a workflow execution; false for standalone activities.
88
- #
89
- # WARNING: Standalone Activities are experimental.
90
87
  def in_workflow?
91
88
  !workflow_id.nil?
92
89
  end
@@ -13,8 +13,6 @@ module Temporalio
13
13
  class Client
14
14
  # Info for a standalone activity execution. Returned by list_activities; extended by {Description}
15
15
  # for describe results.
16
- #
17
- # WARNING: Standalone Activities are experimental.
18
16
  class ActivityExecution
19
17
  # @return [Api::Activity::V1::ActivityExecutionListInfo, Api::Activity::V1::ActivityExecutionInfo]
20
18
  # Underlying protobuf info.
@@ -78,8 +76,6 @@ module Temporalio
78
76
  end
79
77
 
80
78
  # Rich description of a standalone activity execution; returned by {ActivityHandle#describe}.
81
- #
82
- # WARNING: Standalone Activities are experimental.
83
79
  class Description < ActivityExecution
84
80
  # @return [Api::WorkflowService::V1::DescribeActivityExecutionResponse] Underlying protobuf response.
85
81
  attr_reader :raw_description
@@ -280,7 +276,7 @@ module Temporalio
280
276
  end
281
277
 
282
278
  # @return [String, nil] Static user-metadata summary on the activity.
283
- def static_summary
279
+ def summary
284
280
  user_metadata.first
285
281
  end
286
282
 
@@ -3,8 +3,6 @@
3
3
  module Temporalio
4
4
  class Client
5
5
  # Result of a {Client#count_activities} call.
6
- #
7
- # WARNING: Standalone Activities are experimental.
8
6
  class ActivityExecutionCount
9
7
  # @return [Integer] Approximate number of activities matching the query. If the query had a group-by clause,
10
8
  # this is the sum of all the counts in {groups}.
@@ -20,8 +18,6 @@ module Temporalio
20
18
  end
21
19
 
22
20
  # Aggregation group if the activity count query had a group-by clause.
23
- #
24
- # WARNING: Standalone Activities are experimental.
25
21
  class AggregationGroup
26
22
  # @return [Integer] Approximate number of activities matching the query for this group.
27
23
  attr_reader :count
@@ -5,8 +5,6 @@ require 'temporalio/api'
5
5
  module Temporalio
6
6
  class Client
7
7
  # Status of a standalone activity execution.
8
- #
9
- # WARNING: Standalone Activities are experimental.
10
8
  module ActivityExecutionStatus
11
9
  UNSPECIFIED = Api::Enums::V1::ActivityExecutionStatus::ACTIVITY_EXECUTION_STATUS_UNSPECIFIED
12
10
  RUNNING = Api::Enums::V1::ActivityExecutionStatus::ACTIVITY_EXECUTION_STATUS_RUNNING
@@ -14,8 +14,6 @@ module Temporalio
14
14
  class Client
15
15
  # Handle for interacting with a standalone activity. Usually created via {Client.activity_handle}
16
16
  # or {Client#start_activity}.
17
- #
18
- # WARNING: Standalone Activities are experimental.
19
17
  class ActivityHandle
20
18
  # @return [String] ID for the activity.
21
19
  attr_reader :id
@@ -179,7 +177,7 @@ module Temporalio
179
177
  # WARNING: Standalone Activities are experimental.
180
178
  #
181
179
  # @param updates [Array<ActivityOptions::Update>] The option updates to apply. At least one is
182
- # required unless `restore_original` is true.
180
+ # required unless `restore_original` is true. Each option may be named at most once.
183
181
  # @param restore_original [Boolean] If true, restore the options to the originals the activity
184
182
  # was created with. Mutually exclusive with any update.
185
183
  # @param rpc_options [RPCOptions, nil] Advanced RPC options.
@@ -187,7 +185,8 @@ module Temporalio
187
185
  # @return [ActivityExecutionOptions] The activity options after the update.
188
186
  #
189
187
  # @raise [ArgumentError] If a non-update is given, if `restore_original` is combined with any
190
- # update, or if no update is provided and `restore_original` is false.
188
+ # update, if no update is provided and `restore_original` is false, or if the same option is
189
+ # named more than once.
191
190
  # @raise [Error::RPCError] RPC error from call.
192
191
  def update_options(*updates, restore_original: false, rpc_options: nil)
193
192
  unless updates.all?(ActivityOptions::Update)
@@ -202,8 +201,12 @@ module Temporalio
202
201
  'At least one option update must be given, or restore_original must be used'
203
202
  end
204
203
 
205
- # For repeated keys, later values override previous ones.
206
- by_path = updates.to_h { |update| [update.key.name, update] }
204
+ by_path = updates.each_with_object({}) do |update, acc|
205
+ name = update.key.name
206
+ raise ArgumentError, "More than one update given for option #{name}" if acc.key?(name)
207
+
208
+ acc[name] = update
209
+ end
207
210
 
208
211
  proto = Api::Activity::V1::ActivityOptions.new
209
212
  by_path.each_value do |update|
@@ -29,8 +29,6 @@ module Temporalio
29
29
 
30
30
  # Construct a standalone activity reference.
31
31
  #
32
- # WARNING: Standalone Activities are experimental.
33
- #
34
32
  # @param activity_id [String] ID for the activity.
35
33
  # @param activity_run_id [String, nil] Run ID for the activity execution. nil targets the latest run.
36
34
  # @return [ActivityIDReference] A reference suitable for {Client#async_activity_handle}.
@@ -57,8 +55,6 @@ module Temporalio
57
55
  end
58
56
 
59
57
  # @return [Boolean] True if this reference is the standalone-form (activity_run_id without workflow_id).
60
- #
61
- # WARNING: Standalone Activities are experimental.
62
58
  def standalone?
63
59
  @workflow_id.nil?
64
60
  end
@@ -260,8 +260,6 @@ module Temporalio
260
260
  )
261
261
 
262
262
  # Input for {Outbound.start_activity}.
263
- #
264
- # WARNING: Standalone Activities are experimental.
265
263
  StartActivityInput = Data.define(
266
264
  :activity,
267
265
  :args,
@@ -275,7 +273,7 @@ module Temporalio
275
273
  :id_conflict_policy,
276
274
  :retry_policy,
277
275
  :search_attributes,
278
- :static_summary,
276
+ :summary,
279
277
  :static_details,
280
278
  :headers,
281
279
  :priority,
@@ -286,8 +284,6 @@ module Temporalio
286
284
  )
287
285
 
288
286
  # Input for {Outbound.describe_activity}.
289
- #
290
- # WARNING: Standalone Activities are experimental.
291
287
  DescribeActivityInput = Data.define(
292
288
  :activity_id,
293
289
  :activity_run_id,
@@ -299,8 +295,6 @@ module Temporalio
299
295
  )
300
296
 
301
297
  # Input for {Outbound.cancel_activity}.
302
- #
303
- # WARNING: Standalone Activities are experimental.
304
298
  CancelActivityInput = Data.define(
305
299
  :activity_id,
306
300
  :activity_run_id,
@@ -309,8 +303,6 @@ module Temporalio
309
303
  )
310
304
 
311
305
  # Input for {Outbound.terminate_activity}.
312
- #
313
- # WARNING: Standalone Activities are experimental.
314
306
  TerminateActivityInput = Data.define(
315
307
  :activity_id,
316
308
  :activity_run_id,
@@ -352,16 +344,12 @@ module Temporalio
352
344
  )
353
345
 
354
346
  # Input for {Outbound.list_activities}.
355
- #
356
- # WARNING: Standalone Activities are experimental.
357
347
  ListActivitiesInput = Data.define(
358
348
  :query,
359
349
  :rpc_options
360
350
  )
361
351
 
362
352
  # Input for {Outbound.count_activities}.
363
- #
364
- # WARNING: Standalone Activities are experimental.
365
353
  CountActivitiesInput = Data.define(
366
354
  :query,
367
355
  :rpc_options
@@ -369,8 +357,6 @@ module Temporalio
369
357
 
370
358
  # Input for {Outbound.fetch_activity_outcome}. Used by `ActivityHandle#result` for long-polling
371
359
  # the activity outcome via `PollActivityExecution`.
372
- #
373
- # WARNING: Standalone Activities are experimental.
374
360
  FetchActivityOutcomeInput = Data.define(
375
361
  :activity_id,
376
362
  :activity_run_id,
@@ -588,8 +574,6 @@ module Temporalio
588
574
 
589
575
  # Called for every {Client.start_activity} and {Client.execute_activity} call.
590
576
  #
591
- # WARNING: Standalone Activities are experimental.
592
- #
593
577
  # @param input [StartActivityInput] Input.
594
578
  # @return [ActivityHandle] Activity handle.
595
579
  def start_activity(input)
@@ -598,8 +582,6 @@ module Temporalio
598
582
 
599
583
  # Called for every {ActivityHandle.describe} call.
600
584
  #
601
- # WARNING: Standalone Activities are experimental.
602
- #
603
585
  # @param input [DescribeActivityInput] Input.
604
586
  # @return [ActivityExecution::Description] Activity description.
605
587
  def describe_activity(input)
@@ -608,8 +590,6 @@ module Temporalio
608
590
 
609
591
  # Called for every {ActivityHandle.cancel} call.
610
592
  #
611
- # WARNING: Standalone Activities are experimental.
612
- #
613
593
  # @param input [CancelActivityInput] Input.
614
594
  def cancel_activity(input)
615
595
  next_interceptor.cancel_activity(input)
@@ -617,8 +597,6 @@ module Temporalio
617
597
 
618
598
  # Called for every {ActivityHandle.terminate} call.
619
599
  #
620
- # WARNING: Standalone Activities are experimental.
621
- #
622
600
  # @param input [TerminateActivityInput] Input.
623
601
  def terminate_activity(input)
624
602
  next_interceptor.terminate_activity(input)
@@ -654,8 +632,6 @@ module Temporalio
654
632
 
655
633
  # Called for every {Client.list_activities} call.
656
634
  #
657
- # WARNING: Standalone Activities are experimental.
658
- #
659
635
  # @param input [ListActivitiesInput] Input.
660
636
  # @return [Enumerator<ActivityExecution>] Activity executions.
661
637
  def list_activities(input)
@@ -664,8 +640,6 @@ module Temporalio
664
640
 
665
641
  # Called for every {Client.count_activities} call.
666
642
  #
667
- # WARNING: Standalone Activities are experimental.
668
- #
669
643
  # @param input [CountActivitiesInput] Input.
670
644
  # @return [ActivityExecutionCount] Activity count.
671
645
  def count_activities(input)
@@ -674,8 +648,6 @@ module Temporalio
674
648
 
675
649
  # Called by {ActivityHandle.result} to long-poll the activity outcome.
676
650
  #
677
- # WARNING: Standalone Activities are experimental.
678
- #
679
651
  # @param input [FetchActivityOutcomeInput] Input.
680
652
  # @return [Api::Activity::V1::ActivityExecutionOutcome] Activity outcome.
681
653
  def fetch_activity_outcome(input)
@@ -5,8 +5,6 @@ require 'temporalio/api'
5
5
  module Temporalio
6
6
  class Client
7
7
  # More detailed breakdown of a running activity's state.
8
- #
9
- # WARNING: Standalone Activities are experimental.
10
8
  module PendingActivityState
11
9
  SCHEDULED = Api::Enums::V1::PendingActivityState::PENDING_ACTIVITY_STATE_SCHEDULED
12
10
  STARTED = Api::Enums::V1::PendingActivityState::PENDING_ACTIVITY_STATE_STARTED
@@ -485,8 +485,6 @@ module Temporalio
485
485
  # Get a handle for an existing standalone activity. Useful when the activity was started elsewhere
486
486
  # (a different process, or by another client) and you have only its ID.
487
487
  #
488
- # WARNING: Standalone Activities are experimental.
489
- #
490
488
  # @param activity_id [String] ID for the activity.
491
489
  # @param activity_run_id [String, nil] Run ID for the activity execution. If nil, operations target the
492
490
  # latest run of the given activity ID.
@@ -500,8 +498,6 @@ module Temporalio
500
498
 
501
499
  # Start a standalone activity execution and return its handle.
502
500
  #
503
- # WARNING: Standalone Activities are experimental.
504
- #
505
501
  # @param activity [Class<Activity::Definition>, Activity::Definition, Activity::Definition::Info, Symbol, String]
506
502
  # Activity definition, definition class or activity name.
507
503
  # @param args [Array<Object>] Arguments to the activity.
@@ -519,7 +515,7 @@ module Temporalio
519
515
  # is currently running. Defaults to `FAIL` (reject the start attempt).
520
516
  # @param retry_policy [RetryPolicy, nil] Retry policy for the activity.
521
517
  # @param search_attributes [SearchAttributes, nil] Search attributes for the activity.
522
- # @param static_summary [String, nil] Fixed single-line summary for this activity execution.
518
+ # @param summary [String, nil] Fixed single-line summary for this activity execution.
523
519
  # @param static_details [String, nil] Fixed details for this activity execution. May be in markdown format.
524
520
  # @param priority [Priority] Priority for the activity. This is currently experimental.
525
521
  # @param start_delay [Float, nil] Time (in seconds) to wait before dispatching the first activity task. This delay
@@ -545,7 +541,7 @@ module Temporalio
545
541
  id_conflict_policy: ActivityIDConflictPolicy::FAIL,
546
542
  retry_policy: nil,
547
543
  search_attributes: nil,
548
- static_summary: nil,
544
+ summary: nil,
549
545
  static_details: nil,
550
546
  priority: Priority.default,
551
547
  start_delay: nil,
@@ -568,7 +564,7 @@ module Temporalio
568
564
  id_conflict_policy:,
569
565
  retry_policy:,
570
566
  search_attributes:,
571
- static_summary:,
567
+ summary:,
572
568
  static_details:,
573
569
  headers: {},
574
570
  priority:,
@@ -582,8 +578,6 @@ module Temporalio
582
578
  # Start a standalone activity execution and wait for its result. Shortcut for
583
579
  # {start_activity} + {ActivityHandle#result}.
584
580
  #
585
- # WARNING: Standalone Activities are experimental.
586
- #
587
581
  # @param activity [Class<Activity::Definition>, Activity::Definition, Activity::Definition::Info, Symbol, String]
588
582
  # Activity definition, definition class or activity name.
589
583
  # @param args [Array<Object>] Arguments to the activity.
@@ -601,7 +595,7 @@ module Temporalio
601
595
  # is currently running. Defaults to `FAIL` (reject the start attempt).
602
596
  # @param retry_policy [RetryPolicy, nil] Retry policy for the activity.
603
597
  # @param search_attributes [SearchAttributes, nil] Search attributes for the activity.
604
- # @param static_summary [String, nil] Fixed single-line summary for this activity execution.
598
+ # @param summary [String, nil] Fixed single-line summary for this activity execution.
605
599
  # @param static_details [String, nil] Fixed details for this activity execution. May be in markdown format.
606
600
  # @param priority [Priority] Priority for the activity. This is currently experimental.
607
601
  # @param start_delay [Float, nil] Time (in seconds) to wait before dispatching the first activity task. This delay
@@ -628,7 +622,7 @@ module Temporalio
628
622
  id_conflict_policy: ActivityIDConflictPolicy::FAIL,
629
623
  retry_policy: nil,
630
624
  search_attributes: nil,
631
- static_summary: nil,
625
+ summary: nil,
632
626
  static_details: nil,
633
627
  priority: Priority.default,
634
628
  start_delay: nil,
@@ -649,7 +643,7 @@ module Temporalio
649
643
  id_conflict_policy:,
650
644
  retry_policy:,
651
645
  search_attributes:,
652
- static_summary:,
646
+ summary:,
653
647
  static_details:,
654
648
  priority:,
655
649
  start_delay:,
@@ -661,8 +655,6 @@ module Temporalio
661
655
 
662
656
  # List standalone activities matching a visibility query.
663
657
  #
664
- # WARNING: Standalone Activities are experimental.
665
- #
666
658
  # @param query [String] Visibility list filter.
667
659
  # @param rpc_options [RPCOptions, nil] Advanced RPC options.
668
660
  #
@@ -674,8 +666,6 @@ module Temporalio
674
666
 
675
667
  # Count standalone activities matching a visibility query.
676
668
  #
677
- # WARNING: Standalone Activities are experimental.
678
- #
679
669
  # @param query [String] Visibility list filter.
680
670
  # @param rpc_options [RPCOptions, nil] Advanced RPC options.
681
671
  #
@@ -86,8 +86,6 @@ module Temporalio
86
86
 
87
87
  # Controls behavior when an activity with the same ID was previously run and is now closed.
88
88
  #
89
- # WARNING: Standalone Activities are experimental.
90
- #
91
89
  # @see https://docs.temporal.io/activities
92
90
  module ActivityIDReusePolicy
93
91
  # Always allow starting an activity using the same activity ID.
@@ -102,8 +100,6 @@ module Temporalio
102
100
 
103
101
  # Controls behavior when an activity with the same ID is currently running.
104
102
  #
105
- # WARNING: Standalone Activities are experimental.
106
- #
107
103
  # @see https://docs.temporal.io/activities
108
104
  module ActivityIDConflictPolicy
109
105
  # Don't start a new activity; instead fail with already-started error.
@@ -30,8 +30,6 @@ module Temporalio
30
30
  end
31
31
 
32
32
  # Error raised by a client when a standalone activity execution has already started.
33
- #
34
- # WARNING: Standalone Activities are experimental.
35
33
  class ActivityAlreadyStartedError < Failure
36
34
  # @return [String] ID of the already-started activity.
37
35
  attr_reader :activity_id
@@ -42,8 +42,6 @@ module Temporalio
42
42
 
43
43
  # Error returned from {Client::ActivityHandle#result} when the activity did not complete successfully.
44
44
  # The specific activity failure can be accessed via `cause`.
45
- #
46
- # WARNING: Standalone Activities are experimental.
47
45
  class ActivityFailedError < Error
48
46
  # @!visibility private
49
47
  def initialize(message = 'Activity execution failed')
@@ -984,7 +984,7 @@ module Temporalio
984
984
  retry_policy: input.retry_policy&._to_proto,
985
985
  search_attributes: input.search_attributes&._to_proto,
986
986
  user_metadata: ProtoUtils.to_user_metadata(
987
- input.static_summary, input.static_details, @client.data_converter
987
+ input.summary, input.static_details, @client.data_converter
988
988
  ),
989
989
  header: ProtoUtils.headers_to_proto(input.headers, @client.data_converter),
990
990
  priority: input.priority._to_proto,
@@ -1098,6 +1098,11 @@ module Temporalio
1098
1098
  end
1099
1099
 
1100
1100
  def update_activity_options(input)
1101
+ # The handle rejects a repeated option, but an interceptor could still add one.
1102
+ paths = input.update_mask&.paths || []
1103
+ dupe = paths.tally.find { |_, count| count > 1 }&.first
1104
+ raise ArgumentError, "More than one update given for option #{dupe}" if dupe
1105
+
1101
1106
  resp = @client.workflow_service.update_activity_execution_options(
1102
1107
  Api::WorkflowService::V1::UpdateActivityExecutionOptionsRequest.new(
1103
1108
  namespace: @client.namespace,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Temporalio
4
- VERSION = '1.8.0'
4
+ VERSION = '1.9.0'
5
5
  end
@@ -149,7 +149,7 @@ class Temporalio::Client::ActivityExecution::Description < ::Temporalio::Client:
149
149
  def canceled_reason; end
150
150
 
151
151
  sig { returns(T.nilable(String)) }
152
- def static_summary; end
152
+ def summary; end
153
153
 
154
154
  sig { returns(T.nilable(String)) }
155
155
  def static_details; end
@@ -792,7 +792,7 @@ class Temporalio::Client::Interceptor::StartActivityInput < ::Data
792
792
  def search_attributes; end
793
793
 
794
794
  sig { returns(T.nilable(String)) }
795
- def static_summary; end
795
+ def summary; end
796
796
 
797
797
  sig { returns(T.nilable(String)) }
798
798
  def static_details; end
@@ -179,7 +179,7 @@ class Temporalio::Client
179
179
  id_conflict_policy: Integer,
180
180
  retry_policy: T.nilable(Temporalio::RetryPolicy),
181
181
  search_attributes: T.nilable(Temporalio::SearchAttributes),
182
- static_summary: T.nilable(String),
182
+ summary: T.nilable(String),
183
183
  static_details: T.nilable(String),
184
184
  priority: Temporalio::Priority,
185
185
  start_delay: T.nilable(T.any(Integer, Float)),
@@ -201,7 +201,7 @@ class Temporalio::Client
201
201
  id_conflict_policy: T.unsafe(nil),
202
202
  retry_policy: T.unsafe(nil),
203
203
  search_attributes: T.unsafe(nil),
204
- static_summary: T.unsafe(nil),
204
+ summary: T.unsafe(nil),
205
205
  static_details: T.unsafe(nil),
206
206
  priority: T.unsafe(nil),
207
207
  start_delay: T.unsafe(nil),
@@ -225,7 +225,7 @@ class Temporalio::Client
225
225
  id_conflict_policy: Integer,
226
226
  retry_policy: T.nilable(Temporalio::RetryPolicy),
227
227
  search_attributes: T.nilable(Temporalio::SearchAttributes),
228
- static_summary: T.nilable(String),
228
+ summary: T.nilable(String),
229
229
  static_details: T.nilable(String),
230
230
  priority: Temporalio::Priority,
231
231
  start_delay: T.nilable(T.any(Integer, Float)),
@@ -247,7 +247,7 @@ class Temporalio::Client
247
247
  id_conflict_policy: T.unsafe(nil),
248
248
  retry_policy: T.unsafe(nil),
249
249
  search_attributes: T.unsafe(nil),
250
- static_summary: T.unsafe(nil),
250
+ summary: T.unsafe(nil),
251
251
  static_details: T.unsafe(nil),
252
252
  priority: T.unsafe(nil),
253
253
  start_delay: T.unsafe(nil),
@@ -50,7 +50,7 @@ module Temporalio
50
50
  def last_deployment_version: -> WorkerDeploymentVersion?
51
51
  def priority: -> Priority
52
52
  def canceled_reason: -> String?
53
- def static_summary: -> String?
53
+ def summary: -> String?
54
54
  def static_details: -> String?
55
55
 
56
56
  private def user_metadata: -> [String?, String?]
@@ -445,7 +445,7 @@ module Temporalio
445
445
  attr_reader id_conflict_policy: ActivityIDConflictPolicy::enum
446
446
  attr_reader retry_policy: RetryPolicy?
447
447
  attr_reader search_attributes: SearchAttributes?
448
- attr_reader static_summary: String?
448
+ attr_reader summary: String?
449
449
  attr_reader static_details: String?
450
450
  attr_reader headers: Hash[String, Object?]
451
451
  attr_reader priority: Priority
@@ -467,7 +467,7 @@ module Temporalio
467
467
  id_conflict_policy: ActivityIDConflictPolicy::enum,
468
468
  retry_policy: RetryPolicy?,
469
469
  search_attributes: SearchAttributes?,
470
- static_summary: String?,
470
+ summary: String?,
471
471
  static_details: String?,
472
472
  headers: Hash[String, Object?],
473
473
  priority: Priority,
@@ -152,7 +152,7 @@ module Temporalio
152
152
  ?id_conflict_policy: ActivityIDConflictPolicy::enum,
153
153
  ?retry_policy: RetryPolicy?,
154
154
  ?search_attributes: SearchAttributes?,
155
- ?static_summary: String?,
155
+ ?summary: String?,
156
156
  ?static_details: String?,
157
157
  ?priority: Priority,
158
158
  ?start_delay: duration?,
@@ -174,7 +174,7 @@ module Temporalio
174
174
  ?id_conflict_policy: ActivityIDConflictPolicy::enum,
175
175
  ?retry_policy: RetryPolicy?,
176
176
  ?search_attributes: SearchAttributes?,
177
- ?static_summary: String?,
177
+ ?summary: String?,
178
178
  ?static_details: String?,
179
179
  ?priority: Priority,
180
180
  ?start_delay: duration?,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temporalio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Temporal Technologies Inc