Skip to content

Commit 22ef401

Browse files
committed
Update durabletask ref
Signed-off-by: joshvanl <me@joshvanl.dev>
1 parent c974fd4 commit 22ef401

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

examples/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ require (
3737
gopkg.in/yaml.v3 v3.0.1 // indirect
3838
)
3939

40-
replace github.com/dapr/durabletask-go => github.com/joshvanl/durabletask-go v0.0.0-20250910152745-a4b2ecdcc4a5
40+
replace github.com/dapr/durabletask-go => github.com/joshvanl/durabletask-go v0.0.0-20250910153422-afb05cb6337b

examples/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
3434
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
3535
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
3636
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
37-
github.com/joshvanl/durabletask-go v0.0.0-20250910152745-a4b2ecdcc4a5 h1:3908DYndv/MYT8fbAo0fFYX1xczKSeW2tLvps6Gal9g=
38-
github.com/joshvanl/durabletask-go v0.0.0-20250910152745-a4b2ecdcc4a5/go.mod h1:0Ts4rXp74JyG19gDWPcwNo5V6NBZzhARzHF5XynmA7Q=
37+
github.com/joshvanl/durabletask-go v0.0.0-20250910153422-afb05cb6337b h1:Teu3iYySR1Ux6RLXn8fvj9AP0wH9AOL9P5REITO+S10=
38+
github.com/joshvanl/durabletask-go v0.0.0-20250910153422-afb05cb6337b/go.mod h1:0Ts4rXp74JyG19gDWPcwNo5V6NBZzhARzHF5XynmA7Q=
3939
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
4040
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
4141
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=

examples/workflow-parallel/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func main() {
4949
if err != nil {
5050
log.Fatalf("failed to get workflow: %v", err)
5151
}
52-
fmt.Printf("workflow status: %s\n", metadata.RuntimeStatus.String())
52+
fmt.Printf("workflow status: %s\n", metadata.RuntimeStatus().String())
5353

5454
err = wclient.TerminateWorkflow(ctx, id)
5555
if err != nil {

examples/workflow-taskexecutionid/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func main() {
4545
if err != nil {
4646
log.Fatalf("failed to get workflow: %v", err)
4747
}
48-
fmt.Printf("workflow status: %s\n", metadata.RuntimeStatus.String())
48+
fmt.Printf("workflow status: %s\n", metadata.RuntimeStatus().String())
4949

5050
err = wclient.TerminateWorkflow(ctx, id)
5151
if err != nil {

examples/workflow/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func main() {
8080
log.Fatalf("failed to fetch workflow: %v", err)
8181
}
8282

83-
if respFetch.RuntimeStatus != workflow.StatusSuspended {
83+
if respFetch.RuntimeStatus() != workflow.StatusSuspended {
8484
log.Fatalf("workflow not paused: %s: %v", respFetch.RuntimeStatus, respFetch)
8585
}
8686

@@ -97,7 +97,7 @@ func main() {
9797
log.Fatalf("failed to get workflow: %v", err)
9898
}
9999

100-
if respFetch.RuntimeStatus != workflow.StatusRunning {
100+
if respFetch.RuntimeStatus() != workflow.StatusRunning {
101101
log.Fatalf("workflow not running")
102102
}
103103

@@ -132,7 +132,7 @@ func main() {
132132
log.Fatalf("failed to get workflow: %v", err)
133133
}
134134

135-
fmt.Printf("workflow status: %v\n", respFetch.RuntimeStatus)
135+
fmt.Printf("workflow status: %v\n", respFetch.RuntimeStatus().String())
136136

137137
// Purge workflow test
138138
err = wclient.PurgeWorkflowState(ctx, instanceID)
@@ -160,7 +160,7 @@ func main() {
160160
if err != nil {
161161
log.Fatalf("failed to get workflow: %v", err)
162162
}
163-
fmt.Printf("workflow status: %s\n", metadata.RuntimeStatus.String())
163+
fmt.Printf("workflow status: %s\n", metadata.RuntimeStatus().String())
164164

165165
err = wclient.TerminateWorkflow(ctx, id)
166166
if err != nil {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ require (
3131
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
3232
)
3333

34-
replace github.com/dapr/durabletask-go => github.com/joshvanl/durabletask-go v0.0.0-20250910152745-a4b2ecdcc4a5
34+
replace github.com/dapr/durabletask-go => github.com/joshvanl/durabletask-go v0.0.0-20250910153422-afb05cb6337b

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
2121
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
2222
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
2323
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
24-
github.com/joshvanl/durabletask-go v0.0.0-20250910152745-a4b2ecdcc4a5 h1:3908DYndv/MYT8fbAo0fFYX1xczKSeW2tLvps6Gal9g=
25-
github.com/joshvanl/durabletask-go v0.0.0-20250910152745-a4b2ecdcc4a5/go.mod h1:0Ts4rXp74JyG19gDWPcwNo5V6NBZzhARzHF5XynmA7Q=
24+
github.com/joshvanl/durabletask-go v0.0.0-20250910153422-afb05cb6337b h1:Teu3iYySR1Ux6RLXn8fvj9AP0wH9AOL9P5REITO+S10=
25+
github.com/joshvanl/durabletask-go v0.0.0-20250910153422-afb05cb6337b/go.mod h1:0Ts4rXp74JyG19gDWPcwNo5V6NBZzhARzHF5XynmA7Q=
2626
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
2727
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
2828
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=

0 commit comments

Comments
 (0)