You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build graph cache keeps a deleted source as a declared input (missing declared input, then a false dependency cycle) #2484
Found during D30 R3 (2026-10-20). Sequence in a worktree:
Add rt/bundle.w, run src/main build :dev (green; the graph cache records the enumerated compiler-source inputs, rt/bundle.w among them).
rm rt/bundle.w.
src/main build :dev fails: error: action target 'compat-runtime-source' missing declared input: .../rt/bundle.w then error: build.w targets wait on one another: none of the remaining targets is ready (a dependency cycle); the second message is false, the first is stale.
out/.build-state/build-graph.cache (and the .state files of compiler-no-c-export, compat-runtime-source, stage1) still name the file. Deleting those four files and rerunning is green. The cached graph enumerates directory listings (target_with_compiler_source_inputs) but is not invalidated when a listed file disappears; a deleted module in src/ or rt/ reproduces it in ordinary use. The cache should key on the listings it enumerated (or replan on a missing input) rather than refuse, and the cycle message should not follow a missing-input failure.
Triage 2026-10-25, with v0.15.3.0 (main a261b65): closing as a duplicate of #2452, which has the same mechanism (the graph cache keeps a deleted source as a declared input) and a minimal repro. Carried over from this report: after the missing-input error, the driver also printed a false "build.w targets wait on one another: none of the remaining targets is ready (a dependency cycle)".
Activity
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): closing as a duplicate of #2452, which has the same mechanism (the graph cache keeps a deleted source as a declared input) and a minimal repro. Carried over from this report: after the missing-input error, the driver also printed a false "build.w targets wait on one another: none of the remaining targets is ready (a dependency cycle)".