Files
MemRelay/projects/25464650-ed5d-440e-b362-190f2852d451/Checkpoint 2026-09-30 06-59-34 UTC [3ce081c693].md
T
memrelay b8fa264b98 create: Checkpoint 2026-09-30 06:59:34 UTC [3ce081c693]
MemRelay-Operation: checkpoint-save:t01-ws-harness-20260930-1448
MemRelay-Resource: 0c39c482-f21a-4127-9d12-6febe5ba11f3
2026-09-30 15:00:08 +08:00

53 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-09-30 06:59:34 UTC [3ce081c693]
type: checkpoint
permalink: main/projects/25464650-ed5d-440e-b362-190f2852d451/checkpoint-2026-09-30-06-59-34-utc-3ce081c693
stable_id: 0c39c482-f21a-4127-9d12-6febe5ba11f3
scope: project
memory_type: checkpoint
project_id: 25464650-ed5d-440e-b362-190f2852d451
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: t01-ws-harness-20260930-1448
created_at: '2026-09-30T06:59:34.045814+00:00'
updated_at: '2026-09-30T06:59:34.045814+00:00'
tags:
- ready-to-merge
- T-01
- lane-test
---
# 检查点:测试线 Q · T-01(issue #3)已推送,未合入 main
## 线 / 任务
- 线:测试交付 Q
- 任务:T-01(Gitea #3)测试 WS 客户端拆包/写锁,去掉群事件 20ms 绕过
- 分支:`feat/fix-t01-ws-harness`(已推送 origin,未推 main,未关闭 issue)
- 提交:`14f93dcf7584acd766235053011344626b89af73` fix: 测试 WS 客户端按字节流拆包并恢复群事件同步下发
- 工作树:`E:\code\NixMsg-wt\r2-t`
- 基线:`origin/main` = `4059a15`
## 完成内容
- `test/harness/mqtt.go`:Recv 按 MQTT 字节流缓冲拆包(含 continuation);Send/PONG 互斥锁且整帧一次 Write
- 新增 `test/harness/mqtt_test.go`:合帧 3 包、跨帧3、双 goroutine 各 Send 1000 次
- `internal/app/group/app.go` 仅 `emit`:去掉 goroutine+20ms,同步 PublishDown QoS0
- F15:去掉独立短进程,同一长会话 `group.add` + 当次对话密码
- `docs/DEVIATIONS.md`:标注 Q accept-rest 2–4 与「死锁未修」已被 T-01 取代,文末 `### 复审修复 T-01`
- `test/accept/ACCEPTANCE.md`:更正误判死锁的结论
- 未改 `internal/broker/`、`cmd/nixmsg/`、`sdk/`、`web/`、`internal/admin/`;未合入 `feat/fix-3-downlink-deadlock`;未删 `E:\code\NixMsg-wt\fix3`
## 验证
- `go test ./test/harness/ ./internal/app/group/ ./cmd/nixmsg/ -count=1` 通过
- `go test ./cmd/nixmsg/ -run TestUplinkDMOfflineGroupRecall -count=20` 通过(79.7s)
- `go test ./test/accept/ -count=1` 通过
- `task check` 通过(web build、golangci-lint 0 issues、go test ./...)
## 下一步
- 总控审阅后 ff-only 合并 `feat/fix-t01-ws-harness`
- 不修 T-02/T-03;不强推 main
## 给下个会话
- issue #3 仍 open,可在评论看 commit
- 勿删 `E:\code\NixMsg-wt\fix3`
- 本工作树 `r2-t` 可在合并后清理