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

Spawner capabilities #6107

Open
clebergnu opened this issue Jan 27, 2025 · 0 comments
Open

Spawner capabilities #6107

clebergnu opened this issue Jan 27, 2025 · 0 comments

Comments

@clebergnu
Copy link
Contributor

clebergnu commented Jan 27, 2025

Is your feature request related to a problem? Please describe.
Different spawners have different capabilities currently implemented. And some spawners may never have some features implemented because of intrinsic limitations. Currently, there's no way for users to know if a capability is available, other than trial and error.

Describe the solution you'd like
Users should be able to tell right away if a feature is available. This can be done through information built into the spawners themselves (preferably), or at the very least through documentation and clear error messages.

This could be done through extended plugin information, implemented at a higher level, but used for spawner plugins:

$ avocado plugins --capabilities
Plugins that spawn tasks and know about their status (spawner):
lxc     LXC (container) based spawner
        Automatic environment provisioning: no
        Avocado deployment: yes
        Environment preservation: yes
        Filesystem sharing: no

podman  Podman (container) based spawner
        Automatic environment provisioning: yes
        Avocado deployment: yes
        Environment preservation: yes
        Filesystem sharing: yes

process Process based spawner
        Automatic environment provisioning: yes
        Avocado deployment: yes
        Environment preservation: no
        Filesystem sharing: yes

Describe alternatives you've considered
A command such as avocado spawners-info could be implemented specifically for extended information of spawners capabilities.

@clebergnu clebergnu added this to the 111 - Codename TBD milestone Jan 27, 2025
@mr-avocado mr-avocado bot moved this to Triage in Default project Jan 27, 2025
@clebergnu clebergnu moved this from Triage to Short Term (Current Q) Backlog in Default project Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Short Term (Current Q) Backlog
Development

No branches or pull requests

1 participant