Files
magpie/third_party
yetone fc75d90af7 yaml.v3: its two regexps are compiled on first use, not at launch
0caa09b3d vendored gopkg.in/yaml.v3 into third_party/yaml.v3, inside
magpie's tree, and TestNoEagerPackageRegexps, which walks the tree, has
been red on main since:

  third_party/yaml.v3/encode.go:307:19: a package-level regexp is
  compiled at launch; use lazyre.New
  third_party/yaml.v3/resolve.go:124:22: (the same)

yaml.v3 is its own module and can't import internal/lazyre, and its
go.mod has no go line (Go 1.16 language, so no sync.OnceValue).
base60float and yamlStyleFloat are now functions that compile their
expression once behind a sync.Once; the patterns are as upstream's.
MAGPIE.md lists this as the second change from v3.0.1.

Seen red in the full suite of the OpenMausBot sessions change (mote, at
13cb07fde + that change), which doesn't touch yaml.

Run (mote): gofmt -l clean; go vet in third_party/yaml.v3; go vet ./..., GOOS=linux -tags nogui and GOOS=windows go vet ./...; go test -count=1 -timeout 45m ./... at 59c5b59ea (on df2b819c6): 100 packages ok, TestNoEagerPackageRegexps among them. Red before: the two lines above, on 13cb07fde.
After a rebase onto ea6470cb7 (01c3efc4f's library change and a GUI
test): vet as above, and go test . ./internal/sessions ./internal/library
./internal/catalog ok. After another onto 79a30eb9c (edit/toml.go and
provider/remote_follow.go perf): go vet ./..., go test . ./internal/sessions
./internal/edit ./internal/provider ok, at the pushed tree.

Not run: upstream yaml.v3's own tests (not copied here, need
gopkg.in/check.v1).
2026-11-14 15:42:01 +08:00
..