GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — engine: verify no new APIs get added without version gates by matipan · Pull Request #13155 · dagger/dagger Conversation
|
| Gated API surface | Why gated | Introduced by |
|---|---|---|
Query.cacheVolume(source) |
Not present in v0.20.6; added with new DAGQL cache-volume persistence model. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Query.cacheVolume(sharing) |
Not present in v0.20.6; added with new DAGQL cache-volume persistence model. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Query.cacheVolume(owner) |
Not present in v0.20.6; added with new DAGQL cache-volume persistence model. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Container.withMountedDirectory(readOnly) |
Not present in v0.20.6; added during the DAGQL/persistable container filesystem mutation migration. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Container.withDirectory(permissions) |
Not present in v0.20.6; added during the DAGQL/persistable directory-copy migration. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Directory.withDirectory(permissions) |
Not present in v0.20.6; added during the DAGQL/persistable directory-copy migration. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Query.http(checksum) |
Not present in v0.20.6; added with the persistent HTTPState HTTP caching model. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Query._httpState |
Not present in v0.20.6; added as an internal persistable owner for HTTP cache state. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
HTTPState object, HTTPStateID, loadHTTPStateFromID |
Not present in v0.20.6; derived schema surface from the new internal HTTPState object. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Binding.asHTTPState, Env.withHTTPStateInput, Env.withHTTPStateOutput |
Not present in v0.20.6; dynamically generated helper fields derived from the new HTTPState object. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
HTTPState._resolve |
Not present in v0.20.6; added as the internal resolver for persistent HTTP state. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Query._remoteGitMirror |
Not present in v0.20.6; added as an internal persistable bare git mirror. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
RemoteGitMirror object, RemoteGitMirrorID, loadRemoteGitMirrorFromID |
Not present in v0.20.6; derived schema surface from the new internal mirror object. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Binding.asRemoteGitMirror, Env.withRemoteGitMirrorInput, Env.withRemoteGitMirrorOutput |
Not present in v0.20.6; dynamically generated helper fields derived from the new RemoteGitMirror object. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Query._clientFilesyncMirror |
Not present in v0.20.6; added as an internal persistable filesync mirror. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
ClientFilesyncMirror object, ClientFilesyncMirrorID, loadClientFilesyncMirrorFromID |
Not present in v0.20.6; derived schema surface from the new internal mirror object. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Binding.asClientFilesyncMirror, Env.withClientFilesyncMirrorInput, Env.withClientFilesyncMirrorOutput |
Not present in v0.20.6; dynamically generated helper fields derived from the new ClientFilesyncMirror object. |
aa719a10d52ed24d0ed635b82dd9bb26ef83ed26 migrate all caching to dagql (#11856) |
Check.checkType |
Not present in v0.20.6; added to distinguish normal checks from generate-as-checks. |
18733b36527851d56bcea43ae8e88e1a78022478 Built-in check for generate functions (#12923) |
Module.checks(noGenerate) |
Not present in v0.20.6; added with generate-as-check support. |
18733b36527851d56bcea43ae8e88e1a78022478 Built-in check for generate functions (#12923) |
Env.checks(noGenerate) |
Not present in v0.20.6; added with generate-as-check support. |
18733b36527851d56bcea43ae8e88e1a78022478 Built-in check for generate functions (#12923) |
Workspace.checks(noGenerate) |
Not present in v0.20.6; added with generate-as-check support. |
18733b36527851d56bcea43ae8e88e1a78022478 Built-in check for generate functions (#12923) |
Workspace.update |
Not present in v0.20.6; added with workspace lockfile support. |
3dcdc50d9c35edfe477ccfe7d47f0c0b840e35fe Dagger lockfile (#12046) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9fc3101 to
396c6f0
Compare
396c6f0 to
a58645f
Compare
a58645f to
4771982
Compare
|
Not sure if someone more familiar with codegen can take a closer look and make sure this kind of gating is in fact what we want, maybe @sipsma? I've committed the files generated by |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Matias Pan <[email protected]>
28f7c65 to
bf4c99d
Compare
|
@tiborvass found a new issue that is very related to this in the context of Dagger Cloud. There is one organization that has a v0.19.11 module and they apparently define a Maybe we should change the focus of this PR to only be about adding the "must be version gated" test and we can see about fixing all the APIs that weren't version gated on a follow up PR. That way we can keep the surface of this PR smaller and introduce the test ASAP. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Matias Pan <[email protected]>
bf4c99d to
28d4232
Compare
|
We discussed with @tiborvass and @sipsma and concluded that we don't want to introduce a versioning-related change just before a release. We concluded there's two separate issues that got mixed:
Eventually we want a mechanism that guarantees that any change made to the API is version gated such that codegen never breaks, but we agreed that prior to 1.0 its not that big of a deal that we continue on in the current state. The only a user can hit this issue is if they are using an newer engine for an older module OR if they are using We talked about introducing a mechanism similar to what Go does to keep track of what gets added when, but did not polish the idea either. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
dagger generate should generate bindings for the module's engine version
There was an error while loading. Please reload this page.