Files
MemRelay/projects/25464650-ed5d-440e-b362-190f2852d451/Checkpoint 2026-09-30 02-51-19 UTC [3f41c4ffa5].md
T
memrelay 325b99b157 create: Checkpoint 2026-09-30 02:51:19 UTC [3f41c4ffa5]
MemRelay-Operation: checkpoint-save:fix5-metrics-b4789fc-20260930
MemRelay-Resource: 9a4c2024-f07c-47b5-9ba1-5f9de83cf6bf
2026-09-30 10:51:21 +08:00

1.7 KiB
Raw Blame History

title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
title type permalink stable_id scope memory_type project_id usage_profile_id status revision request_id created_at updated_at tags
Checkpoint 2026-09-30 02:51:19 UTC [3f41c4ffa5] checkpoint main/projects/25464650-ed5d-440e-b362-190f2852d451/checkpoint-2026-09-30-02-51-19-utc-3f41c4ffa5 9a4c2024-f07c-47b5-9ba1-5f9de83cf6bf project checkpoint 25464650-ed5d-440e-b362-190f2852d451 0c9feb46-d06e-43cd-9ef0-c5813c84a998 active 1 fix5-metrics-b4789fc-20260930 2026-09-30T02:51:19.017727+00:00 2026-09-30T02:51:19.017727+00:00
fix-5
feat/fix-5-metrics
ready-to-merge

检查点:fix issue #5 metrics 打点(已推分支,未合 main)

范围

  • 工作树 e:\\code\\NixMsg-wt\\fix5
  • 分支 feat/fix-5-metrics → origin/feat/fix-5-metrics
  • 提交 b4789fc(基线 479a08e)
  • issue #5;未合并 main;未关闭 issue

完成

  • nixmsg_connections{ws|tcp}:broker OnSessionEstablished/OnDisconnect 末尾 Inc/Dec
  • endpoints/deliveries_pending/messages_scheduled + 写队列/哈希排队:messageLoops 每秒采样真实值
  • dispatch_to_push/ack 直方图:PushPending 成功推送、Ack 成功确认时 Observe
  • write_batch_commit:store.Queue.OnBatchCommit
  • errors_total:uplink replyErr
  • DEVIATIONS 追加 ### fix-issue-5
  • 未改 group emit / 管理锁定 / 注册 IP / fatal;避开 PublishDown 与 dissolve 回执大段

验证

  • go test ./internal/metrics/ ./internal/broker/ ./internal/app/message/ ./internal/store/ ./cmd/nixmsg/ ./internal/httpx/ 通过
  • 未跑全仓 task check

下一步

  • 总控审阅后 ff-only 合 main;本线勿合 main
  • 与 feat/fix-3-downlink-deadlock、feat/fix-6-dissolve-receipt 合并时注意 hooks 末尾与 ack 小 diff