恢复 Native shell 失败测试门禁
移除为绕过 CI 临时添加的 autonomous 与 Native 测试 ignore 让 relaxed 合同迁移和环境型失败重新暴露并单独修复
This commit is contained in:
@@ -751,7 +751,6 @@ mod canvas_only_execution_tests {
|
||||
use super::*;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式已允许 art-director 直接使用 file.write;旧 Canvas-only 拒绝合同待重写"]
|
||||
async fn art_director_canvas_only_execution_rejects_file_write_and_mixed_batch_without_side_effects(
|
||||
) {
|
||||
const PARENT_RUN_ID: &str = "canvas-only-execution-parent";
|
||||
|
||||
@@ -1128,7 +1128,6 @@ PY
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "Windows Runner shutdown 的子进程回收时序在当前 CI 夹具中不稳定,待改为显式终态同步"]
|
||||
fn process_session_runner_shutdown_reaps_active_session() {
|
||||
let _guard = process_session_test_guard();
|
||||
clear_process_session_registry_for_tests();
|
||||
|
||||
@@ -58,7 +58,6 @@ fn autonomous_manifest_parent_runtime_state_path(root: &Path) -> PathBuf {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式不再把 manifest waiting barrier 转为 reconciliation;旧预算门禁待重写"]
|
||||
async fn autonomous_manifest_parent_wake_budget_exhaustion_is_projected() {
|
||||
let root = unique_project_path();
|
||||
let run_id = "autonomous-parent-wake-budget-exhausted";
|
||||
@@ -87,7 +86,6 @@ async fn autonomous_manifest_parent_wake_budget_exhaustion_is_projected() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式对 legacy manifest waiting 状态走自由恢复路径;旧损坏 journal 合同待重写"]
|
||||
async fn autonomous_manifest_parent_wake_task_journal_read_error_is_not_treated_as_absent() {
|
||||
let root = unique_project_path();
|
||||
let run_id = "autonomous-parent-wake-corrupt-task-journal";
|
||||
|
||||
@@ -313,7 +313,6 @@ async fn background_agent_runtime_project_verify_uses_independent_permission_pol
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "命令输出审计协议已改为 sourceActionId/outputRef;旧请求正文标记断言待重写"]
|
||||
async fn background_agent_runtime_confirms_project_verify_and_replans_with_output() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(&root, "project-1", "月光厨房").expect("project init");
|
||||
@@ -503,7 +502,6 @@ async fn background_agent_runtime_command_exec_requires_confirmation_by_default(
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "命令失败后的修复请求协议已调整;旧 COMMAND_EXEC_REPAIR_REQUIRED 文本断言待重写"]
|
||||
async fn background_agent_runtime_command_exec_repairs_failure_and_finishes_once() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(&root, "project-1", "受控命令修复项目").expect("project init");
|
||||
@@ -729,7 +727,6 @@ async fn background_agent_runtime_command_exec_repairs_failure_and_finishes_once
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "命令输出已改为分页 outputRef;旧长输出确认夹具待重写"]
|
||||
async fn background_agent_runtime_reads_long_command_output_without_leaking_lines_to_audit() {
|
||||
const ROOT_MARKER: &str = "ROOT_CAUSE_中段标记_Ω";
|
||||
|
||||
@@ -1098,7 +1095,6 @@ async fn command_exec_output_sidecar_failure_runs_once_and_requires_reconciliati
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "command.output_read 生命周期已改为显式 sourceActionId;旧完成态夹具待重写"]
|
||||
async fn command_output_read_allows_same_agent_history_and_rejects_cross_agent_action_id() {
|
||||
const HISTORY_MARKER: &str = "HISTORICAL_OUTPUT_历史读取";
|
||||
|
||||
@@ -4083,7 +4079,6 @@ fn process_session_public_observations_and_receipts_exclude_pty_and_stdin_bodies
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "Windows process session 确认生命周期夹具需按新 Runner 注册表协议重写"]
|
||||
fn process_session_agent_runtime_confirmed_lifecycle_runs_in_isolated_registry() {
|
||||
const CHILD_MARKER: &str = "GENARRATIVE_PROCESS_SESSION_AGENT_RUNTIME_CHILD";
|
||||
if std::env::var_os(CHILD_MARKER).is_some() {
|
||||
|
||||
@@ -783,7 +783,6 @@ async fn background_agent_runtime_preview_validate_writes_real_browser_evidence(
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "平台图片生成测试依赖外部 provider 时序;当前 CI 超时,待迁移为 deterministic fixture"]
|
||||
async fn background_agent_runtime_can_generate_platform_art_asset() {
|
||||
let root = unique_project_path();
|
||||
let config_dir = unique_project_path();
|
||||
@@ -2177,7 +2176,6 @@ async fn generate_platform_art_asset_downloads_and_registers_external_image() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "平台 provider 失败摘要协议已变化;旧 HTTP 500 文本断言待改为结构化错误断言"]
|
||||
async fn platform_art_generation_step_falls_back_without_leaking_editor_key() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(&root, "project-platform-art-fallback", "未命名游戏原型")
|
||||
|
||||
@@ -920,7 +920,6 @@ fn autonomous_game_build_tool_plan_payload_is_enforced_before_actions() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择首个动作;旧 playtest repair 顺序断言待重写"]
|
||||
async fn autonomous_game_build_repairs_persisted_failed_playtest_after_context_compaction() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -6119,7 +6118,6 @@ async fn agent_role_briefs_run_same_wave_llm_agents_in_parallel() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "Agent agenda 文本已随自主调度协议更新;旧 wave 顺序断言待重写"]
|
||||
async fn agent_loop_writes_spec_findings_and_retries_generator() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(&root, "project-1", "月光厨房").expect("project init");
|
||||
|
||||
@@ -2757,7 +2757,6 @@ fn finalization_resume_rejects_symlinked_journal() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "跨 Agent revision drift 的 tool-plan handoff 夹具仍持有活动句柄;待改为显式关闭句柄后再验证"]
|
||||
async fn background_finalization_replans_same_run_after_cross_agent_revision_drift() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(&root, "project-1", "最终回复同 Run 自愈项目")
|
||||
@@ -4213,7 +4212,6 @@ async fn project_execution_owner_cross_boot_replays_same_run_provider_handoff_to
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "Windows 进程锁导致 handoff cleanup 夹具不稳定;待改为无锁 deterministic sidecar fixture"]
|
||||
async fn provider_handoff_final_reply_compaction_restart_only_requests_final_reply() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(&root, "project-1", "最终回复压缩成功交接恢复测试")
|
||||
|
||||
@@ -2186,7 +2186,6 @@ fn static_smoke_failure_receipt_round_trips_owner_diagnostic_from_agent_db() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "自主创作模式不再按缺失视觉文件自动降级 seed task;旧视觉 gate 合同待重写"]
|
||||
fn seed_refresh_downgrades_completed_visual_tasks_when_registered_file_is_missing() {
|
||||
let _platform_session = crate::platform_session::install_test_platform_session(
|
||||
"visual-seed-refresh-test-user",
|
||||
|
||||
-17
@@ -246,7 +246,6 @@ fn autonomous_game_build_profile_promotes_confirmation_actions_but_keeps_explici
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "自主创作模式已改为放宽执行;旧严格 seed reset 合同待按 relaxed 语义重写"]
|
||||
fn new_autonomous_root_contract_resets_all_sixteen_seed_tasks() {
|
||||
let root = unique_project_path();
|
||||
let config_dir = unique_project_path();
|
||||
@@ -405,7 +404,6 @@ fn active_autonomous_root_keeps_generic_preview_and_smoke_from_mutating_seed_sta
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "自主创作模式允许缺少平台图片时文本降级;旧视觉门禁断言待重写"]
|
||||
fn autonomous_visual_gate_degrades_to_text_without_key_and_requires_images_with_key() {
|
||||
let root = unique_project_path();
|
||||
let config_dir = unique_project_path();
|
||||
@@ -675,7 +673,6 @@ fn autonomous_manifest_ready_task_run_id_for_test(parent_run_id: &str, task_id:
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式不再强制首轮 mutation-only;旧响应收窄合同待重写"]
|
||||
async fn autonomous_game_build_non_read_only_code_first_round_repairs_response_into_mutation_only()
|
||||
{
|
||||
let root = unique_project_path();
|
||||
@@ -794,7 +791,6 @@ async fn autonomous_game_build_non_read_only_code_first_round_repairs_response_i
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许直接收束响应;旧 verification-only 修复合同待重写"]
|
||||
async fn autonomous_game_build_unverified_mutation_immediately_repairs_into_verification_only() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -910,7 +906,6 @@ async fn autonomous_game_build_unverified_mutation_immediately_repairs_into_veri
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式固定 owner 允许直接交付;旧 static-smoke-only 合同待重写"]
|
||||
async fn autonomous_manifest_code_prototype_requires_its_own_static_smoke_after_project_verify() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -1357,13 +1352,11 @@ async fn assert_autonomous_repair_waits_for_receipt_observation_for_test(unobser
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择委派/状态动作顺序;旧顺序断言待重写"]
|
||||
async fn autonomous_game_build_repair_waits_for_ready_unclaimed_receipt() {
|
||||
assert_autonomous_repair_waits_for_receipt_observation_for_test(false).await;
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择委派/状态动作顺序;旧顺序断言待重写"]
|
||||
async fn autonomous_game_build_repair_replays_unobserved_claim_before_delegating() {
|
||||
assert_autonomous_repair_waits_for_receipt_observation_for_test(true).await;
|
||||
}
|
||||
@@ -1436,7 +1429,6 @@ fn standard_profile_keeps_confirmation_policy_unchanged() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式不再强制中途 user input blocking;旧 waiting-state 合同待重写"]
|
||||
async fn autonomous_game_build_profile_blocks_user_input_before_waiting_state() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(&root, "project-autonomous-input", "自主构建提问门禁项目")
|
||||
@@ -1686,7 +1678,6 @@ async fn autonomous_read_only_preview_roles_accept_their_fixed_core_plans() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式不再强制只读收束无动作;旧 read-only liveness 合同待重写"]
|
||||
async fn autonomous_game_build_repairs_explicit_read_only_loop_into_completed_delivery() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -1846,7 +1837,6 @@ async fn autonomous_game_build_repairs_explicit_read_only_loop_into_completed_de
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许非只读响应;旧 read-only mutation 拒绝合同待重写"]
|
||||
async fn autonomous_game_build_read_only_delivery_rejects_mutation_before_execution() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -2110,7 +2100,6 @@ async fn autonomous_game_build_explicit_read_only_response_defers_plan_completio
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择验证路径;旧顺序断言待重写"]
|
||||
async fn autonomous_game_build_repairs_new_revision_after_failed_playtest_with_verification() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -2264,7 +2253,6 @@ async fn autonomous_game_build_repairs_new_revision_after_failed_playtest_with_v
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择下一动作;旧 run-status 顺序断言待重写"]
|
||||
async fn autonomous_game_build_claims_ready_delivery_before_fourth_playtest_delegate() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -2730,7 +2718,6 @@ async fn autonomous_game_build_claims_ready_delivery_before_fourth_playtest_dele
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许直接交付响应;旧 oversized payload response-only 合同待重写"]
|
||||
async fn autonomous_game_build_repairs_oversized_native_source_payload() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -2867,7 +2854,6 @@ async fn autonomous_game_build_repairs_oversized_native_source_payload() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择验证路径;旧顺序断言待重写"]
|
||||
async fn autonomous_game_build_repairs_post_mutation_read_loop_into_verification_action() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -3044,7 +3030,6 @@ async fn autonomous_game_build_repairs_post_mutation_read_loop_into_verification
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择 mutation 路径;旧顺序断言待重写"]
|
||||
async fn autonomous_game_build_repairs_pre_mutation_read_loop_into_action() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -3255,7 +3240,6 @@ async fn autonomous_game_build_repairs_pre_mutation_read_loop_into_action() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许 provider 自主选择 mutation 方式;旧顺序断言待重写"]
|
||||
async fn autonomous_game_build_repairs_truncated_scaffold_into_bounded_patch() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
@@ -3412,7 +3396,6 @@ async fn autonomous_game_build_repairs_truncated_scaffold_into_bounded_patch() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式允许直接交付响应;旧 verified response-only 合同待重写"]
|
||||
async fn autonomous_game_build_verified_revision_forces_response_only_delivery() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use super::support::*;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "自主创作模式不再强制 legacy confirmation-only batch abort;旧恢复合同待重写"]
|
||||
async fn autonomous_game_build_recovery_aborts_legacy_confirmation_batch_and_replans() {
|
||||
let root = unique_project_path();
|
||||
init_local_game_project_at(
|
||||
|
||||
Reference in New Issue
Block a user