From 87493d939151a8f131581dd3dafaf0e03230d48e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Wed, 7 Oct 2026 15:00:28 +0200 Subject: [PATCH] build(justfile): anchor the fuzz recipe to one exact target Assisted-by: GLM 5.3 --- justfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 48fada1..145bf2a 100644 --- a/justfile +++ b/justfile @@ -77,8 +77,10 @@ unit pkgs=packages run=".*": systemd-run --user --scope -p MemoryMax={{memlimit}} -p MemorySwapMax=0 go test -timeout 0 {{pkgs}} -run '{{run}}' # Time-boxed fuzz of one target in one package. The package is required; never a gate. +# The target is anchored so an exact name matches one target: `FuzzParse` would +# otherwise select `FuzzParseExpand` beside it. fuzz target pkg fuzztime="60s": - systemd-run --user --scope -p MemoryMax={{memlimit}} -p MemorySwapMax=0 go test -timeout 0 -run '^$' -fuzz '{{target}}' -fuzztime={{fuzztime}} -parallel={{fuzzparallel}} {{pkg}} + systemd-run --user --scope -p MemoryMax={{memlimit}} -p MemorySwapMax=0 go test -timeout 0 -run '^$' -fuzz '^{{target}}$' -fuzztime={{fuzztime}} -parallel={{fuzzparallel}} {{pkg}} # The cmd/link GOOBJ parity gate, opt-in: it costs minutes no pipeline can afford. link-parity: