Files
break f6b11eb9ac
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m23s
修复
2026-08-10 17:37:55 +08:00

18 lines
1.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.
## 1. 配置数据迁移
- [x] 1.1 新增 `000206` 成对迁移:幂等写入 `protect``card_status` 两项 300 并发配置,并删除 `stop_start`down 迁移恢复旧配置集合。
- [x] 1.2 更新并发配置模型的任务类型说明,反映五项实际受支持的短任务类型。
## 2. 并发管理与限流
- [x] 2.1 修正并发管理服务的任务中文名称映射,覆盖全部五个短任务类型。
- [x] 2.2 移除与现有数据冲突的 1000 上限,保留最大并发必须为正整数的校验。
- [x] 2.3 在配置初始化流程清理 `stop_start` 的 Redis 配置缓存。
- [x] 2.4 将共享并发释放改为原子非负释放,确保重置、过期或重复释放后计数不小于零。
## 3. 文档与验证
- [x] 3.1 更新接口生成文档,确保轮询并发管理接口描述与响应一致。
- [x] 3.2 运行 gofmt、`go build ./cmd/api ./cmd/worker``go run cmd/gendocs/main.go``openspec validate --all``./scripts/context-health.sh`,记录结果。
- [x] 3.3 在隔离数据库执行迁移并验证配置列表只含五项、两项新增值为 300验证重置后释放不会产生负数并验证 down 迁移可执行。