-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Unify plugin endpoint configuration for api
and worker
: migrate from PLUGIN_DAEMON_URL
and PLUGIN_DAEMON_KEY
to PLUGIN_API_URL
/PLUGIN_API_KEY
#13214
Conversation
…e `PLUGIN_API_URL` and `PLUGIN_API_KEY` for `PLUGIN_DAEMON_URL` and `PLUGIN_DAEMON_KEY`
api
and worker
: PLUGIN_DAEMON_URL
and PLUGIN_DAEMON_KEY
-> PLUGIN_API_URL
/PLUGIN_API_KEY
api
and worker
: migrate from PLUGIN_DAEMON_URL
and PLUGIN_DAEMON_KEY
to PLUGIN_API_URL
/PLUGIN_API_KEY
Please fix the lint errors. :) |
Given that there's ongoing PR that works on ruff lint (#13193) and all of the python code remain untouched in this PR while ruff prompts
It's unlikely to be caused by this PR. Shall we resolved this with a separate PR and proceed with this PR for now (or at least come to a conclusion whether it's a good idea to migrate environment variables first). @crazywoola |
Let me see. |
We've located the source and issued a separate PR to resolve this. @crazywoola |
|
I'm with the idea that |
|
You can rebase to plugins/beta to resolve the CI errors |
Resolved linting error stated above. I've also issued another PR that unify environment variables as |
Resolved #13239 |
Thumbs up for this. |
Unify plugin endpoint configuration for
api
andworker
: SubstitutePLUGIN_API_URL
andPLUGIN_API_KEY
forPLUGIN_DAEMON_URL
andPLUGIN_DAEMON_KEY
This is an alternative solution to #13239, which does things the other way around.
Fixes #13113
Summary
PR #13055 introduces
PLUGIN_API_URL
andPLUGIN_API_KEY
indocker-compose.yaml
, which coexists with the originalPLUGIN_DAEMON_URL
andPLUGIN_DAEMON_KEY
(the ones that actually take effect) and caused confusions that ends up inInternalServerError
(#12664). This PR unify the environment variables by migrating fromPLUGIN_DAEMON_URL
andPLUGIN_DAEMON_KEY
toPLUGIN_API_URL
andPLUGIN_API_KEY
in order to unify the configuration and fix the issues caused by this confusion, namelyapi
on specifying entrypoint forpluginDaemon
in v1.0.0-beta.1 #13113Tip
Close issue syntax:
Fixes #<issue number>
orResolves #<issue number>
, see documentation for more details.Screenshots
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods