-
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
feat: language plugins require a bind allocator to be provided #3069
Conversation
24278b1
to
717b2a9
Compare
@@ -1,7 +1,7 @@ | |||
env = { | |||
"DBMATE_MIGRATIONS_DIR": "${HERMIT_ENV}/backend/controller/sql/schema", | |||
"DBMATE_NO_DUMP_SCHEMA": "true", | |||
"FTL_ENDPOINT": "http://localhost:8892", | |||
"FTL_ENDPOINT": "http://127.0.0.1:8892", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This prevents MacOS from showing alert dialogs for incoming connections
d50685e
to
6e63007
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really would love to not have to use the port allocator, but I couldn't think of a better way. Connect doesn't support Unix sockets, which would have been ideal 🙁
6e63007
to
1f7c673
Compare
This is a prerequisite for external language plugins. This PR makes sure
languageplugin.New()
is called with a bind allocator so that external plugins will soon able to able to acquire a bind url.