Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echo module fails to deploy intermittently #3692

Closed
wesbillman opened this issue Dec 10, 2024 · 0 comments
Closed

echo module fails to deploy intermittently #3692

wesbillman opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wesbillman
Copy link
Collaborator

Getting random errors when running ftl dev locally. Specifically this error

error:controller0: Invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?

Here's a snippet of the relevant log with debug messages. I can provide more context around this as well if needed. In the log below, it appears we try to deploy echo before time reports "Online"

debug:echo:deploy: Uploading 0/2 files
debug:provisioner0: Skipping task for module echo with provisioner dev
debug:provisioner0: Skipping task for module echo with provisioner migration
debug:provisioner0: Adding task for module echo: controller (module)
debug:provisioner0: Adding task for module echo: runner (runner)
debug:provisioner0: Running deployment for module echo
debug:provisioner0: Starting task echo: controller
debug:provisioner0: started a task with token f231b2b1-1ffa-42c3-b00d-8720bec863c7
debug:provisioner0: Provisioning module: echo
error:controller0: Invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?
debug:controller0: Unary RPC failed: invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?: /xyz.block.ftl.v1.ControllerService/CreateDeployment
debug:provisioner0: Unary RPC failed: unknown: invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?: /xyz.block.ftl.v1.ControllerService/CreateDeployment
error:provisioner0: failed to provision resource echo: failed to create deployment: unknown: invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?
debug:time:runner1: Ping succeeded in 1.32s
debug:time: Online
debug:time:runner1: Deployed dpl-time-xgxsifdweazmz2r
@wesbillman wesbillman added the bug Something isn't working label Dec 10, 2024
@ftl-robot ftl-robot mentioned this issue Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants