Repository navigation
Conversation
Signed-off-by: lusendong.6789 <[email protected]>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
动机 / Motivation
维护 Package Smoke 分发检查的贡献者需要区分构建步骤和安装后的元数据读回。 现有串行工作流只准备一次 Benchmark Toolkit,安装回执也提及其分发名。旧测试按步骤内字符串命中次数计数,误报重复准备。 候选从真实 prepare.py 命令提取输出路径,并在 Core 明确依赖 companion job 时检查该 job。 这次只改已有的仓库策略测试和它的静态断言。
改动思路 / Approach
测试仍以真实 YAML 为输入。它读取 Core gate 的 needs 并兼容字符串和列表,在适用时选中实际运行 companion 准备的步骤。沿原有续行归一化与输出提取检查唯一性,把准备顺序的判断集中到同一组命令输出。
具体改动 / Changes
审查提交 67206a3,基线 2d47ab9。唯一修改位于现有策略用例,+12/-13。真实准备顺序依据基线既定工作流。串行布局沿 Core 的 prepare.py 输出检查,合并 gate 布局沿直接依赖的 core-companions 检查。Benchmark Toolkit 和 Workspace 的输出各须出现一次且先后正确,仍检查其他准备输出的唯一性。实际安装及分发名校验留在原打包作业。 串行工作流 · 并行候选工作流 · 策略用例
对主干的风险 / Risks
真实串行 main 与 #9670 精确候选的并行 YAML 上,原测试都失败,当前测试都通过。字符串形式的 needs 也能解析。 对两份 YAML 分别复制 Benchmark Toolkit 准备步骤、交换两项准备顺序、删除 Workspace 准备,六例候选均拒绝。移除并行 gate 的 companion 依赖后候选也拒绝。 本地策略模块 170 项通过。标准 premerge 的 5 项直接检查和 3 项选中检查全部通过。 #9670 修改实际 job 编排,本提交只修正读取该编排的静态判定。
我的整体评价 / Verdict
APPROVE。 修复了当前 main 的误报,同时保留对重复、缺失、顺序错误和依赖断开的检查。这里复验了两个精确版本的工作流输入和隔离变体。未运行 GitHub 托管的构建发布作业。
English verdict: APPROVE at 67206a3. Both real workflow layouts pass and the duplicate, missing, reversed and detached preparations are rejected.
Goal And Delivered Outcome
The mainline Package Smoke policy test mistook the matching meta package's installed-distribution readback for a second preparation. The test now reads the ordered output arguments of the actual preparation commands. It checks the required companion job when the gate uses the parallel layout. Failing main run · Parallel package qualification
Author Declaration
2d47ab9efarequires each preparation output once and Benchmark Toolkit preparation before Workspace. The diff changes one existing policy test.Validation
67206a3b804e034279420412f27d89012cbf5b9c.UI impact is none. The commit includes DCO sign-off.