Repository navigation
go: run selected tests once per module - #84
Merged
Merged
Conversation
tiborvass
force-pushed
the
codex/pr14802-current-go
branch
from
October 28, 2026 15:56
1f569c8 to
83b33c5
Compare
This was referenced Oct 28, 2026
tiborvass
marked this pull request as ready for review
October 29, 2026 14:20
tiborvass
force-pushed
the
codex/pr14802-current-go
branch
from
October 31, 2026 22:50
3159d1f to
78e4687
Compare
tiborvass
force-pushed
the
codex/pr14802-current-go
branch
2 times, most recently
from
October 31, 2026 23:41
5bbc3b2 to
4a65850
Compare
Keep one check per test. Read the shared report once and write a bounded result for each check. Access packages through their module.
Keep a check on each project. Use per-project calls in both lint suites to support old and new collection engines.
tiborvass
force-pushed
the
codex/pr14802-current-go
branch
from
November 1, 2026 01:21
4a65850 to
68a1c99
Compare
grouville
self-requested a review
November 1, 2026 07:53
grouville
approved these changes
Nov 1, 2026
sipsma
added a commit
to grouville/dagger
that referenced
this pull request
Nov 2, 2026
dagger/go#84 has merged. Pin its merge commit instead of the PR's head, so CI's Go checks run the runner as released on dagger/go main. CI's check discovery now lists the runner's Go test check, which takes the selected collection, so the tests run again. Signed-off-by: Erik Sipsma <[email protected]>
sipsma
added a commit
to dagger/dagger
that referenced
this pull request
Nov 4, 2026
Move the workspace's Go module from dagger/go#84's merge commit to the v0.4.0 release. That brings in Go 1.27 (dagger/go#90), the faster workspace scan (dagger/go#91) and the module discovery index and test check cuts (dagger/go#89). dagger.lock records the tag and the sub-modules the release resolves, as written by dagger. Signed-off-by: Erik Sipsma <[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.
Run selected Go tests in one command per module. Keep a separate result for each test. Read the shared JSON report once and limit the size of each result. Report build and teardown failures even when no named test fails.
Access packages through their module. Remove the root
go.packages()API. For example:Replace native batch calls in golangci-lint and staticcheck. Keep checks on individual projects. Both lint suites use per-project calls supported by old and new collection engines. Collection lint helpers return
Void; callers that expect aCheckmust use a project check instead.Include the updated gobuild SDK and the regression checks in the existing development suites.
The Go module requires Dagger v1.0.0-beta.22 or later, which includes dagger/dagger#14802.