soulsync/tests/imports
BoulderBadgeDad 4a1b3d0627 PR #801 follow-up: default-config template contradicted the retry engine's documented default
CI failed all 7 requeue tests that passed locally. Root cause is a real
shipping bug, not test flake: config/settings.py's default template set
retry_next_candidate_on_mismatch: False ("Default off — opt-in") while the
monitor reads it with inline default True and the PR documents it as ON.
Outcome split the userbase: a FRESH install (or CI's clean runner) gets the
template key = retry engine silently OFF; an existing config.json lacks the
key = inline True wins = engine ON. Same code, opposite behavior, decided by
install age.

- template aligned to True (the documented + approved default; existing
  installs already behave this way via the inline default)
- the requeue tests now pin the toggle ON via the wiring helper instead of
  reading the runner's ambient config — CI's fresh defaults vs a dev's
  lived-in config.json must never decide whether they pass. _patch_config
  composes (it wraps the pinned get and falls through).

64 retry-engine tests pass; fresh-default simulation confirms the toggle
resolves True.
2026-06-07 11:04:28 -07:00
..
test_album_matching_exact_id.py
test_album_matching_helper.py
test_album_search_scoring.py
test_auto_import_clear_completed_endpoint.py
test_auto_import_context_shape.py
test_auto_import_executor.py
test_auto_import_live_progress.py
test_auto_import_multi_disc_matching.py
test_auto_import_multi_source_fallback.py
test_auto_import_scanner_grouping.py
test_auto_import_tag_reader_real_files.py
test_build_single_import_context_typed_path.py
test_dedup_orphan_cleanup.py
test_duration_tolerance_resolution.py
test_file_integrity.py
test_import_album.py
test_import_context.py
test_import_file_ops.py
test_import_filename.py
test_import_guards.py
test_import_paths.py
test_import_pipeline.py
test_import_rejection_reason.py
test_import_resolution_single_track_context.py
test_import_routes.py
test_import_side_effects.py
test_import_singles_route_through_album_path.py
test_import_staging.py
test_lossy_copy_delete_original.py
test_quarantine_management.py
test_search_match_endpoints.py
test_track_number_resolver.py
test_version_mismatch_fallback.py