修复自定义切片参数的持续集成构建
Project CI / Repository checks (pull_request) Failing after 16s
Project CI / Backend tests (pull_request) Failing after 16s
Project CI / Frontend tests (pull_request) Successful in 3m8s
Project CI / Native shell tests (pull_request) Failing after 13m58s

补齐客户端与服务端新增字段的测试构造

同步更新图集 OpenAPI schema 与 CI 合同检查
This commit is contained in:
2026-09-06 20:07:14 +08:00
parent ea45de9805
commit d7d6ca2ecc
2 changed files with 7 additions and 0 deletions
@@ -7679,6 +7679,7 @@ mod canvas_generation_tests {
asset_kind: "game-background".to_string(),
asset_label: "手工背景".to_string(),
replace_existing: true,
slice_count: None,
};
let ordinary =
standalone_platform_art_generation_runtime_context("完整生成提示词", &options, false)
@@ -9487,6 +9488,7 @@ mod canvas_generation_tests {
asset_kind: "icon-spec".to_string(),
asset_label: "整包规范图".to_string(),
replace_existing: false,
slice_count: None,
};
let prompt = "生成同一套整包美术";
let generation_prompt = build_platform_art_asset_prompt(prompt, &[], &options);
@@ -10324,6 +10326,7 @@ mod canvas_generation_tests {
asset_kind: "game-background".to_string(),
asset_label: "整包背景图".to_string(),
replace_existing: false,
slice_count: None,
};
let prompt = "保持同一个生成提示词";
let generation_prompt = build_platform_art_asset_prompt(prompt, &[], &options);
@@ -10775,6 +10778,7 @@ mod canvas_generation_tests {
asset_kind: "icon-spec".to_string(),
asset_label: "游戏统一视觉规范图".to_string(),
replace_existing: false,
slice_count: None,
};
let prompt = "恢复已受理视觉规范图";
let generation_prompt = build_platform_art_asset_prompt(prompt, &[], &options);
@@ -11349,6 +11353,7 @@ mod canvas_generation_tests {
asset_kind: "art-spritesheet".to_string(),
asset_label: "游戏首版核心美术素材".to_string(),
replace_existing: true,
slice_count: None,
}
}
@@ -1165,6 +1165,7 @@ async fn canonical_art_spec_and_ui_requests_use_the_shared_reference_chain() {
asset_kind: "ui-prototype".to_string(),
asset_label: "游戏横屏界面原型图".to_string(),
replace_existing: false,
slice_count: None,
},
)
.await;
@@ -4856,6 +4857,7 @@ fn ui_prototype_generation_uses_dedicated_prompt_and_art_spec() {
asset_kind: "ui-prototype".to_string(),
asset_label: "游戏横屏界面原型图".to_string(),
replace_existing: false,
slice_count: None,
};
let prompt = build_platform_art_asset_prompt(
"原创网格贪吃蛇:分数与状态 HUD、四类不同分值食物、开始、方向键/WASD、触控方向键、失败与重开",