nixbot

builds
1this derivation will be built:2 /nix/store/v3kbglprylbjfxn73g13ln514cc12bh3-treefmt-check.drv3error: build of '/nix/store/v3kbglprylbjfxn73g13ln514cc12bh3-treefmt-check.drv' on 'ssh-ng://nixbot-remote-build@78.232.36.247' failed: Cannot build '/nix/store/v3kbglprylbjfxn73g13ln514cc12bh3-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/33y7frvfnmplavkzdxi0vypanavmnmji-treefmt-check7 Last 25 log lines:8 > + nix run .#image-size-analyzer -- --image Dockerfile-17 --json > base-sizes.json9 > + git checkout -10 > +11 > + - name: Compare sizes12 > + run: |13 > + PR_SIZE=$(jq -r '.images[0].total_size_bytes' pr-sizes.json)14 > + BASE_SIZE=$(jq -r '.images[0].total_size_bytes' base-sizes.json)15 > +16 > + DIFF=$((PR_SIZE - BASE_SIZE))17 > + DIFF_MB=$((DIFF / 1048576))18 > +19 > + # Allow up to 50MB increase20 > + MAX_INCREASE=5242880021 > +22 > + if [ "$DIFF" -gt "$MAX_INCREASE" ]; then23 > + echo "ERROR: Image size increased by ${DIFF_MB}MB (max allowed: 50MB)"24 > + echo "Base: $((BASE_SIZE / 1048576))MB"25 > + echo "PR: $((PR_SIZE / 1048576))MB"26 > + exit 127 > + fi28 > +29 > + echo "Size change: ${DIFF_MB}MB"30 > ```31 > 32 > ---33 For full logs, run:34 nix log /nix/store/v3kbglprylbjfxn73g13ln514cc12bh3-treefmt-check.drv35error: Cannot build '/nix/store/v3kbglprylbjfxn73g13ln514cc12bh3-treefmt-check.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/33y7frvfnmplavkzdxi0vypanavmnmji-treefmt-check