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

fix: wait for provisioner #3140

Closed
wants to merge 9 commits into from
Closed

Conversation

stuartwdouglas
Copy link
Collaborator

No description provided.

@stuartwdouglas stuartwdouglas added the run-all A PR with this label will run the full set of CI jobs in the PR rather than in the merge queue label Oct 16, 2024
@stuartwdouglas stuartwdouglas requested a review from a team as a code owner October 16, 2024 21:25
@stuartwdouglas stuartwdouglas requested review from alecthomas and removed request for a team October 16, 2024 21:25
This was referenced Oct 16, 2024
@stuartwdouglas stuartwdouglas requested a review from a team as a code owner October 16, 2024 21:38
@stuartwdouglas stuartwdouglas requested review from matt2e and removed request for a team October 16, 2024 21:38
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/provisioner-wait branch 6 times, most recently from 93b7aee to d04c190 Compare October 17, 2024 01:52
@stuartwdouglas stuartwdouglas requested a review from a team as a code owner October 17, 2024 01:52
@stuartwdouglas stuartwdouglas requested review from deniseli and removed request for a team October 17, 2024 01:52
@stuartwdouglas stuartwdouglas marked this pull request as draft October 17, 2024 02:38
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/provisioner-wait branch 3 times, most recently from 9688e4b to 8a660ea Compare October 17, 2024 03:19
@@ -27,7 +27,7 @@ type CommonProvisionerConfig struct {
}

type Config struct {
Bind *url.URL `help:"Socket to bind to." default:"http://127.0.0.1:8893" env:"FTL_PROVISIONER_BIND"`
Bind *url.URL `help:"Socket to bind to." default:"http://127.0.0.1:8894" env:"FTL_PROVISIONER_BIND"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we want to use one less than the default controller port...
8893 and can legitimately be taken up by other controllers, runners, language plugins etc.
As in running ftl build could prevent the provisioner being able to start which is surprising.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(The language plugin stuff is only half in main atm)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been doing hacky step in a few places to try and not use the controller port in other commands: https://github.com/TBD54566975/ftl/blob/main/frontend/cli/cmd_schema_diff.go#L51

@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/provisioner-wait branch 3 times, most recently from 5bc2d51 to a32156a Compare October 22, 2024 23:23
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/provisioner-wait branch 2 times, most recently from 43d0418 to a85b2e0 Compare October 23, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-all A PR with this label will run the full set of CI jobs in the PR rather than in the merge queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants