MemRelay-Operation: checkpoint-save:q-infra-20260930-checkpoint-1 MemRelay-Resource: 6fbac592-c59a-403f-8146-5e8cdc4d617a
2.2 KiB
2.2 KiB
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-29 22:52:03 UTC [6d051fd286] | checkpoint | main/projects/25464650-ed5d-440e-b362-190f2852d451/checkpoint-2026-09-29-22-52-03-utc-6d051fd286 | 6fbac592-c59a-403f-8146-5e8cdc4d617a | project | checkpoint | 25464650-ed5d-440e-b362-190f2852d451 | 0c9feb46-d06e-43cd-9ef0-c5813c84a998 | active | 1 | q-infra-20260930-checkpoint-1 | 2026-09-29T22:52:03.040225+00:00 | 2026-09-29T22:52:03.040225+00:00 |
|
检查点:测试交付 Q · Q1 + Q4 骨架
- 线名:测试交付 Q
- 任务:Q1 测试基础设施;Q4 Docker 镜像骨架(本波不做弱网压测、验收用例、不 docker push)
- 分支:feat/q-infra
- 工作树:e:\code\NixMsg-wt\q(基于 origin/main @ 22c56d1)
完成内容
- test/chaos:toxiproxy 官方镜像 compose(-p q-chaos,容器 q-toxiproxy)、Go 客户端(延迟/断开)、netem Linux 容器脚本与 README;单元测试用 httptest。
- test/load:MQTT 多连接压测骨架 + mqttbench 命令;假 broker 单元测试打印连接数(未压到 1000/10 分钟)。
- test/report:F01–F23 验收报告生成器 + 空结果样例 + genreport;单元测试与样例输出。
- deploy:多阶段 Dockerfile(Node→Go→distroless static nonroot)、docker-compose.yml(镜像 git.asio.asia/nixevol/nixmsg,healthcheck /nixmsg healthcheck)、config.docker.yaml;根目录 .dockerignore。
- 为健康检查在 cmd/nixmsg 增加 healthcheck 子命令(共享目录小改动,已记 DEVIATIONS)。
- 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 条