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

Stuck on "Gathering all the spago configs in the tree" #1242

Closed
f-f opened this issue Jul 2, 2024 · 2 comments · Fixed by #1244
Closed

Stuck on "Gathering all the spago configs in the tree" #1242

f-f opened this issue Jul 2, 2024 · 2 comments · Fixed by #1244

Comments

@f-f
Copy link
Member

f-f commented Jul 2, 2024

The build hangs (or it's taking more than 1 minute) when running Glob.gitignoringGlob, so the latest patches there must be spinning in some corner case - this issue doesn't show up e.g. when building spago itself.

cc @cakekindel

Repro

@f-f f-f added the bug label Jul 2, 2024
@f-f f-f added this to the spago-next alpha bugs milestone Jul 2, 2024
@f-f
Copy link
Member Author

f-f commented Jul 3, 2024

Spago 0.93.32 works, but 0.93.33 hangs, so the bug is in #1234 + #1236

@f-f
Copy link
Member Author

f-f commented Jul 3, 2024

If I stick some logging inside the entryFilter and deepFilter functions it looks like the logs come very fast at first, and slow down gradually - it seems a hint to some quadratic complexity somewhere

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

Successfully merging a pull request may close this issue.

1 participant