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

Go builds are queing up rather than building once #4064

Open
matt2e opened this issue Jan 16, 2025 · 1 comment
Open

Go builds are queing up rather than building once #4064

matt2e opened this issue Jan 16, 2025 · 1 comment
Assignees
Labels
go Go runtime

Comments

@matt2e
Copy link
Collaborator

matt2e commented Jan 16, 2025

Steps to repro:

  • ftl dev
  • Modify a file in a go module once per second for a while
  • Look at what FTL is doing

Expected result:

  • FTL will notice all the file changes and then attempt a build as long as there have been updates since the last build

Actual Result:

  • Each saved change schedules another build
Screenshot 2025-01-16 at 12 24 59 pm
@matt2e matt2e added the go Go runtime label Jan 16, 2025
@matt2e matt2e self-assigned this Jan 16, 2025
@matt2e
Copy link
Collaborator Author

matt2e commented Jan 16, 2025

Not sure how to repro.
I wonder if there are multiple build calls happening at once? That'd explain why each one has an increasing duration as it waits for a flock on the module...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Go runtime
Projects
None yet
Development

No branches or pull requests

1 participant