- add imagePullPolicy: IfNotPresent to all k8s Deployments, DaemonSet
(grafana, jaeger, loki, rabbitmq, redis, promtail)
- migrate wg.Add(1)/go/defer wg.Done() pattern to wg.Go() (Go 1.25+)
in logger/loki_syncer.go and task/worker.go
- simplify redundant map existence check before delete in diagram/graph.go
- update deploy.md to reflect pg PVC size (6Gi) and resource limits
- rename all K8s services to xxx-service convention and update
all configmap references (postgres, mongodb, loki, jaeger)
- add explicit command: ["/app/modelrt"] to deployment to prevent
args from being treated as the executable (no ENTRYPOINT in
Dockerfile)
- set deploy_env to development to bypass Redis empty-password
guard in non-production Minikube environment
- fix GormLogger Info/Warn/Error to use fmt.Sprintf(msg, data...)
so GORM printf-style messages are formatted correctly and avoid
json: unsupported type: func() time.Time serialization panic
- expand pg PVC storage from 2Gi to 6Gi
- rename loop variable msg to task in PushTaskToRabbitMQ for clarity
- align comment indentation in queue_producer.go
- add 3-stage build table (builder/certs/scratch) with image size note
- add build-arg USER_ID override example in section 5.1
- add section 5.1.1 with smoke-test commands (size check, inspect, dry
run, full start)
- add workflow for loading pre-built local images into Minikube
directly
- bump builder base image from golang:1.25-alpine to
golang:1.26-alpine
- normalize inline Dockerfile comments to lowercase
- remove example config COPY from final scratch stage
- lowercase first letter of all logger.Info/Warn/Error message strings
in task/worker.go, task/retry_queue.go, task/handler_factory.go,
task/metrics_logger.go, task/retry_manager.go, task/queue_producer.go,
task/initializer.go, task/test_task.go, and main.go
- fix inline comments in main.go that mixed Chinese and uppercase English
- align Dockerfile comment casing with project convention
- replace interface{} with any across ~30 files for Go 1.18+ style
- adopt for-range-over-int loops in place of explicit index loops
- use maps.Copy from stdlib to replace manual map copy loops
- use min() builtin for exponential backoff delay cap in retry_manager
- add MongoDB 7.0 K8s manifests (StatefulSet, Service, PVC, Secret)
- document PostgreSQL and MongoDB deploy steps in deploy.md with SSH tunnel port mappings
- bind postgres.password to POSTGRES_PASSWORD env var via viper BindEnv
- bind service.secret_key to SERVICE_SECRET_KEY env var via viper BindEnv
- upgrade builder base image from golang:1.24-alpine to golang:1.25-alpine
- add split PostgreSQL K8s manifests for ConfigMap, Service, PVC, and StatefulSet
- expose PostgreSQL through NodePort for local Minikube access
- replace deploy.md LaTeX text syntax with Markdown inline code formatting
- keep deployment documentation rendering stable in Wiki.js and Markdown viewers
- rename TaskParams interface to Params in task/base_task.go for brevity - remove debug fmt.Println/Printf statements from graph.go and handler_factory.go
- fix is_local flag from false to true for existing test components in deploy.md - add 6 new test component records (ns4-ns8) to deploy seed data
- add TopologyAnalysisHandler.Execute() with 5-phase BFS reachability
check between start/end component UUIDs; support CheckInService flag
to skip out-of-service nodes during traversal
- carry task params through RabbitMQ message (TaskQueueMessage.Params)
instead of re-querying DB in handler; update TaskHandler.Execute
interface and all handler signatures accordingly
- fix BuildMultiBranchTree UUIDFrom condition bug; return nodeMap for
O(1) lookup; add QueryTopologicByStartUUID for directed traversal
- add QueryBayByUUID/QueryBaysByUUIDs and
QueryComponentsInServiceByUUIDs (two-column select) to database layer
- add diagram.FindPath via LCA algorithm for tree path reconstruction
- move initTracerProvider to middleware.InitTracerProvider; add
OtelConfig struct to ModelRTConfig for endpoint configuration
- update topology analysis params to start/end_component_uuid +
check_in_service; remove dead topology init code