public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: "Niklas Böhm" <mail@jnboehm•com>
To: goredo-devel@lists.cypherpunks.su
Subject: Self-cycle not detected in goredo
Date: Sat, 24 Jan 2026 14:21:32 +0100	[thread overview]
Message-ID: <845020ec-879b-4f17-95a4-b784c7f192d7@jnboehm.com> (raw)

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.

             reply	other threads:[~2026-01-24 13:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-24 13:21 Niklas Böhm [this message]
2026-01-25 10:37 ` Self-cycle not detected in goredo Sergey Matveev