From 6525106f9c9fb862e854c5e949779c4a7a72c80e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Nov 2025 21:40:38 +0000 Subject: [PATCH 1/2] Initial plan From d72d386813308fdae2d066eb5f7e8a77dc731c9f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Nov 2025 21:46:10 +0000 Subject: [PATCH 2/2] Fix PostgreSQL connection leak by using test adapter Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com> --- config/environments/test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/test.rb b/config/environments/test.rb index 983be8e7..bffdd608 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -46,6 +46,9 @@ # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test + # Use test adapter for ActiveJob to avoid connection leaks from GoodJob + config.active_job.queue_adapter = :test + # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr