From 1dbd0744326faf67b0add2b5e26ff646e1f39fe5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 02:56:04 +0000 Subject: [PATCH 1/2] Initial plan From bcf680a3d081751160910bd790ab5f403ee7fb48 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 02:57:36 +0000 Subject: [PATCH 2/2] Make Coveralls conditional to avoid firewall blocks in CI - Only load Coveralls when CI env and COVERALLS_REPO_TOKEN are present - This prevents connection attempts to coveralls.io when not configured - Tests will run successfully without coverage reporting by default - To enable coverage, add COVERALLS_REPO_TOKEN secret to GitHub Actions Co-authored-by: logicminds <563900+logicminds@users.noreply.github.com> --- spec/spec_helper.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 07db950..e90384f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,9 @@ -require 'coveralls' -Coveralls.wear! +# Only load Coveralls when running in CI with proper credentials +# This prevents firewall issues in restricted environments +if ENV['CI'] && ENV['COVERALLS_REPO_TOKEN'] + require 'coveralls' + Coveralls.wear! +end $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__))