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

Deploying modules to prod times out with invalid schema failures #2095

Closed
matt2e opened this issue Jul 17, 2024 · 2 comments
Closed

Deploying modules to prod times out with invalid schema failures #2095

matt2e opened this issue Jul 17, 2024 · 2 comments
Labels
triage Issue needs triaging

Comments

@matt2e
Copy link
Collaborator

matt2e commented Jul 17, 2024

[ask me for full logs]
Renamed modules: MM, EX

debug:MM: Waiting for deployment dpl-MM-588lmgdyc2g8nfbg to become ready
...
debug:EX: Generating main module
debug:EX: Tidying go.mod files
...
debug:EX: Compiling
...
info:EX: Module built (14.46s)
info:EX: Deploying module
debug:EX: Uploading 1/1 files
...
debug:EX: Uploaded ___/modules/EX/.ftl/main as e64a93547727f8cc087d89a1a32d80094e243c2acafbb096acf1e1dc444fcd40:main
debug:EX: Unary RPC failed: unknown: invalid module schema: invalid schema: /home/runner/_work/__/___/___/modules/EX/___.go:_____: unknown reference "MM.____", is the type annotated and exported?: /xyz.block.ftl.v1.ControllerService/CreateDeployment
... [more logs]

Error: The action 'Deploy pfi' has timed out after 10 minutes.

Some thoughts:
Did MM get deployed fully?
EX is built before MM get's deployed?
Shouldn't it wait for it's dependency to be active?

@matt2e
Copy link
Collaborator Author

matt2e commented Jul 17, 2024

@alec-brooks:

We were getting similar invalid schema logs in previous deploys that ended up being successful, but those seemingly didn’t brick those endpoints after being deployed

@matt2e
Copy link
Collaborator Author

matt2e commented Jul 18, 2024

Looks fixed due to #2110

@matt2e matt2e closed this as completed Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issue needs triaging
Projects
None yet
Development

No branches or pull requests

1 participant