-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Composition with circular reference causes infinite loop #459
Comments
which version of vacuum did you test against? |
ok, this is nuts. I will fix. |
there is more data being picked up now by the resolver for circular references, various entities were being missed but now there with a few tweaks, it’s picking up more circles. Signed-off-by: quobix <dave@quobix.com>
Signed-off-by: quobix <dave@quobix.com>
Signed-off-by: quobix <dave@quobix.com>
This problem was in I added a test to make sure this loop is closed permanently. https://github.com/pb33f/libopenapi/blob/main/index/resolver_test.go#L1339 The upstream fix is available in |
The following spec causes vacuum to spin infinitely and consume all available memory:
Not sure what to call it, not even sure if it's valid, but probably shouldn't break vacuum...
The text was updated successfully, but these errors were encountered: