Merge remote-tracking branch 'origin/feat/game-works-management' into feat/game-works-management
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m34s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 1m18s
Project CI / Backend tests (pull_request) Successful in 4m27s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 10m41s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 9m41s
Project CI / Frontend tests (pull_request) Successful in 2m11s
Project CI / Native shell tests (pull_request) Successful in 6m4s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m8s
Project CI / Repository checks (pull_request) Successful in 2m53s

This commit is contained in:
2026-10-01 17:31:36 +08:00
3 changed files with 352 additions and 112 deletions
File diff suppressed because it is too large Load Diff
@@ -18,7 +18,7 @@ mod execution;
mod model_catalog;
pub(crate) use direct_project_identity::thread_id_for_project;
use direct_project_identity::*;
use execution::ExecutionAdapter;
use execution::{ExecutionAdapter, ResponseDeliveryFailure};
const GAME_CREATOR_CODEX_APP_SERVER_PROVIDER_ID: &str = "genarrative_agc";
const GAME_CREATOR_CODEX_APP_SERVER_API_KEY_ENV: &str = "GENARRATIVE_AGC_CODEX_API_KEY";
@@ -4824,7 +4824,7 @@ async fn read_game_creator_codex_app_server_stdout(
};
if !sent {
if let Some(adapter) = adapter {
adapter.response_write_failed();
adapter.response_delivery_failed(ResponseDeliveryFailure::Write);
}
}
});
@@ -4856,7 +4856,9 @@ async fn read_game_creator_codex_app_server_stdout(
let adapter = inner.execution.lock().ok().and_then(|slot| slot.clone());
if let Some(adapter) = adapter {
if !adapter.bind_turn(turn_id) {
adapter.response_write_failed();
adapter.response_delivery_failed(
ResponseDeliveryFailure::TurnBindMismatch,
);
}
}
}