Skip to content

CI-07: Replace the duplicate full Windows PR matrix with a targeted Windows compatibility contract #2331

Description

@Chris0Jeky

Wave: Smart CI Fabric (ADR-0066 §Decision 6). Tracker: CI-00 #2324. Lane: platform right-sizing.

Context

Windows currently runs as a second semantic platform: full backend unit, full API, full frontend (lint/type/build/coverage after the launcher regression), plus the worktree-helper harness. On a Pro private repo Windows minutes count 2x. Most Domain/Application/TypeScript semantics do not differ by OS; the things that do are launchers, PowerShell, paths/casing, process lifecycle and stdio, SQLite locking, desktop startup, MCP host, Job Object containment, packaging.

Scope

  • Define the Windows compatibility contract: the exact test classes/specs that exercise platform-sensitive behaviour (.cmd/.ps1 launchers, dev-up pipeline, path semantics, process supervision, MCP stdio/HTTP host startup, SQLite concurrency, desktop bootstrap, worker containment, packaged-archive checks) — checked in as a lane in ci/test-ownership.v1.json.
  • Ordinary PRs run only the contract on Windows unless the planner selects expanded coverage for platform-sensitive changes; the full Windows suite runs weekly and at release qualification until parity evidence (>=8 weeks without a Windows-only regression outside the contract) justifies a smaller matrix.
  • Every historically Windows-only regression is represented in the contract or documented as covered elsewhere (search closed issues labelled ci + Windows; #2157, #2159, #2161 dev-up flakes belong here and to CI-15).
  • Stated ordinary-PR Windows budget (target <=8 min wall).

Acceptance

  • Contract lane merged and green; the mapping from historical Windows regressions to contract tests is recorded in docs/TESTING_GUIDE.md.
  • Ordinary R0–R2 PRs stop running the full Windows backend/API/frontend suites only after the CI-02 recall report shows the contract would have caught every Windows-only failure in the window.
  • Weekly full Windows sweep exists (CI-10) before the PR matrix shrinks.
  • Planner selects expanded Windows coverage for desktop-windows, mcp-process, launchers, persistence groups.

Dependencies / release

Depends on CI-05 (ownership), CI-06 for the API shard split (may land in parallel with the full API union kept). Milestone v0.3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority IIThe active direction's next tranche: wedge capabilities, significant defects, near-term hardening.ciCI/CD pipeline, workflow, and build infrastructure changes.testingTest coverage, harnesses, regression prevention, and verification pipeline work.

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions