Files
MemRelay/projects/25464650-ed5d-440e-b362-190f2852d451/Checkpoint 2026-09-29 22-52-03 UTC [6d051fd286].md
T
memrelay 400fc8cbce create: Checkpoint 2026-09-29 22:52:03 UTC [6d051fd286]
MemRelay-Operation: checkpoint-save:q-infra-20260930-checkpoint-1
MemRelay-Resource: 6fbac592-c59a-403f-8146-5e8cdc4d617a
2026-09-30 06:52:05 +08:00

47 lines
2.2 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-29 22:52:03 UTC [6d051fd286]
type: checkpoint
permalink: main/projects/25464650-ed5d-440e-b362-190f2852d451/checkpoint-2026-09-29-22-52-03-utc-6d051fd286
stable_id: 6fbac592-c59a-403f-8146-5e8cdc4d617a
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: q-infra-20260930-checkpoint-1
created_at: '2026-09-29T22:52:03.040225+00:00'
updated_at: '2026-09-29T22:52:03.040225+00:00'
tags:
- ready-to-merge
- line-q
- q1
- q4
---
# 检查点:测试交付 Q · Q1 + Q4 骨架
- 线名:测试交付 Q
- 任务:Q1 测试基础设施;Q4 Docker 镜像骨架(本波不做弱网压测、验收用例、不 docker push)
- 分支:feat/q-infra
- 工作树:e:\\code\\NixMsg-wt\\q(基于 origin/main @ 22c56d1)
## 完成内容
1. test/chaos:toxiproxy 官方镜像 compose(-p q-chaos,容器 q-toxiproxy)、Go 客户端(延迟/断开)、netem Linux 容器脚本与 README;单元测试用 httptest。
2. test/load:MQTT 多连接压测骨架 + mqttbench 命令;假 broker 单元测试打印连接数(未压到 1000/10 分钟)。
3. test/report:F01–F23 验收报告生成器 + 空结果样例 + genreport;单元测试与样例输出。
4. deploy:多阶段 Dockerfile(Node→Go→distroless static nonroot)、docker-compose.yml(镜像 git.asio.asia/nixevol/nixmsg,healthcheck /nixmsg healthcheck)、config.docker.yaml;根目录 .dockerignore。
5. 为健康检查在 cmd/nixmsg 增加 healthcheck 子命令(共享目录小改动,已记 DEVIATIONS)。
6. docs/DEVIATIONS.md「测试交付 Q」节已写。
## 验证
- task check:通过
- go test ./test/chaos ./test/load ./test/report:通过
- docker build 当前架构成功;冒烟 /healthz=200,healthcheck exit=0(命名卷需先 chown 65532)
- toxiproxy compose 可起可清;未 docker push
## 未完成 / 下一步
- Q2 验收用例、Q3 弱网崩溃压测、Q4 多架构 buildx 与推送、Q5 文档
- 压测未到 1000 连接;F01–F23 全未测
- 给下个会话:只在 e:\\code\\NixMsg-wt\\q 工作;rebase origin/main 后再合;勿强推 main;命名卷权限坑见 DEVIATIONS 第 8 条