defenseunicorns / maru-runner

The Unicorn Task Runner
Apache License 2.0
11 stars 1 forks source link

fix: allow include loops while preventing task loops #161

Closed Racer159 closed 1 month ago

Racer159 commented 1 month ago

Description

Marking this as a fix to #122 since it will fix the issue in most cases and it allows loops since those can be valid constructs in some cases. Long term we still need to refactor this code.

Related Issue

Fixes #122

Type of change

Checklist before merging

Racer159 commented 1 month ago

The previous task loop logic is a classic example of the https://en.wikipedia.org/wiki/Halting_problem