I was debugging a nasty issue for quite some time today. Out of nowhere, after multiple successful deploys throughout the day, suddenly any request to a controller using Action View template rendering starts to crash puma:
puma 7.1.0 (tcp://0.0.0.0:3000) [rails]: ../src/hb-buffer.cc:1998: void hb_buffer_append(hb_buffer_t*, const hb_buffer_t*, unsigned int, unsigned int): Assertion `!buffer->have_output && !source->have_output' failed.
This affected only prod, not development. It turned out removing the reactionview gem fixes the issue. I am on Rails 8.1 and deploying to Ubuntu with Kamal. Using Herb v0.8 if that matters.
I have no clue why this happened suddenly. From what i see the latest release is 2 weeks old and i have deployed plenty of times during the past weeks.
I was debugging a nasty issue for quite some time today. Out of nowhere, after multiple successful deploys throughout the day, suddenly any request to a controller using Action View template rendering starts to crash puma:
This affected only prod, not development. It turned out removing the reactionview gem fixes the issue. I am on Rails 8.1 and deploying to Ubuntu with Kamal. Using Herb v0.8 if that matters.
I have no clue why this happened suddenly. From what i see the latest release is 2 weeks old and i have deployed plenty of times during the past weeks.