From b9f95fc512b7638408c854936edcb4288f363f38 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Fri, 23 Oct 2026 16:31:25 -0700 Subject: [PATCH] Maker: Add generated dependencies.zig as an input to the config cache manifest Without this, Maker could enter an infinite loop when a step required some lazy dependencies that were unavailable, and then after the fetch that made them available, the config would get a cache hit so the step would still be configured as needing lazy dependencies, and so on. Now, any change to the generated dependencies.zig file will cause the configuration phase to be re-run. --- lib/compiler/Maker.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/compiler/Maker.zig b/lib/compiler/Maker.zig index e0ce8142628ad4aac0466293869eaa9f7bab225d..04448eb5ac31e519270f0cbb749c418c8458e19b 100644 --- a/lib/compiler/Maker.zig +++ b/lib/compiler/Maker.zig @@ -1485,6 +1485,10 @@ fn configure(graph: *Graph, options: ConfigureOptions) ConfigureError!ScannedCon fatal("replacing {f}: {t}", .{ dependencies_zig_path, err }); deps_mod.root_path = try dependencies_zig_path.toString(arena); + + if (config_man) |man| { + man.hash.addBytes(&hex_digest); + } } { -- 2.54.0