Repository navigation
feat: check version compatibility - #5315
Conversation
4752d89 to
69ae455
Compare
|
We were talking about this with @mircubed today. How is it coming along? |
|
I'm working on the Tyscript entrypoint #5305 for now, I will catch up this one later. |
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
It would be great to get this merged before the next release, the one following |
|
I can add warning support to Progrock; it'll be a good way to dogfood Zenith |
|
Done: https://pkg.go.dev/github.com/vito/[email protected]#Recorder.Warn (there's also Error if we want that later) |
|
Hey @TomChv, how is this coming along? We would love to get this into v0.6.4 which is due this week. |
69ae455 to
0619d4c
Compare
The progrock package is still not up to date on Dagger, when will we update go dependencies? I can also do it manually on this PR if that's okay |
|
@TomChv Go ahead and bump as-needed; there's no further routine to it. :) go get github.com/vito/progrock@latest |
0619d4c to
201ad83
Compare
|
@vito You did an amazing work, here's an example of the print @gerhard @jpadams I thought a long time about it and I think it's not a good idea for now to abort the session if versions mismatch. As @gerhard said, we still have a lot of users who's using old engine version, I think it can be really annoying for them to fail. I've left a bunch of TODO so we can easily add a failure logic the day we are ready for. |
|
The error in It acts like it is not using the right source code? I can reproduce the error locally too: dagger do -p ci ci:sdk:go:lint --repo https://github.com/dagger/dagger --branch refs/pull/5315/merge
[17.0s] ERROR dagger do -p ci ci:sdk:go:lint --repo https://github.com/dagger/dagger --branch refs/pull/5315/merge
Loading+installing project...
Running command "ci:sdk:go:lint"...
Error: failed to get resolver output file: process "/entrypoint" did not complete successfully: exit code: 1
[0.50s] ERROR exec /entrypoint
input:1: Cannot query field "checkVersionCompatibility" on type "Query".
Please visit https://dagger.io/help#go for troubleshooting guidance.
Please visit https://dagger.io/help#go for troubleshooting guidance.
WARNING: Using Engine in development version, skip version compatibility check. And I'm really confused, we have a warning which mean a call to Line 323 in f965b50 Which should not be possible? They should have the same engine and SDK version? |
8a6742f to
d9fe1ea
Compare
|
@TomChv That's definitely strange and I don't quite understand it either - not sure at which point the That's an experimental check though so feel free to ignore it. I've also had it fail on some of my own PRs that add new backend infra. |
|
@vito As we discussed, I updated the code to only print a warning instead of throwing an error! |
vito
left a comment
There was a problem hiding this comment.
Sorry for the wait! Left some wording suggestions and small tweaks. 🙏
2bd6846 to
0943399
Compare
0943399 to
efbc2b1
Compare
Signed-off-by: Tom Chauveau <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Co-authored-by: Alex Suraci <[email protected]> Signed-off-by: Vasek - Tom C <[email protected]>
Co-authored-by: Alex Suraci <[email protected]> Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Co-authored-by: Helder Correia <[email protected]> Signed-off-by: Vasek - Tom C <[email protected]>
Co-authored-by: Helder Correia <[email protected]> Signed-off-by: Vasek - Tom C <[email protected]>
Co-authored-by: Helder Correia <[email protected]> Signed-off-by: Vasek - Tom C <[email protected]>
Co-authored-by: Helder Correia <[email protected]> Signed-off-by: Vasek - Tom C <[email protected]>
Co-authored-by: Helder Correia <[email protected]> Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Vasek - Tom C <[email protected]>
Signed-off-by: Helder Correia <[email protected]>
Signed-off-by: Helder Correia <[email protected]>
f7ca1b9 to
27f2b80
Compare
Signed-off-by: Helder Correia <[email protected]>
Add checkVersionCompatibility endpoint.
Generate new clients.
Fixes DAG-1801