deploy: Read unsigned size changes #10

Merged
dev merged 1 commits from deploy-unsigned-sizes into main 2026-11-27 18:38:11 +00:00

In the approval's packages table, sizes from newer Nix (2.36) landed in the Version column: it prints an increase as a bare 129.0 KiB (no +, and no colour when piped; decreases still get -). So slop-broker: 0.1.0, 0.1.0-fish → 0.2.0, 0.2.0-fish, 129.0 KiB showed the whole thing as the version, and paseo: 16.2 KiB likewise.

The parser now takes a trailing size by its unit (B/KiB/MiB/GiB/TiB), with or without sign or colour, and shows increases with + so every version of Nix reads the same.

Tested: parser tests with the reported lines; nix flake check.

🤖 Generated with Claude Code

In the approval's packages table, sizes from newer Nix (2.36) landed in the *Version* column: it prints an increase as a bare `129.0 KiB` (no `+`, and no colour when piped; decreases still get `-`). So `slop-broker: 0.1.0, 0.1.0-fish → 0.2.0, 0.2.0-fish, 129.0 KiB` showed the whole thing as the version, and `paseo: 16.2 KiB` likewise. The parser now takes a trailing size by its unit (`B`/`KiB`/`MiB`/`GiB`/`TiB`), with or without sign or colour, and shows increases with `+` so every version of Nix reads the same. Tested: parser tests with the reported lines; `nix flake check`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
slop-cannon Bot added 1 commit 2026-11-27 18:31:01 +00:00
deploy: Read unsigned size changes
CI / Check (pull_request) Successful in 5m8s
CI / Check (push) Successful in 4m45s
3415f9bb38
Newer Nix prints a closure growing as a bare size (`129.0 KiB`) without
a sign, and without colour when piped, so the size ended up in the
version column. Recognise a trailing size by its unit and sign it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev merged commit 3415f9bb38 into main 2026-11-27 18:38:11 +00:00
dev deleted branch deploy-unsigned-sizes 2026-11-27 18:38:11 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dev/slop-broker#10