Skip to content

feat: add version graphql call to get engine version - #7029

Merged
jedevc merged 2 commits into
dagger:mainfrom
jedevc:add-version-field
Apr 23, 2024
Merged

jedevc merged 2 commits into
dagger:mainfrom
jedevc:add-version-field

Conversation

@jedevc

@jedevc jedevc commented Apr 5, 2024

Copy link
Copy Markdown
Contributor

Before this, there was no way to get the version of an engine - this is really useful if the engine is running remotely, and you want to make a query for it to get it programatically (it's always been possible by analyzing logs, etc).

One of my main use cases is for working out what version of dagger the playground is using: https://play.dagger.cloud/playground - there's actually no way to do that right now (this PR would let you).

What feels frustrating is that checkVersionCompatibility is almost the right method call, but doesn't actually give you the raw data.

@helderco helderco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a change log

@jedevc
jedevc force-pushed the add-version-field branch from 41edce5 to f62b7bb Compare April 23, 2024 09:38
@jedevc
jedevc merged commit a5327d1 into dagger:main Apr 23, 2024
@jedevc
jedevc deleted the add-version-field branch April 23, 2024 10:25
@jedevc
jedevc restored the add-version-field branch April 23, 2024 10:25
@jedevc
jedevc deleted the add-version-field branch April 23, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants