modelRT/database
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
..
async_task_extended.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
async_task_operations.go refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
create_component.go feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
create_measurement.go feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
create_model_info.go refactor(errer-package): optimize package name of constant 2025-06-13 15:34:49 +08:00
create_topologic.go optimize database struct 2025-11-19 17:44:08 +08:00
delete_topologic.go refactor(errer-package): optimize package name of constant 2025-06-13 15:34:49 +08:00
fill_identity_token_model.go optimize code of config 2026-01-29 17:00:20 +08:00
filling_attr_model_info.go optimize code of config 2026-01-29 17:00:20 +08:00
postgres_init.go feat: implement end-to-end distributed tracing for HTTP and async tasks 2026-04-23 16:48:32 +08:00
query_bay.go feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
query_component.go feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
query_component_attribute.go add func of init component measurement recommend 2025-12-24 16:55:55 +08:00
query_component_measurement.go add fullpath completion of component attribute group recommend 2025-12-26 12:00:00 +08:00
query_grid.go add telemetry machine code 2025-09-01 16:15:30 +08:00
query_measurement.go optimize variable naming and init real time data compute func 2025-11-13 17:29:49 +08:00
query_node_inof.go optimize code of sql struct and measurement node recommend api 2025-12-19 17:33:12 +08:00
query_page.go refactor(handler): use logger package log func replace zap log func 2025-06-06 16:41:52 +08:00
query_project_manager.go add code of send all target removed system signal in real time data pull api and fix bug of component attribute query api 2026-01-14 17:32:01 +08:00
query_station.go add telemetry machine code 2025-09-01 16:15:30 +08:00
query_topologic.go feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
query_zone.go add telemetry machine code 2025-09-01 16:15:30 +08:00
update_component.go feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
update_model_info.go refactor(errer-package): optimize package name of constant 2025-06-13 15:34:49 +08:00
update_topologic.go optimize database struct 2025-11-19 17:44:08 +08:00