Skip to content

post: fstrim the buildkit sticky disk before unmount at commit (main) - #147

Merged
magma-beef merged 1 commit into
mainfrom
devin/1793898782-v1-buildkit-fstrim
Nov 5, 2026
Merged

magma-beef merged 1 commit into
mainfrom
devin/1793898782-v1-buildkit-fstrim

post: fstrim the buildkit sticky disk before unmount at commit

7eafd5e
Select commit
Loading
Failed to load commit list.
Blacksmith Staging / Proof succeeded Nov 5, 2026 in 11m 23s

Matches the PR description

Matches Post step trims the buildkit disk before unmount

After the PR the post step runs fstrim between the integrity check and the usage sample/umount, and the freed 512 MiB is released from the backing image; before, it stays allocated. buildkitd was not running, so its shutdown step was a no-op.

Merge-base

Before: no trim

This PR 7eafd5e8

After: fstrim before umount

Also checked · 4 match

Matches Trim skipped when disabled or not committing
Matches Trim failures never fail the step
Matches Min extent passed as fstrim -m
Matches Setup reads budget from agent response

Proof on 7eafd5e8 · mocked: Blacksmith VM agent (GetStickyDisk / Com... (unavailable), Buildkit sticky disk (/var/lib/buildkit) (unavailable)

View with [code]smith