Repository navigation
docs: Added FAQ entries for upgrading/uninstalling - #5515
Conversation
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>
|
I think the most common source of confusion on upgrades is the mismatch between versions:
We're looking for ways to reduce this, for example:
In the meantime I think it's important to highlight that you need to be aware that you need to make sure you're using compatible versions between these components. |
What's the "rule" or guidelines the user should follow to check compatibility? Is it simply that Engine x.y will work with SDK x.y? Also, what is the compatibility check for versions < 0.8? |
|
Each release notes the compatible engine. They've been mostly the same for CLI/Engine and SDKs, except for Go which has been 1 minor further due to historical reasons in the beginning of setting imports from
The way this works is that each SDK version has the supported engine version hardcoded in it: dagger/sdk/python/src/dagger/engine/_version.py Lines 1 to 3 in 0889c09 dagger/sdk/go/internal/engineconn/version.gen.go Lines 1 to 5 in 0889c09 So the ideal version for the Engine is the one that the SDK version specifically supports, and you check for it in the release notes. One of the improvements to make this more visible is by making the SDKs check compatibility in every Connect: Here's the current rules: From this PR that we'll include in v0.8.0: |
|
@vikram-dagger, for clarity 👇
If you're running from the CLI, or providing the CLI for the SDK to use (
This has always worked the same. What's changing in 0.8 is that we're adding a check after establishing a connection but that may not show to the user. It's important to document it and this is the main motivator for having upgrade instructions. In future versions we'll be reducing the potential of incompatibility but that's not today. |
|
I linked this to: |
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>
|
Looking at this now @vikram-dagger @helderco |
|
I am super keen on getting this one merged within the next 2h. We are really close to having everything in place for tomorrow's release 💪 |
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Co-authored-by: Helder Correia <[email protected]> Signed-off-by: vikram-dagger <[email protected]>
Co-authored-by: Helder Correia <[email protected]> Signed-off-by: vikram-dagger <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>


If applied, this commit adds FAQ entries for upgrading and uninstalling Dagger.