ci: 限制 Go 门禁并发峰值 #8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "codex/fix-ci-runner-oom"
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?
原因\n\nrun 14 与已通过的 run 13 使用完全相同的 Git tree,但 2 GiB rootless DinD runner 在 Go 冷编译期间丢失 Docker daemon。\n\n## 修改\n\n- 仅在 Verify Go code 步骤设置 GOFLAGS=-p=1、GOMAXPROCS=1\n- 主分支和发布工作流保持一致\n- 增加结构化流水线契约测试,防止限制丢失或扩散到 Trivy 等其他步骤\n\n## 验证\n\n- Go vet/test/govulncheck 通过\n- pnpm lint/test/build 通过\n- pnpm audit --audit-level high 通过(仅 1 个 moderate)\n- Compose 校验与全部 tests/ci 自测通过\n- Bash 语法、ShellCheck、YAML 解析与敏感信息扫描通过