mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
A lab build's revision carries LAB BUILD(swblock_lab_bigvol), so -version and the volume's /status show it. Every image Dockerfile runs scripts/refuse-lab-binary.sh right after its go build: a binary that is a lab build, or cannot answer -version, stops the image build, so neither the publish workflow nor the image scripts can push one. lab-tag-check.sh now fails closed: an allowlist of the files that may name the tag (git grep; a scan that cannot run fails), plus the wiring (each Dockerfile refuses after its last build; the publish workflow builds only from those, with no go build of its own). Controls cover each contamination and the refusal script's stand-in binaries. The lab headroom test asserts the warning, and both invariant rows name the lab exception. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>