modelRT/task
douxu 33f7d758e5 refactor: overhaul async task handler routing and fix data consistency
- fix params lost in RabbitMQ transit by threading them through PublishTask/PublishTaskWithRetry
  - fix UpdateTaskErrorInfo not setting status=FAILED on async_task
  - fix UpdateAsyncTaskResultWithError silently skipping when no result row exists (UPDATE → upsert)
  - sync task failure to async_task_result in updateTaskWithError
  - remove taskType from AsyncTaskHandler.Execute interface; rename TaskHandler → AsyncTaskHandler
  - replace CompositeHandler with direct factory.GetHandler dispatch via worker.dispatch()
  - use constructors (NewXxxHandler) for handler registration instead of zero-value literals
  - consolidate TaskType/TaskStatus/UnifiedTaskType into task/types.go; delete types_v2.go
  - extract BaseTask/TaskParams into task/base_task.go
2026-04-27 17:55:38 +08:00
..
base_task.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
handler_factory.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
initializer.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
metrics_logger.go Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
queue_message.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
queue_producer.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
retry_manager.go Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
retry_queue.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
test_task.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
types.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
worker.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00