forked from longtao.wu/droboticflow
📝 Record final test lane review and packaging coverage limits
This commit is contained in:
parent
322edf0c2e
commit
ae106bac27
@ -33,3 +33,7 @@ One coverage gap remains: standard product delivery packaging. This version runs
|
||||
## Still requires explicit approval and verification
|
||||
|
||||
Real six-source inventory/copy, company resource allocation, test-only TLS/ingress/PVC/CNI enforcement, deployment, browser acceptance on that environment, concurrency/capacity and rollback drills. Production promotion remains a separate explicitly approved action. Local test success cannot guarantee zero production impact.
|
||||
|
||||
Final spec re-review of 642ba1de..322edf0c confirmed the quota, evidence and snapshot fixes; the standard package finding remains open. Temporary local API/processor processes and the synthetic Mongo container were stopped after verification; data and reports were retained.
|
||||
|
||||
Final standards re-review confirmed the three original findings resolved and no new documented-rule, credential, or customer-safety breach. One low-priority possible Repeated Switches smell remains in the two-mode HTTP verifier; it is a nonblocking judgment call, not a documented-rule breach. Final remaining counts: Standards 1 low-priority heuristic; Spec 1 standard delivery packaging gap.
|
||||
|
||||
@ -29,7 +29,7 @@ python3 scripts/internal_test_lane.py credentials --config local-data/internal-t
|
||||
1. 审查 `environment.json`、`initializer.json`、私有 Secret 清单及 source/inventory 记录。环境清单建立独立 namespace、配额与网络策略、数据库和工作区 PVC;Mongo 目标副本为 1,API 与 processor 初始副本为 0。不要提前打开业务入口。测试 PVC 和数据库按批次独立,旧版本不能自动指向新批次迁移后的数据库。`internal-test-quota` 是整个测试 namespace 的固定名称配额,新批次清单会更新它;更新前人工核对现有 PVC、已用存储和运行工作负载,并确认新额度覆盖保留批次与新批次,且不低于当前实际占用。若此前部署过旧版按批次命名的 quota,应在单独审查和获准的远端清单中处理;旧对象不会因本地清单变化自动消失。
|
||||
2. 在获准测试 namespace 创建清单与私有 Secret,等待独立 Mongo 就绪。只在隔离工作区准备临时 initializer Pod,上传**已复制并核验**的模板文件、规范化 `manifest.json`、匹配源码版本的 Linux seed 可执行文件及必要的私有账号/URI 文件。临时 Pod 不是长期服务;测试 API、processor 不带客户读取凭证。
|
||||
3. 在 initializer 内对 `/workspace` 的文件重新运行 `internal-test-seed plan --manifest <manifest> --assets-root /workspace --workspace-root /workspace --batch <batch-id> --out <new-plan>`。本地预览计划绑定的是本地导入路径,不能跨机器复用。核对新计划的六个样本、两项目、五账号、目标数据库和摘要后,以**同一** manifest、素材根目录与计划摘要运行 `internal-test-seed apply --plan <new-plan> --manifest <manifest> --assets-root /workspace --accounts-file <private-accounts> --mongo-uri-file <private-uri> --confirm <new-plan-sha256>`。该命令只接受专用测试 URI 和空数据库;若中途失败,保持停机并调查部分写入,不绕过拒绝检查。
|
||||
4. 核实 seed 完成标记及素材路径/哈希,删除 initializer Pod 和暂存的私有文件,然后才将 API 与 processor 调至各 1 个副本。处理器切片并发为 1。确认入口明确标为测试、五角色登录和越权拒绝,再通过原业务界面完成领取、切片、标注、送检、质检、终审和测试交付。输出留在测试工作区,不进入客户出口。
|
||||
4. 核实 seed 完成标记及素材路径/哈希,删除 initializer Pod 和暂存的私有文件,然后才将 API 与 processor 调至各 1 个副本。处理器切片并发为 1。确认入口明确标为测试、五角色登录和越权拒绝,再通过原业务界面完成领取、切片、标注、送检、质检和终审,并核验测试工作区内的受审媒体及 JSON。标准交付打包的未覆盖边界见下文;输出不进入客户出口。
|
||||
|
||||
`snapshot` 模板保留经审查的切片/动作内容,但 seed 不伪造送检、质检结论或切片生成产物。尤其是 `quality_review` 快照的切片媒体与正式审核证据必须通过真实业务提交和处理流程生成并核验;不能仅凭 `requestedStage` 字段宣称已进入质检。正常、退回和恢复路径的结果及未验证项应写入批次验收记录。测试通过不等于获准发布生产。
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user