You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.