Files
CrazyMax 3c1ad72f50 buildkitd: make metadata compaction opt-in
Configure the idle timeout, retry limit, write watermark, and minimum reclaimable bytes and percentage in the compaction TOML section. Pass policy settings explicitly to cache, history, and worker database constructors.

Keep scheduler construction and checkpoint persistence in the compaction package. Forward reclaimability measurements and thresholds through the backend, and preserve write history while ignoring obsolete size watermarks in checkpoints.

Isolate policy initialization failures from database recovery, and close OCI content metadata during worker shutdown to checkpoint its final writes. Cover configuration defaults and validation, explicit attachment, recovery safety, packed databases, checkpoint compatibility, and worker shutdown.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-09-29 16:02:45 +02:00
..