fix(candidate): 容器未运行时带出退出码与日志尾 #43
Reference in New Issue
Block a user
Delete Branch "fix/candidate-failure-diagnosis"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
现象
候选构建失败时,作业只拿到
{"error": "expected container is not running"},看不出根因:failed to bind host port 127.0.0.1:32792+ 容器 task 被删;worker容器启动即退出(RECONCILIATION_TIMEZONE: unknown time zone Asia/Shanghai,另见 #42),但容器被
down清掉后,日志也一起没了。改动
scripts/production_cd.py的inspect():容器名: container is <status> (exit <code>); log: <最近 5 行>;running image ... is not an approved image ID;验证(真实容器)
只改错误路径,不改判据;未合并、未部署。
关联需求:CYWL-34(T6 导入对账)——本 PR 修复候选构建 blocker(worker 容器缺时区数据启动即退出)。