Repository navigation
Conversation
eunomie
force-pushed
the
fix-dependency-check-type
branch
from
October 18, 2026 07:18
a1859d3 to
c349b8a
Compare
This was referenced Oct 20, 2026
A unified client runs in a v1 session, where a check function returns Check. The client schema follows the target's own view, so a check of a module pinned before v1 was generated as Void, and the engine rejected the query: "field of type Check must have a selection of subfields". The self-call schema also dropped a module's own checks. Signed-off-by: Yves Brissaud <[email protected]>
eunomie
force-pushed
the
fix-dependency-check-type
branch
from
October 23, 2026 14:23
c349b8a to
9166e44
Compare
Member
Author
|
Superseded by #83 (same changes, moved from a fork branch to a branch on this repository). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
A unified client for a module pinned before v1 typed its checks as Void,
from the target's own view. The caller runs in a v1 session, where a
check returns
Check!, so the engine rejected the call:field "test" of type "Check" must have a selection of subfields.Unified generation now types every
@checkfunction asCheck!; otherfunctions keep their type, and module bindings mark their own checks.
Callers use
.Error(ctx), which also fixes the predicted typescript andelixir
ReleaseDryRuncalls.A unified client always runs in a v1 session, even in a module pinned
before v1: the dispatcher's session uses the engine's version, and
Go-runtime modules cannot use unified clients. Embedded clients keep the
target's types.
How verified
github.com/dagger/pytest'stest:before, the engine error; now
.Error(ctx)returns nil or the failure.