release: freeze V1.2 demo acceptance 2026-10-25
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Waiting to run
CI/CD Pipeline / Backend Build & Test (push) Waiting to run
CI/CD Pipeline / Admin Web Build (push) Waiting to run
CI/CD Pipeline / Mini Program Compile Check (push) Waiting to run
CI/CD Pipeline / Migration Validation (push) Blocked by required conditions
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Waiting to run
CI/CD Pipeline / E2E (live stack) (push) Blocked by required conditions
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Waiting to run
CI/CD Pipeline / Backend Build & Test (push) Waiting to run
CI/CD Pipeline / Admin Web Build (push) Waiting to run
CI/CD Pipeline / Mini Program Compile Check (push) Waiting to run
CI/CD Pipeline / Migration Validation (push) Blocked by required conditions
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Waiting to run
CI/CD Pipeline / E2E (live stack) (push) Blocked by required conditions
This commit is contained in:
@@ -66,21 +66,15 @@ def test_admin_cards_have_stable_contract_keys_and_capability_status() -> None:
|
||||
assert "available" in dashboard
|
||||
|
||||
|
||||
def test_task3_detail_scope_gap_is_detected_and_reported() -> None:
|
||||
"""盘点当前缺口;详情统一 scope 不能被静态检查误报为已完成。"""
|
||||
java_sources = "\n".join(
|
||||
p.read_text(encoding="utf-8")
|
||||
for p in BACKEND.rglob("*.java")
|
||||
)
|
||||
assert "class MatchmakerDashboardMapper" not in java_sources
|
||||
assert "@RequestMapping(\"/operator/workbench/details\")" not in java_sources
|
||||
|
||||
|
||||
def test_task3_gap_is_a_release_blocker() -> None:
|
||||
report = ROOT / "docs" / "Phase-V12-Task3-Detail-Scope-Completion-Report.md"
|
||||
text = _read(report)
|
||||
assert "NOT_IMPLEMENTED" in text
|
||||
assert "六类详情接口尚未统一" in text
|
||||
def test_dashboard_details_share_server_scope_and_reject_overrides() -> None:
|
||||
controller = _read(WORKBENCH / "MatchmakerDashboardDetailController.java")
|
||||
service = _read(WORKBENCH / "MatchmakerDashboardDetailService.java")
|
||||
assert '@RequestMapping("/operator/workbench/details")' in controller
|
||||
assert '@GetMapping("/{type}")' in controller
|
||||
assert "principal.id()" in controller
|
||||
assert "userId" not in controller and "matchmakerId" not in controller and "teamId" not in controller
|
||||
assert "published_profile_revision" in service
|
||||
assert 'case \"review\"' in service and 'case \"activity\"' in service
|
||||
|
||||
|
||||
@pytest.mark.skipif(os.environ.get("E2E_CONTRACT_ONLY") == "1", reason="contract-only: no live HTTP")
|
||||
|
||||
Reference in New Issue
Block a user