Skip to content

Commit

Permalink
Update-with-Start incompatible options (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanos authored Oct 28, 2024
1 parent 2bd372c commit 4afb587
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ type (
// │ │ │ │ │
// │ │ │ │ │
// * * * * *
// Cannot be set the same time as a StartDelay or WithStartOperation.
CronSchedule string

// Memo - Optional non-indexed info that will be shown in list workflow.
Expand All @@ -712,6 +713,7 @@ type (
TypedSearchAttributes SearchAttributes

// EnableEagerStart - request eager execution for this workflow, if a local worker is available.
// Cannot be set the same time as a WithStartOperation.
//
// WARNING: Eager start does not respect worker versioning. An eagerly started workflow may run on
// any available local worker even if that worker is not in the default build ID set.
Expand All @@ -721,7 +723,7 @@ type (

// StartDelay - Time to wait before dispatching the first workflow task.
// A signal from signal with start will not trigger a workflow task.
// Cannot be set the same time as a CronSchedule.
// Cannot be set the same time as a CronSchedule or WithStartOperation.
StartDelay time.Duration

// StaticSummary - Single-line fixed summary for this workflow execution that will appear in UI/CLI. This can be
Expand Down

0 comments on commit 4afb587

Please sign in to comment.