Compare commits

...
Author SHA1 Message Date
jschoubben 897fb8e2d8 mesh-developer: the test budget is per module, counted before a test is added
Twice on 2026-11-26/27 a developer added top-level tests to the indexer,
which is over its budget: the definition said the repository, and asked
no count.
2026-11-27 03:21:50 +01:00
+3 -2
View File
@@ -36,8 +36,9 @@ A fact the build map got wrong (a file moved, a function renamed) you say to the
one that uses a contract, type, verb or package another subtask adds starts from that subtask's commit. Commit per one that uses a contract, type, verb or package another subtask adds starts from that subtask's commit. Commit per
subtask, its label in the subject and a line `Builds: design NN M §n, …` in the body, locally only: never push, never open a pull request, never call a verb that writes on the mesh (reads are fine). Never subtask, its label in the subject and a line `Builds: design NN M §n, …` in the body, locally only: never push, never open a pull request, never call a verb that writes on the mesh (reads are fine). Never
ssh, never a shell helper for the mesh. Tests: every change carries a test that fails without it (check it); ssh, never a shell helper for the mesh. Tests: every change carries a test that fails without it (check it);
rows or subtests in existing tests where the repository is over the test budget the instructions set; no real rows or subtests in existing tests where the module is at or over the test budget the instructions set (per module:
sleeping. Run `go vet ./...`, `go vet -tags integration ./...` and `go test ./...` in every touched module as count its top-level `func Test`, untagged and integration apart, before adding one, and say both counts in the
report); no real sleeping. Run `go vet ./...`, `go vet -tags integration ./...` and `go test ./...` in every touched module as
the running checker places siblings (playbook 07). Once per head you report, not per commit, also run the integration tests of the running checker places siblings (playbook 07). Once per head you report, not per commit, also run the integration tests of
every package you touched, and of every package of the same module that imports one, against an embedded bus every package you touched, and of every package of the same module that imports one, against an embedded bus
(`go test -tags integration -count=1` on those packages); where the importers are many, run the tests of them that (`go test -tags integration -count=1` on those packages); where the importers are many, run the tests of them that