A group is one batch and one delivery plan, ordered by the module graph and gated by its composed check; unit and integration tests split (issues 977, 895) #374

Merged
mesh-tools merged 14 commits from feat/one-group-one-plan into main 2026-10-17 20:11:00 +00:00
Showing only changes of commit 9cdc7d6276 - Show all commits
+5 -4
View File
@@ -27,11 +27,12 @@ set -eu
export GOFLAGS=-mod=vendor GOPROXY=off
# **The unit level's bound, in seconds** (issue 895): the slowest package's own test time of the untagged run, the
# compile not counted. A run over it fails the check and names the slowest tests. It is 3 s since the tests carry the
# compile not counted. A run over it fails the check and names the slowest tests. It is 5 s since the tests carry the
# `integration` tag (design 47 milestone 3): the slowest packages, cmd/mesh-controller and internal/catalogue, measured
# 2.6-2.8 s in about 2000 small tests each. How-we-build section 5 asks 1 s for the whole unit suite: issue 1055
# (a catalogue loaded once per package run, fewer source-scanning tests).
unit_bound=3
# 2.6-2.8 s on a quiet machine in about 2000 small tests each, and the build node runs the store tests beside this run
# and other work besides, so twice the measure. How-we-build section 5 asks 1 s for the whole unit suite: issue 1055
# (a catalogue loaded once per package run, fewer source-scanning tests, the timed run started alone).
unit_bound=5
# judge_store_tests says each listed test of one package as `go test -v` reported it, and counts in $missing each
# that did not pass: $1 the package, $2 go test's exit status, $3 the file holding its output, then the names.