Skip to content

test(go): run the e2e checks on the engine that runs them - #111

Merged
eunomie merged 5 commits into
mainfrom
ci-e2e-on-running-engine
Nov 19, 2026
Merged

eunomie merged 5 commits into
mainfrom
ci-e2e-on-running-engine

Conversation

@eunomie

@eunomie eunomie commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Goal: make go-sdk CI fast and stop tests from using a specific or dev engine. Before: CI ran 14 engine-e2e checks, each building a dev engine and CLI from source (7-8 min) and starting it with an empty cache; wall time about 26-30 min. After: the e2e module is installed in the root dagger.toml, so Dagger Cloud runs its checks directly on the CI engine; the engine-e2e module and its pinned dev engines are gone. Expected wall time about 6-10 min. By design, the floor checks (runtime-floor, entrypoint-floor, sources-guard, beta.18 sources-check, beta.16 migration, duplicate legacy-clients) are dropped because they cannot run on the latest engine; versions.toml sourcesFloor (v1.0.0-beta.18) stays declared but is no longer verified. The beta.16 fixtures stay because another PR deletes them. Validation: ran locally on the main v1.0.0-beta.27 engine and passing: find-client-root, module-init, standalone-client-compiles, ignores:ignored-standalone, unified (calls, legacy-clients, shortcut-calls, changed-target, stale-target, removed-client, git-calls), sources calls, cli-starters, target dang-config-engine. Two fixes came out of it: the CLI image tag drops the engine version's build suffix, and the dang-config check expects v1.0.0-beta.25 as the fallback on released engines. The last commit makes the e2e checks take dagger.io/dagger from the Go proxy (published since v1.0.0-beta.17) instead of copying dagger/dagger's sdk/go; the generator pins the exact target version, as it does for a user module. Nothing was run on a v1.0.0-beta.28 engine. The other ignore checks were not run locally; they share the standalone code path.

First run (0c44698): 63/63 passed in about 4m43s.

CI then runs them in parallel without arguments or a dev engine build.

Signed-off-by: Yves Brissaud <[email protected]>
Released engines serve an entrypoint without a Dagger version at
v1.0.0-beta.25, not v1.0.0-beta.24.

Signed-off-by: Yves Brissaud <[email protected]>
The beta.16 migration check goes with the floor checks.

Signed-off-by: Yves Brissaud <[email protected]>
@eunomie
eunomie marked this pull request as ready for review November 19, 2026 16:09
The sdk/go copies from dagger/dagger stood in for an unpublished library;
the proxy serves its shared core since v1.0.0-beta.17.

Signed-off-by: Yves Brissaud <[email protected]>
@eunomie
eunomie merged commit aa3e534 into main Nov 19, 2026
63 checks passed
@eunomie
eunomie deleted the ci-e2e-on-running-engine branch November 19, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants