Repository navigation
fix(box): pass the new nested-pair signatures at construction time - #1082
Conversation
_nested_pairs now takes old and new signatures and yields three values, but the construction-time call site still passed two arguments and unpacked two. Every install that reached construction-time closure handling raised TypeError, which Box._run converted to in_doubt with reason "control transport failed", so main returned in_doubt for every install and 117 conformance tests failed. Pass the signatures already in scope and ignore the compatibility flag, which preserves the previous behaviour for construction-time closures. Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666.
DO NOT PASS(非表决,必需 CI 未齐) · c41fab4f · Refs #1078
修复范围对:给构造期唯一漏掉的 _nested_pairs 调用补齐参数和三项解包,不改变闭包兼容策略。两条 full-check 都检出同一个 af5572d7 合并候选(main@af4c4fae + c41fab4f),已不再出现此前成批的 Box 失败;3.11 全绿。
3.10 日志 只剩两个红项:Engine exact-score 测试在 launch 前过期,installed catalog 用例在构建时报告 Sources changed。这不是原来的 Box 错误;目前只有日志证据,不能直接把它们认定为 flake 或据此跳过门禁。建议由相应 owner 核对同一合并候选下这两项并取得完整绿灯;#1073 的 edit/create 回归可另作独立测试交付,避免合入两套同一修复。
93/100:范围 3、正确性 3、验证 2(3.10 尚不通过;未自行执行)、主张证据 3(固定合并候选与作者 clean-clone 区分)、简洁性 3。本条不代投或合入。
zengchuang-hw
left a comment
There was a problem hiding this comment.
LGTM
dot, acting for zengchuang-hw.
PR review verdict — PASS
首次 Ready,#1078,base af4c4fae3f8ef18527d3128145d3d4879e2317a3(当时 main),head c41fab4fd96eb6d692c812338bcd7c6d86d47a36。修改只接齐构造期 _nested_pairs 的签名与三值返回,没有改变原配对选择。无可行动阻塞。
独立对照含 #1023/#1060 的 base:结构事务用例由 in_doubt 转为通过,head 全部 146 项结构事务测试通过。广跑的 worker readiness 在 base/head 均失败,未宣称本地整套 Box 通过。精确 head CI:full-check 3.11 通过;3.10 失败的日志为执行启动超时和 Knowledge catalog 快照变化,未见该构造点的 TypeError;安装检查两版通过。未运行真实设备。
Reviewer: dot / zengchuang-hw / 独立代码检视、发表与投票。公开范围 · 仓库评审规则;账号自动首审委托未公开。
|
@david6666666 both
The two 3.10 reds are load-sensitive, and neither touches
I also ran both files three consecutive times on Linux (Python 3.12) with no failure. That does not prove they can never flake under a loaded runner; it does show they are not caused by this change, and that the candidate now reports a full green. @amy-why-3459 the head is unchanged at |
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666.
PASS(非表决) · c41fab4f · Refs #1078
#1082 的两行修复没变。复核了 同一合并候选的重跑:af5572d7 的父提交仍是 af4c4fae 和 c41fab4f,两版 full-check、两版 installed-package、knowledge-model-policy 均通过。首次 3.10 两条失败保留在记录里,不能据此确认已找到它们的根因。本轮没有执行模型或设备测试。
100/100(范围 3、正确性 3、验证 3、主张证据 3、简洁性 3)。本条是技术复审;该账号收到的是状态补充,不是当前正式投票邀请,所以不代投或合入。
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
inferRSI, acting for @amy-why-3459.
PR review verdict — PASS
Reviewed base af4c4fae3f8ef18527d3128145d3d4879e2317a3 and head c41fab4fd96eb6d692c812338bcd7c6d86d47a36.
Verified the only change is the construction-time _nested_pairs call in src/inferrsi/box/kernel/swap.py: it now passes old_signatures and new_signatures already computed in that loop and unpacks the three-tuple, ignoring the compatibility flag so pre-#1060 pair collection is preserved. That is the TypeError that turned Box.install() into in_doubt after #1060. Whether construction_nested should later consume the compatibility flag is correctly left out of this slice. Latest checks on this head are green, including both full-check jobs after the 3.10 rerun; David’s earlier DO NOT PASS on incomplete CI is superseded by the later PASS on the same head. No unresolved CHANGES_REQUESTED. Accuracy and performance comparison evidence is not applicable for this call-site fix. I did not rerun the suite locally.
Governing Issue and delivery slice
Refs #1078
Box.install()returnin_doubtonmainsince feat(box): support proven local captures and active branch body edits #1060.src/inferrsi/box/kernel/swap.pyupdated to the_nested_pairscontract introduced by feat(box): support proven local captures and active branch body edits #1060.construction_nestedis left to the author of feat(box): support proven local captures and active branch body edits #1060.Knowledge authorship declaration
Not applicable (no protected knowledge paths modified).
Changed artifacts and evidence
src/inferrsi/box/kernel/swap.py: passold_signaturesandnew_signaturesto_nested_pairsand unpack its three valuestests/box/conformanceat020708f4with this change: 117 failed → 0 failed on Linuxokagaininstall()returnedin_doubt,details.reason = "control transport failed", becauseBox._runconverts theTypeErrorinto a receipt. After:okChecks and dependencies
020708f4with this patch:pytest tests/box/conformance -q→ 0 failed (117 before);pytest tests/box/repos/test_vllm_ascend_eager.py tests/box/vllm_common/test_multi_rank_and_core.py -q→ 27 passed.pytest tests/box/conformance -q→ all passed;ruff checkandruff format --checkon the changed file → clean.tests/box/vllm_common/test_multi_rank_and_core.pystill fail withBoxError: native frontend failed to prove readiness. They fail identically with this change stashed, so the cause is the Windows host, not this PR; the Linux run above passes the same file._nested_pairs(old, new, old_signatures, new_signatures, *, prove_identity=False, unique=True)and the three-value yield are unchanged from feat(box): support proven local captures and active branch body edits #1060;old_signaturesandnew_signaturesare already in scope at the call site.Remaining work and Issue closure
mainshould return to green once this merges; every open PR's merge check, including feat(box): add Ascend 910B1 vLLM-Omni T2VA pilot runner and offline receipt auditor #972, is blocked until then.