Leo Arnold

Results 39 comments of Leo Arnold
trafficstars

As far as I understand #469 tried to pivot from asset compilation _path after path_ to _all paths in parallel_. Therefore we need to wait for all compilers to finish...

@gingerlime I set `Sprockets.export_concurrent = false` in a Rails initializer in our project and asset compilation worked as expected, so it all seems to be about the use of the...

@gingerlime I think I'm onto it: I think Sprockets is deadlocking because it tries to compile some assets **twice in parallel**. I think I missed the last paragraph of https://eileencodes.com/posts/the-sprockets-4-manifest/...

@gingerlime To get my manifest right, I temporarily added the line ```ruby pp args.flatten.map { |path| [path, environment.find_all_linked_assets(path).map(&:filename)] }.to_h ``` in between these two https://github.com/rails/sprockets/blob/c4b191e70d89e9d70f19ade5faf0692054a3bd1b/lib/sprockets/manifest.rb#L122-L123 and run `rails assets:precompile`. As...

@gingerlime Out of curiosity: Why do you only link the directory `javascripts/ckeditor` instead of all of `javascripts`?

@gingerlime Can you post an (obfuscated) example of your asset list with the duplicates. Maybe we can construct a failing unit test from it in order to draw some core...

@gingerlime AFAIK the strace can only show _what_ is happening, but not _why_. In the current understanding of the problem (as per this thread right here), I think we are...

@RST-J @iainbeeston Are you still on this? MultiJSON is causing an intricate headache: https://github.com/ohler55/oj/issues/441#issuecomment-355593741

@Jesterovskiy Let me guess: Your `Gemfile.lock` contains `multi_json`, right?

Everyone affected: please also read this explanation: https://github.com/ohler55/oj/issues/441#issuecomment-355593741