Subject: Self-cycle not detected in goredo

From: Niklas Böhm <[email-masked]>
Date: Sat, 24 Jan 2026 14:21:32 +0100

Hi everyone,

this is something small that I accidentally come across from 
time-to-time.  If you have a do file that `redo-ifchange`s itself, then 
the execution would simply stall.  I think it would be a nice and small 
improvement if it would instead produce an error, since that is a cycle 
in the dependency graph.

Let me know what you think!

Best
Niklas

PS: small, trivial example:

file "test.do"
```
redo-ifchange test
echo hi
```

`redo-ifchange test` will not return.