GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — core: bump legacy ID view to < v0.22.0 by vito · Pull Request #13260 · dagger/dagger

Conversation

@vito

@vito vito commented May 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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 patch-bumped semver, thereby missing the view filter which broke its helper binaries which are using the v0.20.6 client:

https://github.com/dagger/sdk-sdk/blob/09da9576688ec4b495ae4a9443a4719da86ed25e/polyfill/helpers/workspace-snapshot/main.go#L58

A minor bump feels like a more appropriate threshold for this change anyway.

Re-generates all the clients, so for now we're back with FooID and loadFooFromID at least for the moment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vito
core: bump legacy ID view to < v0.22.0
43e9b92
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]>
@vito vito added this to the v0.21.1 milestone May 29, 2026
vito added 4 commits May 29, 2026 09:35
@vito
sdk(rust): switch to Workspace arg
ff94bd5
otherwise the engine code gets cached too aggressively

Signed-off-by: Alex Suraci <[email protected]>
@vito
fix(sdk/rust): emit legacy per-type IDs as aliases
576c2ba
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]>
@vito
chore(sdk/rust): regen
d1a901e
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]>
@vito
regen
829e3dc
Signed-off-by: Alex Suraci <[email protected]>
@vito
vito marked this pull request as ready for review May 29, 2026 15:02
@vito
vito requested review from a team as code owners May 29, 2026 15:02
tiborvass
tiborvass approved these changes May 29, 2026
View reviewed changes

@tiborvass tiborvass left a comment

Copy link
Copy Markdown
Contributor

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 reactions
@vito

vito commented May 29, 2026

Copy link
Copy Markdown
Contributor Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vito
vito merged commit 7d47560 into dagger:main May 29, 2026
73 of 78 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tiborvass tiborvass tiborvass approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v0.21.1

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vito @tiborvass
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.