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
feature: Warn when namespace
is not specified for a plugin
#8337
Comments
Hey @haleemur, thanks for raising! I think the problem is Meltano uses meltano/src/meltano/core/plugin/project_plugin.py Lines 109 to 112 in b54c1c2
But otherwise the property is not really required. That makes me think we may need to:
Number 1 and 2 are probably the easiest. |
Thanks @edgarrmondragon, I have a slight preference towards option 1 as its the simplest code change, and will suffice. If the documentation is improved according to #3116, maybe we should also update the warning message to point to it. Option 2 feels a bit incorrect in the sense that the Option 3 sounds great, I just don't know yet what it would be. |
On further thought, maybe meltano should test whether |
Feature scope
CLI (options, error messages, logging, etc.)
Description
In the current meltano version, the plugin's property
namespace
is required. However, when a plugin install fails due tonamespace
not being specified, an error like the following is shown to the user:Users trying to update existing projects or trying to add new plugins would likely spend hours trying to figure this out if the error message is not improved.
We faced this error when investigating whether our workloads would continue to work as expected with a new meltano version.
The text was updated successfully, but these errors were encountered: