PowerEngine 后端图模服务代码仓库
Go to file
douxu 42956d1793 feat: add dedicated message-exchange for task lifecycle notifications
- add constants/message.go with MessageTask* categories and message-exchange /
    message-queue / dead-letter routing constants
  - add mq/publish_message.go with PushMessageToRabbitMQ (confirm mode,
    dead-letter queue) separate from the existing event-exchange publisher
  - add mq/emit.go with TryEmitMessage for non-blocking, OTel-traced dispatch
  - add mq/event/task_event_gen.go with NewTaskSubmitted/Running/Completed/
    Failed/CancelledMessage constructors
  - wire TryEmitMessage into task worker and create/cancel handlers so all 5
    lifecycle transitions are published (previously task.* routed to
    event-exchange with no matching binding, causing silent drops)
  - harden Dockerfile: scratch final image, pinned alpine:3.21 certs stage,
    apk upgrade in builder, add -trimpath -mod=readonly go build flags
  - add full K8s manifests under deploy/k8s/ for Redis, RabbitMQ (mTLS),
    ModelRT (Downward API, scratch image, readOnlyRootFilesystem), Jaeger,
    Loki, Promtail, Grafana
  - expand deploy.md with async_task SQL schema, TLS cert generation steps,
    K8s deployment procedures, and SSH tunnel configuration
2026-05-13 16:58:36 +08:00
common refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
config feat: add Loki logging, fix MQ shutdown order, improve realtime tracing 2026-05-11 17:34:27 +08:00
constants feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
database refactor: overhaul async task handler routing and fix data consistency 2026-04-27 17:55:38 +08:00
deploy feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
diagram refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
distributedlock optimize code of redis init 2026-01-28 16:49:12 +08:00
doc refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +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: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
logger feat: add Loki logging, fix MQ shutdown order, improve realtime tracing 2026-05-11 17:34:27 +08:00
middleware refactor: migrate trace propagation from B3 to W3C TraceContext - switch OTel propagator from b3.New() to propagation.TraceContext{} - rename B3 header constants to generic internal context keys 2026-05-07 16:43:34 +08:00
model feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
mq feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +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 feat: add Loki logging, fix MQ shutdown order, improve realtime tracing 2026-05-11 17:34:27 +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 feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +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 refactor: migrate trace propagation from B3 to W3C TraceContext - switch OTel propagator from b3.New() to propagation.TraceContext{} - rename B3 header constants to generic internal context keys 2026-05-07 16:43:34 +08:00
go.sum refactor: migrate trace propagation from B3 to W3C TraceContext - switch OTel propagator from b3.New() to propagation.TraceContext{} - rename B3 header constants to generic internal context keys 2026-05-07 16:43:34 +08:00
main.go feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00

README.md

ModelRT

Build Status