Skip to content
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

fix: allow include loops while preventing task loops #161

Merged
merged 6 commits into from
Oct 17, 2024
Merged

Conversation

Racer159
Copy link
Contributor

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@Racer159
Copy link
Contributor Author

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

Copy link
Contributor

@zachariahmiller zachariahmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you fix the lint warnings?

@Racer159 Racer159 requested a review from a team as a code owner October 17, 2024 13:32
@Racer159 Racer159 merged commit 385a952 into main Oct 17, 2024
8 checks passed
@Racer159 Racer159 deleted the allow-loops branch October 17, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Included task that includes a task that includes a common task fails due to a "cyclic loop"
2 participants