Skip to content

Commit 1557b14

Browse files
authored
worker: fix problems in shared nothing worker (#1573)
* **New Features** * Added distributed DAG execution support with coordinator integration for remote execution on worker nodes. * Introduced live remote progress display with spinner animation for distributed DAG runs. * Added DAG run cancellation support for distributed executions. * Enabled real-time scheduler log streaming to coordinator. * Implemented graceful shutdown handling via SIGINT/SIGTERM signals. * **Improvements** * Automatic worker ID derivation from hostname when not explicitly configured. * Enhanced log file error handling with proper 404 detection in UI.
1 parent cd2b060 commit 1557b14

File tree

420 files changed

+7190
-8115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

420 files changed

+7190
-8115
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"request": "launch",
3535
"mode": "auto",
3636
"program": "${workspaceFolder}/cmd/",
37-
"args": ["worker", "--worker.labels", "xxx:yyy"]
37+
"args": ["worker", "--worker.labels", "foo=bar"]
3838
},
3939
{
4040
"name": "Start",

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"os"
55

66
"github.com/dagu-org/dagu/internal/cmd"
7-
"github.com/dagu-org/dagu/internal/common/config"
7+
"github.com/dagu-org/dagu/internal/cmn/config"
88
"github.com/spf13/cobra"
99

1010
_ "github.com/dagu-org/dagu/internal/runtime/builtin" // Register built-in executors

cmd/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77

88
"github.com/dagu-org/dagu/internal/cmd"
9-
"github.com/dagu-org/dagu/internal/common/config"
9+
"github.com/dagu-org/dagu/internal/cmn/config"
1010
"github.com/spf13/cobra"
1111
"github.com/stretchr/testify/assert"
1212
)

go.mod

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ require (
66
dario.cat/mergo v1.0.2
77
github.com/adrg/xdg v0.5.3
88
github.com/bmatcuk/doublestar/v4 v4.8.0
9-
github.com/charmbracelet/bubbles v0.21.0
10-
github.com/charmbracelet/bubbletea v1.3.6
119
github.com/coder/websocket v1.8.14
1210
github.com/containerd/errdefs v1.0.0
1311
github.com/containerd/platforms v0.2.1
@@ -73,7 +71,6 @@ require (
7371
github.com/andybalholm/brotli v1.2.0 // indirect
7472
github.com/ashanbrown/forbidigo/v2 v2.3.0 // indirect
7573
github.com/ashanbrown/makezero/v2 v2.1.0 // indirect
76-
github.com/atotto/clipboard v0.1.4 // indirect
7774
github.com/bodgit/plumbing v1.3.0 // indirect
7875
github.com/bodgit/sevenzip v1.6.1 // indirect
7976
github.com/bodgit/windows v1.0.1 // indirect
@@ -91,7 +88,6 @@ require (
9188
github.com/dustin/go-humanize v1.0.1 // indirect
9289
github.com/ebitengine/purego v0.9.1 // indirect
9390
github.com/emirpasic/gods v1.18.1 // indirect
94-
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
9591
github.com/gertd/go-pluralize v0.2.1 // indirect
9692
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
9793
github.com/go-git/go-billy/v5 v5.6.2 // indirect
@@ -118,7 +114,6 @@ require (
118114
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
119115
github.com/manuelarte/embeddedstructfieldcheck v0.4.0 // indirect
120116
github.com/manuelarte/funcorder v0.5.0 // indirect
121-
github.com/mattn/go-localereader v0.0.1 // indirect
122117
github.com/mattn/go-shellwords v1.0.12 // indirect
123118
github.com/mikelolasagasti/xz v1.0.1 // indirect
124119
github.com/minio/minlz v1.0.1 // indirect
@@ -127,8 +122,6 @@ require (
127122
github.com/moby/sys/sequential v0.6.0 // indirect
128123
github.com/moby/sys/user v0.4.0 // indirect
129124
github.com/moby/sys/userns v0.1.0 // indirect
130-
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
131-
github.com/muesli/cancelreader v0.2.2 // indirect
132125
github.com/ncruces/go-strftime v0.1.9 // indirect
133126
github.com/nwaples/rardecode/v2 v2.2.0 // indirect
134127
github.com/oklog/run v1.0.0 // indirect
@@ -140,7 +133,6 @@ require (
140133
github.com/pquerna/cachecontrol v0.2.0 // indirect
141134
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
142135
github.com/rhysd/actionlint v1.7.7 // indirect
143-
github.com/sahilm/fuzzy v0.1.1 // indirect
144136
github.com/samber/slog-common v0.19.0 // indirect
145137
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
146138
github.com/skeema/knownhosts v1.3.1 // indirect
@@ -208,7 +200,7 @@ require (
208200
github.com/cespare/xxhash/v2 v2.3.0 // indirect
209201
github.com/charithe/durationcheck v0.0.11 // indirect
210202
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
211-
github.com/charmbracelet/lipgloss v1.1.0
203+
github.com/charmbracelet/lipgloss v1.1.0 // indirect
212204
github.com/charmbracelet/x/ansi v0.9.3 // indirect
213205
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
214206
github.com/charmbracelet/x/term v0.2.1 // indirect

go.sum

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,8 @@ github.com/ashanbrown/forbidigo/v2 v2.3.0 h1:OZZDOchCgsX5gvToVtEBoV2UWbFfI6RKQTi
103103
github.com/ashanbrown/forbidigo/v2 v2.3.0/go.mod h1:5p6VmsG5/1xx3E785W9fouMxIOkvY2rRV9nMdWadd6c=
104104
github.com/ashanbrown/makezero/v2 v2.1.0 h1:snuKYMbqosNokUKm+R6/+vOPs8yVAi46La7Ck6QYSaE=
105105
github.com/ashanbrown/makezero/v2 v2.1.0/go.mod h1:aEGT/9q3S8DHeE57C88z2a6xydvgx8J5hgXIGWgo0MY=
106-
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
107-
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
108106
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
109107
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
110-
github.com/aymanbagabas/go-udiff v0.2.0 h1:TK0fH4MteXUDspT88n8CKzvK0X9O2xu9yQjWpi6yML8=
111-
github.com/aymanbagabas/go-udiff v0.2.0/go.mod h1:RE4Ex0qsGkTAJoQdQQCA0uG+nAzJO/pI/QwceO5fgrA=
112108
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
113109
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
114110
github.com/bitfield/gotestdox v0.2.2 h1:x6RcPAbBbErKLnapz1QeAlf3ospg8efBsedU93CDsnE=
@@ -152,10 +148,6 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF
152148
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
153149
github.com/charithe/durationcheck v0.0.11 h1:g1/EX1eIiKS57NTWsYtHDZ/APfeXKhye1DidBcABctk=
154150
github.com/charithe/durationcheck v0.0.11/go.mod h1:x5iZaixRNl8ctbM+3B2RrPG5t856TxRyVQEnbIEM2X4=
155-
github.com/charmbracelet/bubbles v0.21.0 h1:9TdC97SdRVg/1aaXNVWfFH3nnLAwOXr8Fn6u6mfQdFs=
156-
github.com/charmbracelet/bubbles v0.21.0/go.mod h1:HF+v6QUR4HkEpz62dx7ym2xc71/KBHg+zKwJtMw+qtg=
157-
github.com/charmbracelet/bubbletea v1.3.6 h1:VkHIxPJQeDt0aFJIsVxw8BQdh/F/L2KKZGsK6et5taU=
158-
github.com/charmbracelet/bubbletea v1.3.6/go.mod h1:oQD9VCRQFF8KplacJLo28/jofOI2ToOfGYeFgBBxHOc=
159151
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
160152
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
161153
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
@@ -164,8 +156,6 @@ github.com/charmbracelet/x/ansi v0.9.3 h1:BXt5DHS/MKF+LjuK4huWrC6NCvHtexww7dMayh
164156
github.com/charmbracelet/x/ansi v0.9.3/go.mod h1:3RQDQ6lDnROptfpWuUVIUG64bD2g2BgntdxH0Ya5TeE=
165157
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd h1:vy0GVL4jeHEwG5YOXDmi86oYw2yuYUGqz6a8sLwg0X8=
166158
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs=
167-
github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 h1:payRxjMjKgx2PaCWLZ4p3ro9y97+TVLZNaRZgJwSVDQ=
168-
github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91/go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U=
169159
github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
170160
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
171161
github.com/chavacava/garif v0.1.0 h1:2JHa3hbYf5D9dsgseMKAmc/MZ109otzgNFk5s87H9Pc=
@@ -245,8 +235,6 @@ github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc
245235
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
246236
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
247237
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
248-
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
249-
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
250238
github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q=
251239
github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A=
252240
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
@@ -574,8 +562,6 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky
574562
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
575563
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
576564
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
577-
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
578-
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
579565
github.com/mattn/go-runewidth v0.0.19 h1:v++JhqYnZuu5jSKrk9RbgF5v4CGUjqRfBm05byFGLdw=
580566
github.com/mattn/go-runewidth v0.0.19/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
581567
github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebGE2xrk=
@@ -614,10 +600,6 @@ github.com/moricho/tparallel v0.3.2 h1:odr8aZVFA3NZrNybggMkYO3rgPRcqjeQUlBBFVxKH
614600
github.com/moricho/tparallel v0.3.2/go.mod h1:OQ+K3b4Ln3l2TZveGCywybl68glfLEwFGqvnjok8b+U=
615601
github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A=
616602
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
617-
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
618-
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
619-
github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
620-
github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo=
621603
github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
622604
github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
623605
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
@@ -742,8 +724,6 @@ github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9f
742724
github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ=
743725
github.com/sagikazarmark/locafero v0.7.0 h1:5MqpDsTGNDhY8sGp0Aowyf0qKsPrhewaLSsFaodPcyo=
744726
github.com/sagikazarmark/locafero v0.7.0/go.mod h1:2za3Cg5rMaTMoG/2Ulr9AwtFaIppKXTRYnozin4aB5k=
745-
github.com/sahilm/fuzzy v0.1.1 h1:ceu5RHF8DGgoi+/dR5PsECjCDH1BE3Fnmpo7aVXOdRA=
746-
github.com/sahilm/fuzzy v0.1.1/go.mod h1:VFvziUEIMCrT6A6tw2RFIXPXXmzXbOsSHF0DOI8ZK9Y=
747727
github.com/samber/lo v1.52.0 h1:Rvi+3BFHES3A8meP33VPAxiBZX/Aws5RxrschYGjomw=
748728
github.com/samber/lo v1.52.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0=
749729
github.com/samber/slog-common v0.19.0 h1:fNcZb8B2uOLooeYwFpAlKjkQTUafdjfqKcwcC89G9YI=
@@ -1087,7 +1067,6 @@ golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBc
10871067
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
10881068
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
10891069
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1090-
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
10911070
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
10921071
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
10931072
golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

internal/cmd/agent_executor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/dagu-org/dagu/internal/common/logger"
8-
"github.com/dagu-org/dagu/internal/common/logger/tag"
7+
"github.com/dagu-org/dagu/internal/cmn/logger"
8+
"github.com/dagu-org/dagu/internal/cmn/logger/tag"
99
"github.com/dagu-org/dagu/internal/core"
1010
"github.com/dagu-org/dagu/internal/runtime/agent"
1111
"golang.org/x/term"

internal/cmd/agent_executor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"testing"
77

8-
"github.com/dagu-org/dagu/internal/common/config"
8+
"github.com/dagu-org/dagu/internal/cmn/config"
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/require"
1111
)

internal/cmd/cleanup.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strconv"
88
"strings"
99

10-
"github.com/dagu-org/dagu/internal/core/execution"
10+
"github.com/dagu-org/dagu/internal/core/exec"
1111
"github.com/spf13/cobra"
1212
)
1313

@@ -74,9 +74,9 @@ func runCleanup(ctx *Context, args []string) error {
7474
}
7575

7676
// Build options for RemoveOldDAGRuns
77-
var opts []execution.RemoveOldDAGRunsOption
77+
var opts []exec.RemoveOldDAGRunsOption
7878
if dryRun {
79-
opts = append(opts, execution.WithDryRun())
79+
opts = append(opts, exec.WithDryRun())
8080
}
8181

8282
// Dry run mode - show what would be deleted

internal/cmd/cleanup_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/dagu-org/dagu/internal/cmd"
1010
"github.com/dagu-org/dagu/internal/core"
11-
"github.com/dagu-org/dagu/internal/core/execution"
11+
"github.com/dagu-org/dagu/internal/core/exec"
1212
"github.com/dagu-org/dagu/internal/test"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/stretchr/testify/require"
@@ -210,11 +210,11 @@ func TestCleanupCommandDirectStore(t *testing.T) {
210210
testDAG,
211211
oldTime,
212212
"old-run-id",
213-
execution.NewDAGRunAttemptOptions{},
213+
exec.NewDAGRunAttemptOptions{},
214214
)
215215
require.NoError(t, err)
216216
require.NoError(t, oldAttempt.Open(th.Context))
217-
require.NoError(t, oldAttempt.Write(th.Context, execution.DAGRunStatus{
217+
require.NoError(t, oldAttempt.Write(th.Context, exec.DAGRunStatus{
218218
Name: dagName,
219219
DAGRunID: "old-run-id",
220220
Status: core.Succeeded,
@@ -227,11 +227,11 @@ func TestCleanupCommandDirectStore(t *testing.T) {
227227
testDAG,
228228
recentTime,
229229
"recent-run-id",
230-
execution.NewDAGRunAttemptOptions{},
230+
exec.NewDAGRunAttemptOptions{},
231231
)
232232
require.NoError(t, err)
233233
require.NoError(t, recentAttempt.Open(th.Context))
234-
require.NoError(t, recentAttempt.Write(th.Context, execution.DAGRunStatus{
234+
require.NoError(t, recentAttempt.Write(th.Context, exec.DAGRunStatus{
235235
Name: dagName,
236236
DAGRunID: "recent-run-id",
237237
Status: core.Succeeded,

0 commit comments

Comments
 (0)