binary-ceiling-64mb
Squashed from binary-ceiling-64mb into main.
1 file changed,
+7
−3
.amadan/ci.d/20-cross@5+7 −3
CI cancelled — superseded by a newer push — run details
diff --git a/.amadan/ci.d/20-cross@5 b/.amadan/ci.d/20-cross@5| index 231bea6aa..ee14fe7b4 100755 |
| --- a/.amadan/ci.d/20-cross@5 |
| +++ b/.amadan/ci.d/20-cross@5 |
| @@ -72,8 +72,12 @@ GOOS="$GOOS" GOARCH="$GOARCH" CGO_ENABLED=0 go build ./... |
| # 52 MB (decimal, 52000000 bytes). Raised to 53 MB on 2026-10-25 for rootfs |
| # apps Plan 2 (#366): main had grown to about 51.5 MB through ordinary |
| # features, Plan 2 adds about 460 KB of box code, and its interface |
| -# conversions add no SDK client. It is a ceiling and not an equality on |
| -# purpose. If you are here because it fired, look for an SDK client stored in |
| +# conversions add no SDK client. Raised to 64 MB on 2026-10-27 (Paul): main |
| +# was 52,887,714 bytes, 112 KB under 53 MB, after ordinary growth with no SDK |
| +# client in an interface. The ceiling is a tripwire for #275-style accidents, |
| +# not a size budget: 64 MB leaves about 11 MB for ordinary growth and still |
| +# fails a repeat of #275 (about 14 MB on top of today's size). It is a |
| +# ceiling and not an equality on purpose. If you are here because it fired, look for an SDK client stored in |
| # an interface, which html/template's method retention then drags in whole: |
| # |
| # go build -ldflags=-dumpdep -o /dev/null . 2>&1 | |
| @@ -84,7 +88,7 @@ GOOS="$GOOS" GOARCH="$GOARCH" CGO_ENABLED=0 go build ./... |
| # and STS stay whole whatever this repo does. Raise the number only for |
| # growth you meant, and say why in the commit. |
| if [ "$GOOS/$GOARCH" = "linux/arm64" ]; then |
| - max_bytes=53000000 |
| + max_bytes=64000000 |
| size_dir=$(mktemp -d) |
| trap 'rm -rf "$size_dir"' EXIT |
| GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags "-s -w" -o "$size_dir/carlos" . |