test: skip stale PPI/KaKs circuit-breaker cases

主分支已完成 PPI/KaKs 修复并将 ppiKaksTemporaryCircuitBreakerEnabled 置为
false,这 4 个用例仍假设临时熔断处于开启态,先标记 skip,待按新状态重写。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
sj
2026-08-21 11:31:54 +08:00
co-authored by Claude Opus 5
parent 0428a0d0ed
commit c59f346037
@@ -4,6 +4,15 @@ import json
import subprocess
from pathlib import Path
import pytest
# 主分支已完成 PPI/KaKs 修复,index.html 中 ppiKaksTemporaryCircuitBreakerEnabled 已置为 false。
# 以下用例仍假设临时熔断处于开启态,需按新状态重写后再启用。
_circuit_breaker_disabled = pytest.mark.skip(
reason="临时熔断已随 PPI/KaKs 修复关闭,用例待按新状态重写"
)
def _source_block(source: str, start: str, end: str) -> str:
start_index = source.index(start)
@@ -150,6 +159,7 @@ def test_batch_start_uses_temporary_circuit_breaker_without_owner_preflight() ->
assert "await executeStagesWithDependencies(stages, plannedStageIds);" in start_block
@_circuit_breaker_disabled
def test_temporary_circuit_breaker_pauses_only_owned_ortholog() -> None:
source = _index_html()
owner_helper = _source_block(
@@ -196,6 +206,7 @@ console.log(JSON.stringify({owned, explicit, unrelated, onePlannedOwner}));
}
@_circuit_breaker_disabled
def test_full_gene_family_plan_keeps_explicit_ortholog_and_other_stages_runnable() -> None:
source = _index_html()
owner_helper = _source_block(
@@ -242,6 +253,7 @@ console.log(JSON.stringify({paused, runnable}));
]
@_circuit_breaker_disabled
def test_dependency_scheduler_executes_later_stages_while_ppi_kaks_are_paused() -> None:
source = _index_html()
owner_helper = _source_block(
@@ -357,6 +369,7 @@ submitExecuteRequestWithAutoAnnotation({stage: 'ppi'}, 'ppi')
}
@_circuit_breaker_disabled
def test_submit_guard_blocks_owned_ortholog_but_not_independent_manual_ortholog() -> None:
source = _index_html()
owner_helper = _source_block(