source_monitor 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -15,6 +15,27 @@ All notable changes to this project are documented below. The format follows [Ke
15
15
 
16
16
  - No unreleased changes yet.
17
17
 
18
+ ## [0.7.1] - 2026-02-18
19
+
20
+ ### Changed
21
+
22
+ - **Test suite 60% faster (118s → 46s).** Disabled Faraday retry middleware in tests — WebMock-stubbed timeout errors triggered 4 retries with exponential backoff (7.5s of real sleep per test), consuming 73% of total runtime across 11 FeedFetcher tests.
23
+ - Split monolithic FeedFetcherTest (71 tests, 84.8s) into 6 concern-based test classes for better parallelization and maintainability.
24
+ - Switched default test parallelism from fork-based to thread-based, eliminating PG segfault on single-file runs.
25
+ - Reduced test log IO by setting test log level to `:warn` (was `:debug`, generating 95MB of output).
26
+ - Adopted `setup_once`/`before_all` in 5 DB-heavy analytics/dashboard test files.
27
+ - Added `test:fast` rake task to exclude integration and system tests during development.
28
+
29
+ ### Fixed
30
+
31
+ - Suppressed spurious TestProf "before_all is not implemented for threads" warning by loading TestProf after `parallelize` call.
32
+
33
+ ### Testing
34
+
35
+ - 1,033 tests, 3,302 assertions, 0 failures.
36
+ - RuboCop: 0 offenses.
37
+ - Brakeman: 0 warnings.
38
+
18
39
  ## [0.7.0] - 2026-02-18
19
40
 
20
41
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- source_monitor (0.7.0)
4
+ source_monitor (0.7.1)
5
5
  cssbundling-rails (~> 1.4)
6
6
  faraday (~> 2.9)
7
7
  faraday-follow_redirects (~> 0.4)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SourceMonitor
4
- VERSION = "0.7.0"
4
+ VERSION = "0.7.1"
5
5
  end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :test do
4
+ desc "Run tests excluding slow integration and system tests"
5
+ task fast: :environment do
6
+ $stdout.puts "Running tests excluding integration/ and system/ directories..."
7
+ test_files = Dir["test/**/*_test.rb"]
8
+ .reject { |f| f.start_with?("test/integration/", "test/system/") }
9
+ system("bin/rails", "test", *test_files, exception: true)
10
+ end
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: source_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dchuk
@@ -434,6 +434,19 @@ files:
434
434
  - ".vbw-planning/phases/01-aia-certificate-resolution/PLAN-02.md"
435
435
  - ".vbw-planning/phases/01-aia-certificate-resolution/PLAN-03-SUMMARY.md"
436
436
  - ".vbw-planning/phases/01-aia-certificate-resolution/PLAN-03.md"
437
+ - ".vbw-planning/phases/02-test-performance/.context-dev.md"
438
+ - ".vbw-planning/phases/02-test-performance/.context-lead.md"
439
+ - ".vbw-planning/phases/02-test-performance/.context-qa.md"
440
+ - ".vbw-planning/phases/02-test-performance/02-RESEARCH.md"
441
+ - ".vbw-planning/phases/02-test-performance/02-VERIFICATION.md"
442
+ - ".vbw-planning/phases/02-test-performance/PLAN-01-SUMMARY.md"
443
+ - ".vbw-planning/phases/02-test-performance/PLAN-01.md"
444
+ - ".vbw-planning/phases/02-test-performance/PLAN-02-SUMMARY.md"
445
+ - ".vbw-planning/phases/02-test-performance/PLAN-02.md"
446
+ - ".vbw-planning/phases/02-test-performance/PLAN-03-SUMMARY.md"
447
+ - ".vbw-planning/phases/02-test-performance/PLAN-03.md"
448
+ - ".vbw-planning/phases/02-test-performance/PLAN-04-SUMMARY.md"
449
+ - ".vbw-planning/phases/02-test-performance/PLAN-04.md"
437
450
  - AGENTS.md
438
451
  - CHANGELOG.md
439
452
  - CLAUDE.md
@@ -720,6 +733,7 @@ files:
720
733
  - lib/tasks/source_monitor_assets.rake
721
734
  - lib/tasks/source_monitor_setup.rake
722
735
  - lib/tasks/source_monitor_tasks.rake
736
+ - lib/tasks/test_fast.rake
723
737
  - lib/tasks/test_smoke.rake
724
738
  - package-lock.json
725
739
  - package.json