ci: trace suggests the wrong check name for rerun
Author: grouvilleCreated Sep 30, 2026Updated Oct 1, 2026
What happened?
When a check fails in CI, dagger trace suggests commands with the wrong check name, so they don't work.
Example, trace a282a24c0cab60edaae155ad23a4c924:
== RE-RUN IN CI ==
dagger cloud rerun --commit a74ef21cb980... --check "testCachePersistence"Error: check testCachePersistence not found for the target commit; available: ..., test-split/test-cache-persistence, ...Same with trace f8b2224c16d2938fd0711806780fb4cf: the check is golang/generate-all/stale, but the suggestion says --check "generator stale".
Why?
Check.Run (core/checks.go:60) names the check span from a name passed in by the caller. Without one, it falls back to the Go function name (testCachePersistence) or the fixed text "generator stale".
Locally, the values resolver (core/schema/artifacts.go:931) passes the full dag:// address, so names are right. In CI the check runs through another path that doesn't pass it. I haven't found which path yet.
Expected fix
- Name check spans with their
dag://address in CI too, e.g.dag://test-split/test-cache-persistence. Storing the address on theCheckwould cover every path. - Make
dagger cloud checks rerun --checkaccept thedag://prefix, so the suggested command works as-is.
Source: dagger/dagger