执行摘要
- 一句话:AMD entrypoints 测试步骤设为软失败
- 推荐动作:该 PR 属于基础设施配置微调,不涉及代码逻辑,无需精读。可作为 CI 配置模式参考:当跨平台测试因环境差异不稳定时,通过
soft_fail 避免阻塞主流程,同时保留可见性。
功能与动机
AMD 平台上 entrypoints 测试的不稳定性会阻塞整个 CI 流水线,影响开发效率。通过在 AMD 镜像步骤中启用 soft_fail,将失败降级为警告,避免阻塞,同时保留可见性,待 AMD 支持稳定后再恢复强制通过。依赖 PR vllm-project/ci-infra#364 在 pipeline 生成器中添加了对 soft_fail 配置的支持。
实现拆解
在 .buildkite/test_areas/entrypoints.yaml 中,对以下 5 个步骤的 mirror.amd 配置块新增 soft_fail: true:
- Entrypoints Integration (LLM) — 第 32 行
- Entrypoints Integration (API Server openai - Part 1) — 第 50 行
- Entrypoints Integration (API Server openai - Part 2) — 第 69 行
- Entrypoints Integration (API Server openai - Part 3) — 第 89 行
- Entrypoints Integration (API Server 2) — 第 112 行
仅添加了 5 行配置,无其他代码变更。NVIDIA 侧的步骤(如 Entrypoints Integration (Speech to Text))未做修改,不受影响。
关键文件:
.buildkite/test_areas/entrypoints.yaml(模块 CI配置;类别 config;类型 configuration): 唯一变更文件,在 5 个 AMD 镜像测试步骤中新增 soft_fail: true 配置。
关键符号:未识别
评论区精华
无 review 讨论。该 PR 无 review 评论或讨论。
风险与影响
- 风险:风险极低。仅修改 CI 配置,不影响任何运行时逻辑。主要风险是 AMD 测试失败变成警告后可能被忽略,导致 AMD 平台问题不能及时发现,但这正是 PR 的预期效果——在 AMD 支持稳定前避免阻塞流水线。
- 影响:影响范围仅限于 CI 流水线中 AMD 镜像的 entrypoints 测试步骤。NVIDIA 步骤无影响。开发人员不会再因 AMD 不稳定测试失败而被阻塞,同时失败信息仍可见,可监控 AMD 稳定性趋势。
- 风险标记:仅配置变更
关联脉络
- PR #364 Support soft_fail in AMD mirror blocks: 前置依赖,为 pipline 生成器添加了
soft_fail 支持,本 PR 在其基础上启用该功能。
参与讨论