Skip to content

fix: harden truth and coverage gates#73

Merged
xiaojiou176 merged 9 commits intomainfrom
fix/final-100-truth-gates
Apr 12, 2026
Merged

fix: harden truth and coverage gates#73
xiaojiou176 merged 9 commits intomainfrom
fix/final-100-truth-gates

Conversation

@xiaojiou176
Copy link
Copy Markdown
Member

Summary

  • harden tests_gate fail-closed handling and add regression coverage for blank/trivial/non-dict gate paths
  • fix ControlPlaneReadService runtime/api-module loading so read-model tests and runtime helpers align
  • add benchmark gate entrypoints/docs/env registry updates and route repo/dashboard/desktop coverage artifacts into governed .runtime-cache paths
  • stop repo coverage / desktop playwright helper runs from leaking .coverage, .hypothesis, app-local coverage/, and legacy .runtime-cache/temp residue

Verification

  • npm run ci
  • npm run truth:triage (repo-side green; external truth red only on ci-core-image and ui-audit-playwright Docker unavailability)
  • npm run coverage:repo
  • bash scripts/run_orchestrator_pytest.sh apps/orchestrator/tests/test_control_plane_read_service.py -q
  • bash scripts/run_orchestrator_pytest.sh apps/orchestrator/tests/test_repo_coverage_gate.py -q
  • bash scripts/run_orchestrator_pytest.sh apps/orchestrator/tests/test_repo_coverage_gate.py apps/orchestrator/tests/test_tests_gate_extended.py apps/orchestrator/tests/test_bench_e2e_speed_gate.py apps/orchestrator/tests/test_mcp_queue_pilot_server_branches.py -q
  • dashboard coverage smoke with CORTEXPILOT_DASHBOARD_COVERAGE_DIR=$PWD/.runtime-cache/test_output/repo_coverage/dashboard-smoke
  • desktop coverage smoke with CORTEXPILOT_DESKTOP_COVERAGE_DIR=$PWD/.runtime-cache/test_output/repo_coverage/desktop-smoke

Notes

  • upstream smoke receipts now pass for provider-runtime-path and pm-chat-real-e2e
  • ci-core-image and ui-audit-playwright still fail with Docker daemon Connection refused / exit 125, so external truth remains platform-limited rather than repo-owned

Comment thread apps/orchestrator/tests/test_control_plane_read_service.py Fixed
@xiaojiou176 xiaojiou176 dismissed a stale review via a668fbb April 12, 2026 21:14
@xiaojiou176 xiaojiou176 dismissed a stale review via 721f908 April 12, 2026 21:35
@xiaojiou176 xiaojiou176 dismissed a stale review via b2cb869 April 12, 2026 21:50
@xiaojiou176 xiaojiou176 dismissed a stale review via 700b6bf April 12, 2026 21:59
@xiaojiou176 xiaojiou176 dismissed a stale review via 5de7f4d April 12, 2026 22:18
@xiaojiou176 xiaojiou176 merged commit 74738ce into main Apr 12, 2026
15 checks passed
@xiaojiou176 xiaojiou176 deleted the fix/final-100-truth-gates branch April 12, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant