modelRT/mq
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
..
event feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
emit.go feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
publish_message.go feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
publish_up_down_limit_event.go feat: add Loki logging, fix MQ shutdown order, improve realtime tracing 2026-05-11 17:34:27 +08:00
rabbitmq_init.go optimize code of rabbitmq connection and event alarm struct 2026-02-11 16:43:42 +08:00