.vbw-planning/milestones/ui-fixes-and-smart-scraping/phases/05-simplify-source-status/05-SUMMARY.md
Updated the entire test suite (13 test files, 25+ source/view files) to use the simplified 4-status health model: working, declining, improving, failing. Removed all references to the old 6-status values (healthy, warning, critical, auto_paused, unknown). Also updated the corresponding source code since plans 01-04 had not yet been merged into this worktree.
| Hash | Message |
|---|---|
| a3ffe9c | test(health): update SourceHealthMonitor tests for 4-status model |
| 0d1faaa | test(health): update reset tests for working status |
| 7c58f18 | test: update model, controller, and helper tests for 4-status health |
| dc85857 | test(health): update remaining test files for 4-status health model |
| 10c4259 | fix(test): resolve remaining test failures from status migration |
Updated source files to match the 4-status model alongside tests:
lib/source_monitor/health/source_health_monitor.rb - New decision tree, removed warning_thresholdlib/source_monitor/health/source_health_reset.rb - Reset to "working"lib/source_monitor/configuration/health_settings.rb - Removed warning_thresholdapp/models/source_monitor/source.rb - Default "working"app/helpers/source_monitor/health_badge_helper.rb - 4-status mappingapp/jobs/source_monitor/source_health_check_job.rb - DEGRADED_STATUSES updatedlib/source_monitor/fetching/feed_fetcher/source_updater.rb - Auto-pause sets "failing"lib/source_monitor/health/import_source_health_check.rb - Returns "working" not "healthy"lib/source_monitor/dashboard/queries/stats_query.rb - 4-status distributiontest/dummy/db/schema.rb - Default "working"