- cloud/server.py:重导出 handler_support._chv_vm_dead_from_row, 沿用 main 的 split 重导出约定(test_chv_arch_maint_fe 从 cloud.server 导入该名)。 - cloud/tests/test_coverage85_server2.py:执行器非法值文案期望 跟随分支行为(valid 列表已含 cloud-hypervisor,main 新增 的该用例原先按旧文案断言)。 - cloud/chv/compat215.py + test_chv_arch_maint_fe.py:#215 (facc2a2)已合入 main,四模块已存在,替换清单本身未动; 钉住项由“模块不存在”翻为“模块已存在”,tmpfs_isolated 扫描白名单加 canonical 定义 cloud/sandbox_policy.py。 R1/R2 替换本身未做(属合并后工作):语义已核对, gates.resolve_inside 与本地版逐行一致, sandbox_policy.tmpfs_isolated 对 cloud-hypervisor 同样返回 False,未触发 R2 的停手条件。
This commit is contained in:
1 parent
dba5620e29
commit
738982ce10
4 files changed
+20
-9
No files matched your search
@@ -238,7 +238,7 @@ class Server2TestCase(unittest.TestCase):
|
||||
({"project_id": pid, "prompt": "x", "priority": "abc"},
|
||||
"priority must be an integer"),
|
||||
({"project_id": pid, "prompt": "x", "executor": "bogus"},
|
||||
"executor must be local, docker or cloud"),
|
||||
"executor must be local, docker, cloud or cloud-hypervisor"),
|
||||
({"project_id": pid, "prompt": "x", "model": " "},
|
||||
"model must be a non-empty string"),
|
||||
({"project_id": pid, "prompt": "x", "effort": "ultra"},
|
||||
|
||||
Reference in new issue
Block a user