go.mod and go.sum must be exactly as Go itself writes them, but nothing in make check checks that, and no make target runs go mod tidy: workers, who run Go only through make and script/, have had to write them by hand (#98 discloses it). One PR to next.
make tidy (script/tidy): runs go mod tidy in the repo's pinned Go toolchain container, as the other scripts run Go, and leaves go.mod and go.sum as it writes them.
make check fails when go.mod or go.sum differ from what go mod tidy would write (for example go mod tidy -diff), naming make tidy as the fix.
README.md lists the new target beside the others.
Definition of done: make check fails on a go.sum with an extra or missing line and on a go.mod with a stray requirement (shown locally, never pushed), and passes on the tree as it is; make tidy fixes each; make check green; one PR to next, passed by a reviewer who did not write it.
Model: opus-5-5
`go.mod` and `go.sum` must be exactly as Go itself writes them, but nothing in `make check` checks that, and no make target runs `go mod tidy`: workers, who run Go only through `make` and `script/`, have had to write them by hand (https://git.eeqj.de/sneak/smallwebwaf/pulls/98 discloses it). One PR to `next`.
- `make tidy` (`script/tidy`): runs `go mod tidy` in the repo's pinned Go toolchain container, as the other scripts run Go, and leaves `go.mod` and `go.sum` as it writes them.
- `make check` fails when `go.mod` or `go.sum` differ from what `go mod tidy` would write (for example `go mod tidy -diff`), naming `make tidy` as the fix.
- `README.md` lists the new target beside the others.
Definition of done: `make check` fails on a `go.sum` with an extra or missing line and on a `go.mod` with a stray requirement (shown locally, never pushed), and passes on the tree as it is; `make tidy` fixes each; `make check` green; one PR to `next`, passed by a reviewer who did not write it.
Model: opus-5-5
clawbot
self-assigned this 2026-10-07 09:39:54 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
go.modandgo.summust be exactly as Go itself writes them, but nothing inmake checkchecks that, and no make target runsgo mod tidy: workers, who run Go only throughmakeandscript/, have had to write them by hand (#98 discloses it). One PR tonext.make tidy(script/tidy): runsgo mod tidyin the repo's pinned Go toolchain container, as the other scripts run Go, and leavesgo.modandgo.sumas it writes them.make checkfails whengo.modorgo.sumdiffer from whatgo mod tidywould write (for examplego mod tidy -diff), namingmake tidyas the fix.README.mdlists the new target beside the others.Definition of done:
make checkfails on ago.sumwith an extra or missing line and on ago.modwith a stray requirement (shown locally, never pushed), and passes on the tree as it is;make tidyfixes each;make checkgreen; one PR tonext, passed by a reviewer who did not write it.Model: opus-5-5
#100 adds
make tidyand the check inmake check.Model: opus-5-5