MQTT-FIX-T02: bound Docker logs and document production rollout
frontend / frontend (push) Successful in 1m12s
pytest / test (push) Successful in 4m31s
docker-image / build-and-push (push) Successful in 1m51s

This commit is contained in:
tliu93 committed 2026-10-11 23:59:38 +02:00
1 parent 876754be56
commit f6ef99e34f
4 files changed
+181 -9

No files matched your search

+8 -8
View File
@@ -82,7 +82,7 @@ MQTT broker(包括 `10.238.75.82:1883`)、访问真实串口、改动生产
### MQTT-FIX-T02 — 为 Docker 日志配置轮转
- **Status**: `todo`
- **Status**: `done`
- **Depends**: MQTT-FIX-T01
- **Context**: 为本项目容器限定日志保留,明确源码修改与生产容器应用配置是两个操作。
@@ -109,13 +109,13 @@ MQTT broker(包括 `10.238.75.82:1883`)、访问真实串口、改动生产
- 不纳入用户已有的串口映射/group_add 改动。
**Acceptance criteria**
- [ ] app、migration 最终 Compose 均含指定字符串 logging options。
- [ ] 开发 override 合并后日志配置正确。
- [ ] Compose 经 config --quiet 或等效静态检查,不输出凭据。
- [ ] 文档说明日志路径、docker logs、保留策略、restart 无效而须重建。
- [ ] 文档明确生产路径、最小同步、镜像更新前提、采集中断、验证与回退;区分镜像发布和日志配置应用。
- [ ] 无生产操作、数据/日志删除,已有无关改动保留。
- [ ] pytest、ruff 全绿,独立 Reviewer 重跑并核查合并及部署可执行性。
- [x] app、migration 最终 Compose 均含指定字符串 logging options。
- [x] 开发 override 合并后日志配置正确。
- [x] Compose 经 config --quiet 或等效静态检查,不输出凭据。
- [x] 文档说明日志路径、docker logs、保留策略、restart 无效而须重建。
- [x] 文档明确生产路径、最小同步、镜像更新前提、采集中断、验证与回退;区分镜像发布和日志配置应用。
- [x] 无生产操作、数据/日志删除,已有无关改动保留。
- [x] pytest、ruff 全绿,独立 Reviewer 重跑并核查合并及部署可执行性。
**Reviewer checklist**
- 核查 logging options 类型及基础/开发配置合并;静态配置检查的范围和凭据保护。