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-05-25 08:36:33 +03:00
2026-08-25 11:42:31 +03:00
2026-05-17 14:18:02 +03:00
2026-08-26 13:37:27 +03:00
2026-08-26 13:37:27 +03:00
2026-05-26 19:18:28 +03:00
2026-05-26 19:18:28 +03:00
2026-08-19 17:14:32 +03:00
2026-08-25 11:42:31 +03:00
2026-07-08 11:10:59 +03:00
2026-06-01 16:34:07 +03:00
2026-08-25 11:42:31 +03:00
2026-08-25 11:42:31 +03:00
2026-08-25 11:42:31 +03:00
2026-07-06 15:49:48 +03:00
2026-07-31 11:28:50 +03:00
2026-07-06 10:06:07 +03:00
2026-07-07 15:18:24 +03:00
2026-05-20 23:54:53 +03:00
2026-05-14 11:20:17 +03:00