Repository navigation
Apply artifact filters to collection views - #14802
Merged
Merged
Conversation
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
from
October 26, 2026 18:34
56d167b to
d8a6901
Compare
This was referenced Oct 27, 2026
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
2 times, most recently
from
October 28, 2026 15:59
16bd613 to
96c671c
Compare
This was referenced Oct 28, 2026
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
2 times, most recently
from
October 28, 2026 21:32
cb5ec44 to
97a8621
Compare
This was referenced Oct 29, 2026
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
2 times, most recently
from
October 29, 2026 06:24
09f321f to
636dd96
Compare
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
2 times, most recently
from
October 29, 2026 08:12
e930a26 to
253f439
Compare
tiborvass
marked this pull request as ready for review
October 29, 2026 08:35
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
3 times, most recently
from
October 29, 2026 16:48
1e83755 to
4f31389
Compare
Describe collection selection, per-item checks, and the shared helper that receives the selected collections. Signed-off-by: Tibor Vass <[email protected]>
Update Dang and share its parsed syntax cache. Use the original module name when loading type definitions and the installed name when evaluating calls. Signed-off-by: Tibor Vass <[email protected]>
Convert native core values and null values through the scalar adapter. Keep the conversion consistent with decoded scalar inputs. Signed-off-by: Tibor Vass <[email protected]>
Replace batch projections with filtered collection views. Preserve object identity, private state, and lazy references when converting or restoring a view. Update the schema, generated clients, documentation, and regression tests. Co-authored-by: Tibor Vass <[email protected]> Signed-off-by: Tibor Vass <[email protected]>
Pass selected ancestor collections to matching check arguments. This lets item checks share a helper that operates on the selected set. Signed-off-by: Tibor Vass <[email protected]>
Keep check execution subject to its cache policy. Report the outcome on each request, including cached failures and stale generator patches. Preserve check addresses and generator results. Signed-off-by: Tibor Vass <[email protected]>
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
from
October 30, 2026 17:06
c6eb76f to
a9404b9
Compare
A type selector can name a path suffix. Resolve it against the available schema paths before narrowing discovery. Treat only an explicit address path as exact. Signed-off-by: Tibor Vass <[email protected]>
Prepare the Cloud upload credentials before session shutdown. Reuse them for the final telemetry upload. Signed-off-by: Tibor Vass <[email protected]>
Close remote Cloud clients concurrently within one shared deadline. Use the same deadline for graceful shutdown and telemetry draining. Release transport resources when the deadline expires. Signed-off-by: Tibor Vass <[email protected]>
A restorable checkpoint can arrive before its lifecycle state. Wait for both before sending SIGKILL. Keep the interrupted archive and conversation resume assertions. Signed-off-by: Tibor Vass <[email protected]>
Use dagger/go PR84 at commit 3159d1fa20a86963dbf9b48f856daeec72be3893. This runner passes selected collections to its shared test helper and describes the check as "Run go tests". Signed-off-by: Tibor Vass <[email protected]>
Hide collapsed collection columns in broad listings. Show them when a module or collection selector is present. Keep --all expansion unchanged. Signed-off-by: Tibor Vass <[email protected]>
Mark dimension metadata accessors internal and passthrough. Hide these rows even when Cloud shows internal spans. Signed-off-by: Tibor Vass <[email protected]>
Keep connection outside the collapsed preparation span. Finish discovery and metadata reads before listing or executing artifacts. Show flat artifact URI spans under list artifacts. Reveal the list and its links. Listing spans have no check execution or pass/fail attributes. Keep execution spans outside preparation. Signed-off-by: Tibor Vass <[email protected]>
For modules before v1.0.0-beta.22, replace matching item checks with one collection check using the selected keys. Apply the same plan to CLI execution and Artifacts.asChecks. Keep selections across saved artifacts and remote execution. Leave listing and newer modules unchanged. Add a TODO to remove this compatibility code after module migration. Signed-off-by: Tibor Vass <[email protected]>
tiborvass
force-pushed
the
design/artifacts-filtered-view-handoff
branch
from
October 30, 2026 17:59
a9404b9 to
b835ee5
Compare
kpenfound
approved these changes
Oct 30, 2026
Generation reports a module that fails to load as a revealed span from discovery. Under the encapsulated preparation span, plain progress no longer showed which module was skipped or why. Run discovery under the generators span again when generating. Listing keeps the preparation span. Signed-off-by: Erik Sipsma <[email protected]>
Modules before v1.0.0-beta.22 declare a generator on both a collection and its items, as dagger/go v0.3.1 does. Main replaced the item generators with one collection call; this branch ran every item generator as well as the collection one, in generate and in stale checks. Apply the legacy execution plan to generators and their stale checks, and to Artifacts.asGenerators. Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
sipsma
added a commit
that referenced
this pull request
Nov 2, 2026
checks and cli: finish #14802's follow-ups, never lose a check's final state, discover filter flags in the command's session
1 task
eunomie
added a commit
to dagger/java-sdk
that referenced
this pull request
Nov 21, 2026
* docs: describe collections without batch, gone in v1.0.0-beta.22 dagger/dagger#14802 replaced batch with filtered collection views; the e2e collection checks and their fixtures follow. Signed-off-by: Yves Brissaud <[email protected]> * fix(generate): bind same-repo clients by path in Git workspaces A Git workspace resolves its own modules as Git sources at its commit, so their clients were bound to that commit and regeneration never matched; go-sdk#73 and python-sdk bind them by path. Signed-off-by: Yves Brissaud <[email protected]> * test(e2e): run the e2e checks on the engine that runs them dagger check no longer builds dev engines; the floor stays declared, as in go-sdk#111 and python-sdk#83. PinApp is never cached, so each session loads its git client again, and the pushable git server is its own: a push to the server git-check shares would move its tag. Signed-off-by: Yves Brissaud <[email protected]> * feat(generate): name a new module's class by the engine strcase wrote E2ETest and K8STools where the engine, and the module's client, spell E2eTest and K8sTools. Signed-off-by: Yves Brissaud <[email protected]> --------- Signed-off-by: Yves Brissaud <[email protected]>
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.
Artifact filters must reach module code that reads collections. Apply filters as collection views, preserve parent references and deferred work under the same selection, and retain original collections for delta comparisons.
Run checks and generators per item. An item check can request its nearest enclosing selected collection as a required object argument. Explicit caller inputs take precedence. Ordinary functions keep their required caller arguments. Modules share execution through ordinary helpers instead of native engine batching. Remove the native batch namespace and bulk artifact evaluation APIs; update the SDKs.
Dependencies:
eecde50722c61da81c401fce01a4c026db32b40f, pinned in dagger.toml and dagger.lock. It shares selected test execution across packages within each Go module. Itsmodulesfunction returns a collection; array callers use.list.aaa6cfeacd0e, including the syntax cache from Dang dagger CLI spec #205. No Dang Incremental docs improvement #210 dependency.Additional fixes:
Compatibility: modules that rely on native collection batching need to adapt. The old Go main runner declares both package-wide and individual checks; with this engine it can execute selected tests twice when backend results are not cached. Go#84 provides the matching runner.