Skip to content

v0.7.1

Choose a tag to compare

@dchuk dchuk released this 19 Feb 05:15
· 373 commits to main since this release
77d2e0e

Changed

  • 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.
  • Split monolithic FeedFetcherTest (71 tests, 84.8s) into 6 concern-based test classes for better parallelization and maintainability.
  • Switched default test parallelism from fork-based to thread-based, eliminating PG segfault on single-file runs.
  • Reduced test log IO by setting test log level to :warn (was :debug, generating 95MB of output).
  • Adopted setup_once/before_all in 5 DB-heavy analytics/dashboard test files.
  • Added test:fast rake task to exclude integration and system tests during development.

Fixed

  • Suppressed spurious TestProf "before_all is not implemented for threads" warning by loading TestProf after parallelize call.

Testing

  • 1,033 tests, 3,302 assertions, 0 failures.
  • RuboCop: 0 offenses.
  • Brakeman: 0 warnings.