I upgraded to Elixir 1.15 and am having issues deploying on Heroku now. Whenever the app restarts, the whole application recompiles. On our large application, this recompile takes longer than 30 seconds, which causes the app to crash.
I’m able to reproduce this on a bare bones Phoenix app. The line where it says “Compiling 15 files” should not be happening during a restart.
2023-07-06T14:42:59.587968+00:00 heroku[web.1]: Restarting
2023-07-06T14:42:59.650735+00:00 heroku[web.1]: State changed from up to starting
2023-07-06T14:43:00.295043+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2023-07-06T14:43:00.322078+00:00 app[web.1]: 14:43:00.321 [notice] SIGTERM received - shutting down
2023-07-06T14:43:00.322086+00:00 app[web.1]:
2023-07-06T14:43:01.502645+00:00 heroku[web.1]: Process exited with status 0
2023-07-06T14:43:03.720077+00:00 heroku[web.1]: Starting process with command `mix phx.server`
2023-07-06T14:43:05.363804+00:00 app[web.1]: Compiling 15 files (.ex)
Where should I report this issue? I don’t know if it’s something specific to Elixir or if the Heroku buildpack we’re using needs to be updated to support Elixir 1.15. GitHub - HashNuke/heroku-buildpack-elixir: Heroku Buildpack for Elixir with nitro boost