GeezerVison is showing github.com — core: bump legacy ID view to < v0.22.0 by vito · Pull Request #13260 · dagger/dagger
Conversation
vito
commented
May 29, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Keeping the loadFooFromID APIs around until v0.22 makes things a bit
easier for the workspaces branch which has a test that runs against
a 'phony' bumped semver.
A minor bump feels like a more appropriate threshold for this change
anyway.
Signed-off-by: Alex Suraci <[email protected]>
otherwise the engine code gets cached too aggressively
Signed-off-by: Alex Suraci <[email protected]>
The scalar template generated `impl IntoID<FooID> for Foo` for each
per-type ID scalar, which fails to compile in two ways: `Foo` is a
trait for interface types (Exportable, Syncer), and the object case
calls `self.id().await` which returns the unified `Id`, not `FooID`.
The impls only stayed dormant while the legacy view filter hid these
scalars from the codegen.
Mirror the Go SDK and emit `pub type FooID = Id` so the existing
`IntoID<Id>` impls cover legacy `loadFooFromID(FooID)` argument
bounds without trait-object or return-type issues.
Signed-off-by: Alex Suraci <[email protected]>
Regenerate `gen.rs` against the legacy ID view, picking up the
per-type ID scalars now emitted as aliases to the unified `Id`.
Signed-off-by: Alex Suraci <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matipan This is exactly the issue I mentioned where whenever we add a new API it needs a guard, but we don't know what version to put, so I had suggested a placeholder version constant that would be updated when prepping the release.
Unblocking for now, but this is a symptom of the issue @matipan was trying to fix in #13155
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
All four generate failures are due to the /lib64 error which is unrelated (happens to me on main), will go ahead and merge since this will at least unwedge golang:check once deployed to our CI engines.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.