Files
Jeremy dc88f7b037 test: fix settings save isolation and updatePrices return assertions
- Forget the AppSettings singleton in TestCase::setUp so each test loads
  settings fresh from the migrated DB; a singleton loaded before the new
  settings rows exist marks them default-loaded, making AppSettings::save()
  throw MissingSettings (exposed by the new required scrape_retry settings).
- Align the retry-settings page test with the existing convention (assert no
  form errors on the fields; add a min-value validation test) instead of a
  full-form persistence assertion the page's unrelated required fields block.
- Update UrlTest for the new Collection return type of Product::updatePrices().

harden: RetryUrlPriceJob tries/missing-models/notification throttle

Address final code review findings:
- Set $tries=1 so queue-level retries don't duplicate the explicit retry chain.
- Set $deleteWhenMissingModels=true so a URL/product deleted before the delayed
  job runs is discarded silently rather than failing the job.
- Throttle the exhaustion notification to one per product per retry window, so a
  multi-URL product doesn't send duplicate product-level scrape-fail notices.
- Assert the retry delay is applied in the job tests.
2026-06-10 21:58:32 +10:00
..