@@ -873,6 +873,8 @@ message WorkflowExecutionOptionsUpdatedEventAttributes {
873873 // Priority override upserted in this event. Represents the full priority; not just partial fields.
874874 // Ignored if nil.
875875 temporal.api.common.v1.Priority priority = 6 ;
876+ // Time skipping configuration upserted in this event.
877+ temporal.api.workflow.v1.TimeSkippingConfig time_skipping_config = 7 ;
876878}
877879
878880// Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes
@@ -965,6 +967,15 @@ message WorkflowExecutionUnpausedEventAttributes {
965967 string request_id = 3 ;
966968}
967969
970+ // Attributes for an event marking that a duration was skipped for a workflow execution,
971+ // either via explicit api call or automatic time skipping.
972+ message WorkflowExecutionTimeSkippedEventAttributes {
973+ // (-- api-linter: core::0140::prepositions=disabled
974+ // aip.dev/not-precedent: "to" is used to indicate target time point. --)
975+ google.protobuf.Timestamp to_time = 1 ;
976+ google.protobuf.Duration skipped_duration = 2 ;
977+ }
978+
968979// Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.
969980message NexusOperationScheduledEventAttributes {
970981 // Endpoint name, must exist in the endpoint registry.
@@ -982,6 +993,8 @@ message NexusOperationScheduledEventAttributes {
982993 // Calls are retried internally by the server.
983994 // (-- api-linter: core::0140::prepositions=disabled
984995 // aip.dev/not-precedent: "to" is used to indicate interval. --)
996+ // (-- api-linter: core::0142::time-field-names=disabled
997+ // aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --)
985998 google.protobuf.Duration schedule_to_close_timeout = 5 ;
986999 // Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal
9871000 // activities and child workflows, these are transmitted to Nexus operations that may be external and are not
@@ -1199,6 +1212,7 @@ message HistoryEvent {
11991212 NexusOperationCancelRequestFailedEventAttributes nexus_operation_cancel_request_failed_event_attributes = 62 ;
12001213 WorkflowExecutionPausedEventAttributes workflow_execution_paused_event_attributes = 63 ;
12011214 WorkflowExecutionUnpausedEventAttributes workflow_execution_unpaused_event_attributes = 64 ;
1215+ WorkflowExecutionTimeSkippedEventAttributes workflow_execution_time_skipped_event_attributes = 65 ;
12021216 }
12031217}
12041218
0 commit comments