Files
ss-tools/backend
busya c4ccfcc9fd fix(migration): dual-mode recovery logging + regression tests for PR-0160 incident
The composite-key recovery branch crashed with TypeError depending on execution
mode: TaskLogger requires metadata=, app CoT logger requires extra=. The earlier
metadata= fix repaired task-context runs but broke context-less runs (6 existing
tests confirmed).

- add _emit_task_log: inspect-based kwarg selection per logger backend
  (@REJECTED TypeError-catch: masks genuine logging failures)
- add test_migration_recovery_regression.py with a REAL TaskLogger (mocks
  silently accepted the wrong kwarg, which is why the prod bug was never
  caught): recovery success phases started/sync/retry_import/completed,
  context-less mode, invalid mutation-server coercion to target,
  retry-failure entry fields, NO_MATCHES short-circuit
2026-08-26 13:37:27 +03:00
..
2026-06-01 16:34:07 +03:00
2026-05-20 23:54:53 +03:00