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

introduce CheckCycle to detect cycles in project's depends_on #602

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Mar 18, 2024

fix: cycle detection was ran for each and every service in project, not once per project 😅
also introduced a more explicit way to use the graph logic to search for cycles, vs running a no-op "in dependency order", where cycle detection is just an implementation detail

see docker/compose#11437

@ndeloof ndeloof requested a review from glours March 18, 2024 14:20
Copy link
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

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

🙏

@ndeloof ndeloof merged commit b0f3901 into compose-spec:main Mar 18, 2024
8 checks passed
@ndeloof ndeloof deleted the cycle_detection branch March 18, 2024 16:00
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.

2 participants