-
Notifications
You must be signed in to change notification settings - Fork 7
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
adding an ftl.Call
to another module causes infinite build/deploy loop
#1202
Comments
I was able to catch a glipse of this issue happening and it seemed like |
Ok got a log with debug: debug: Extracting dependencies for module "rates"
info:rates: Building module
debug:rates: Generating external modules
debug:rates: Extracting schema
debug: changed module "rates": */Users/wesbillman/dev/deleteme/rates/go.mod
debug:rates: Generating main module
debug:rates: Tidying go.mod files
debug:rates: Compiling
info:rates: Deploying module
debug:rates: Uploading 0/1 files
debug:controller0: Created deployment rates-af886ed5c8
debug:controller0: Replace deployment for: rates-af886ed5c8
debug:controller0: Deployment already exists: rates-af886ed5c8
debug:rates: Waiting for deployment rates-af886ed5c8 to become ready
debug: changed module "rates": */Users/wesbillman/dev/deleteme/rates/go.mod
debug: Extracting dependencies for module "rates"
info:rates: Building module
debug:rates: Generating external modules
debug:rates: Extracting schema
debug:rates: Generating main module
debug:rates: Tidying go.mod files
debug: changed module "rates": */Users/wesbillman/dev/deleteme/rates/go.mod
debug:rates: Compiling
info:rates: Deploying module
debug:rates: Uploading 0/1 files
debug:controller0: Created deployment rates-af886ed5c8
debug:controller0: Replace deployment for: rates-af886ed5c8
debug:controller0: Deployment already exists: rates-af886ed5c8
debug:rates: Waiting for deployment rates-af886ed5c8 to become ready
debug: changed module "rates": */Users/wesbillman/dev/deleteme/rates/go.mod
debug: Extracting dependencies for module "rates"
info:rates: Building module
debug:rates: Generating external modules
debug:rates: Extracting schema
debug:rates: Generating main module
debug:rates: Tidying go.mod files
debug:rates: Compiling
info:rates: Deploying module
debug:rates: Uploading 0/1 files
debug:controller0: Created deployment rates-af886ed5c8
debug:controller0: Replace deployment for: rates-af886ed5c8
debug:controller0: Deployment already exists: rates-af886ed5c8
debug:rates: Waiting for deployment rates-af886ed5c8 to become ready
debug: Extracting dependencies for module "rates"
info:rates: Building module
debug:rates: Generating external modules
debug:rates: Extracting schema
debug: changed module "rates": */Users/wesbillman/dev/deleteme/rates/go.mod
debug:rates: Generating main module
debug:rates: Tidying go.mod files
debug:rates: Compiling
info:rates: Deploying module
debug:rates: Uploading 0/1 files
debug:controller0: Created deployment rates-af886ed5c8
debug:controller0: Replace deployment for: rates-af886ed5c8
debug:controller0: Deployment already exists: rates-af886ed5c8
debug:rates: Waiting for deployment rates-af886ed5c8 to become ready
debug: changed module "rates": */Users/wesbillman/dev/deleteme/rates/go.mod And it seems like The final, good module ftl/rates
go 1.22.1
toolchain go1.22.2 |
fixes: #1202 Changes: - file watch service now allows transactions that pause file update logic on modules, and allows specific file changes to be explicitly allowed (ie does not count as an update that triggers another build) - building a go module uses a transaction to handle `go mod tidy` commands
module code is exact same as #1199 . here's what happened when i wrote that
ftl.Call
for the first time:ftlbug.mov
no compile errors in project.
The text was updated successfully, but these errors were encountered: