-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance auto(…) to detect missing dependencies #263
Comments
The simple case of a nonexistent dependency should definitely be implemented, since it costs almost nothing and would solve a common programmer error. To find loops in the dependencies would also be possible, but would take some extra processing. Still not a bad idea I think. Obviously beyond that there's nothing much we can do. |
dependency cycles could either throw an error or be converted into equal siblings with no children … better to throw an error in my use-cases (and probably simpler), although there are applications for everything :p |
…and throwing an Error.
…and throwing an Error.
…locks and throwing an Error.
i'm not sure whether this is by design or not, but it would aid troubleshooting if
auto(…)
could (optionally?) detect when one of its tasks has unsatisfied dependencies. although developers should certainly be careful, it would be so helpful ifauto(…)
were to call out something like,task 'unreachable' has unsatisfied dependency on task 'nonexistent'
.The text was updated successfully, but these errors were encountered: