My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

--rebuild-base also wipes all build layers

The base hash doesn't change when repo contents change (it's just
based on the image name), so old layers look like cache hits even
after the base is rebuilt. Wipe the entire os_dir when rebuilding
the base to ensure a clean slate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+2 -1
+2 -1
day11/bin/cmd_batch.ml
··· 303 303 Common.with_eio @@ fun env -> 304 304 let base_opt = if rebuild_base then begin 305 305 let base_dir = Fpath.(cache_dir / "base") in 306 - Printf.printf "Deleting base image for rebuild...\n%!"; 306 + Printf.printf "Deleting base image and all build layers for rebuild...\n%!"; 307 307 ignore (Day11_exec.Sudo.rm_rf env base_dir); 308 + ignore (Day11_exec.Sudo.rm_rf env os_dir); 308 309 None 309 310 end else base_opt in 310 311 let base = match base_opt with