修复自主构建合同测试的执行锁夹具
Project CI / Frontend tests (pull_request) Successful in 2m57s
Project CI / Backend tests (pull_request) Successful in 3m58s
Project CI / Repository checks (pull_request) Successful in 1m20s
Project CI / Native shell tests (pull_request) Successful in 14m10s

避免调度前预占 code-prototype 执行 lane
等待真实子任务 run 的持久终态与 manifest 投影
This commit is contained in:
2026-08-12 12:29:07 +08:00
parent 40f5ec3146
commit c69c126b7b
@@ -1084,10 +1084,6 @@ async fn game_chat_pure_continue_inherits_failed_root_semantics_and_manifest_pro
"继续完成继承的现有游戏目标",
)
.expect("persist continued root Supervisor decision");
let _code_prototype_lane =
try_acquire_game_creator_agent_runtime_task_lock(&root, "code-prototype")
.expect("acquire continued main-agent execution lane")
.expect("continued main-agent execution lane is free");
let scheduled = schedule_autonomous_game_build_ready_tasks_at(
&root,
GAME_CREATOR_PROJECT_SUPERVISOR_AGENT_ID,
@@ -1103,7 +1099,7 @@ async fn game_chat_pure_continue_inherits_failed_root_semantics_and_manifest_pro
let _ = crate::tests::wait_for_agent_runtime_manifest_projection_async(
&root,
"code-prototype",
&scheduled[0].state.run_id,
&autonomous_manifest_ready_task_run_id(&continuation.run_id, "code-prototype"),
"failed",
"budget-exhausted",
GameCreationAppTaskStatus::Failed,