aspect-build / aspect-cli

correct, fast, usable: choose three
https://aspect.build/cli
Apache License 2.0
92 stars 21 forks source link

Figure out plugin protocol versioning evolution #120

Open f0rmiga opened 2 years ago

f0rmiga commented 2 years ago

Right now, we don't test or support older protocol versions. We need to come up with a better story for this. Perhaps the SDK could do some work when a plugin is too old and doesn't support a specific method? This task is broad and the outcome should be a small design doc with some POC.

alexeagle commented 2 years ago

Note that terraform has an extensive doc on versioning: https://github.com/hashicorp/terraform/tree/main/docs/plugin-protocol

I'd strongly prefer that we follow that as much as possible - part of our decision to use the hashicorp go-plugin system was that this is a solved problem.