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

solver: avoid recursive loop on cache-export #1382

Merged
merged 3 commits into from
Mar 3, 2020

Conversation

tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Feb 28, 2020

@drodriguezhdez @aiordache

This seems enough to fix the cycle issue (including a case with a longer cycle that doesn't appear with the original repro). But this area needs a bit more analysis, comments and maybe some debugging tooling to verify that the exported chain is still optimal, even in the cycle case. Also needs tests for the repros.

Signed-off-by: Tonis Tiigi [email protected]

tonistiigi and others added 3 commits March 2, 2020 22:35
   - to detect infinite loop caused by circular dependencies

Signed-off-by: Anca Iordache <[email protected]>
Signed-off-by: Tonis Tiigi <[email protected]>
@tonistiigi tonistiigi marked this pull request as ready for review March 3, 2020 06:36
@tonistiigi
Copy link
Member Author

Updated with a test based on #1386 .

I think we can merge this as it fixes the critical issue and open follow-up issue for extra work on tooling and verification. cc @AkihiroSuda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants