You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With echo and time, echo should fail to build if time isn't deployed, which it did. But once time deployed successfully, echo never tried to rebuild again, so the command was hung until another change was detected or it was restarted. Here's the log:
ftl dev go
info: Building go module 'echo'
error: Error deploying module /Users/wesbillman/dev/ftl/examples/go/echo. Will retry: failed to build module: failed to extract module schema: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:4:1: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:27:1: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:27:71: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:29:2: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:29:16: call first argument must be a functionbut is an unresolved reference to time.Time
info: Building go module 'time'
go: module . listed in go.work file requires go >= 1.22.0, but go.work lists go 1.21.6; to update it:
go work use
error: Error deploying module /Users/wesbillman/dev/ftl/examples/go/time. Will retry: failed to build module: exit status 1
info: Building go module 'echo'
error: Error deploying module /Users/wesbillman/dev/ftl/examples/go/echo. Will retry: failed to build module: failed to extract module schema: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:4:1: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:27:1: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:27:71: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:29:2: /Users/wesbillman/dev/ftl/examples/go/echo/echo.go:29:16: call first argument must be a functionbut is an unresolved reference to time.Time
info: Building go module 'time'
go: module . listed in go.work file requires go >= 1.22.0, but go.work lists go 1.21.6; to update it:
go work use
error: Error deploying module /Users/wesbillman/dev/ftl/examples/go/time. Will retry: failed to build module: exit status 1
warn: Detected change in file /Users/wesbillman/dev/ftl/examples/go/time/go.mod
info: Building go module 'time'
info: Successfully built module 'time'in 2.87s
info: Preparing module 'time'for deployment
info: Successfully created deployment time-f7a182361c
At this point, I would have expected echo to attempt to build.
The text was updated successfully, but these errors were encountered:
With
echo
andtime
,echo
should fail to build iftime
isn't deployed, which it did. But oncetime
deployed successfully,echo
never tried to rebuild again, so the command was hung until another change was detected or it was restarted. Here's the log:At this point, I would have expected
echo
to attempt to build.The text was updated successfully, but these errors were encountered: