Jesse Shieh

Results 24 comments of Jesse Shieh

I spent some time playing around with awk to try and pinpoint the specific problem in the awk script and found this in case it's helpful. ``` echo '${u*}' |...

Perhaps the regex isn't really even needed so we can replace `gsub` with something like [this](https://stackoverflow.com/questions/20956378/replace-string-without-regex).

fwiw, I also see these messages when running `mix test` on swarm. Specifically ``` mix test test/integration_test.exs:63 ``` And the test passes. When I change the `cast` to a `call`...

## More observations In the passing case, I see the following logs ``` *DBG* 'Elixir.Swarm.Tracker' consume cast {sync_recv,, {{0,{0,1}},0}, [{entry,{worker,8}, ,#Ref, #{group1 => true, mfa => {'Elixir.MyApp.Worker',start_link,[]}}, {0,{0,0,1}}}, ... {0,{0,0,1}}}]}...

It turns out, the reason why changing the `cast` to a `call` doesn't work is because it causes a deadlock. The pull request I submitted does not change it to...

I can't remember if the patch fixed it or not since it was so long ago, but I've since decided to use something other than swarm so I'm not sure...

Here is the full trace output. I ran the build twice. The first time `00_buildpack-multi` was detected, the second time it was not. https://gist.github.com/anonymous/668af6455f71b56deb8f49408756080a

Here are the contents of the files. ``` user@foo:~/app$ cat .buildpacks https://github.com/HashNuke/heroku-buildpack-elixir https://github.com/gjaldon/heroku-buildpack-phoenix-static user@foo:~/app$ cat package.json user@foo:~/app$ ```

One weird thing I've noticed recently: in my setup, I use packer to generate a Google Compute Platform image based on ubuntu-1604-lts. Sometimes, when I generate an image (image A),...

@x-ji thanks for the feedback! That's a good idea. I'll put it in the docs somewhere. Also happy to accept pull requests if you know a good place to put...