PowerEngine 后端图模服务代码仓库
Go to file
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
common optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
config feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
constants feat: implement end-to-end distributed tracing for HTTP and async tasks 2026-04-23 16:48:32 +08:00
database refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
deploy feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
diagram feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
distributedlock optimize code of redis init 2026-01-28 16:49:12 +08:00
docs feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
example fix bug of test data with update handler 2025-01-13 15:54:40 +08:00
handler feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
logger feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
middleware feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
model feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
mq optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
network feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
orm feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
pool optimzie code organization structure of rabbitmq event 2026-02-25 17:14:25 +08:00
real-time-data optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
router add route of async task system 2026-03-17 16:08:46 +08:00
sql implemented task queue publishing using RabbitMQ 2026-04-01 17:15:33 +08:00
task refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
test optimize database struct 2025-11-19 17:44:08 +08:00
util optimize code of redis init 2026-01-28 16:49:12 +08:00
.drone.yml modify drone pipeline code 2025-02-10 15:21:34 +08:00
.gitignore add route of async task system 2026-03-17 16:08:46 +08:00
README.md merge feature-cgo branch 2025-07-31 10:48:56 +08:00
go.mod feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
go.sum feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
main.go feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00

README.md

ModelRT

Build Status