Skip to content

Testing Strategy Windows11

AetherWorkspace Implementation edited this page Nov 17, 2026 · 12 revisions

Testing Strategy – Windows 11 Reference Desktop

Implements Technical Specification / Addendum A01 (Windows 11 reference desktop automated testing strategy) for the v0.4–v0.5 scope.

Lanes

Lane Environment Role
L1 GitHub Actions Ubuntu contracts, unit/security, FDC3/DACP, headless E2E, provider mocks, OS-level blocked egress
W1 GitHub Actions Windows WPF build, real Named Pipes, workflow demo, IPC benchmark, firewall egress check, FlaUI UI automation, Named-Pipes GUI E2E
R1 Physical Windows 11 laptop (interactive, unlocked) authoritative GUI/DPI/monitor/focus evidence
H1 Hetzner Linux VPS (optional) long-running/exploratory headless runs

The laptop is never a GitHub self-hosted runner. Only a reviewed full 40-hex SHA is executed locally; locked/asleep sessions are SKIPPED, never forced. GitHub CI remains the mandatory gate.

Published run lifecycle

Reference Desktop: Automated Test Run

Trigger → Trust → Preflight → Prepare → Execute → Assert/Capture → Cleanup → Result.

v0.4 test IDs

WT-04-01 Named-Pipes reference workflow · WT-04-02 RESTRICTED/UNKNOWN no cloud egress · WT-04-03 detector escalation · WT-04-04 token vault lifecycle · WT-04-05 consent/provider health · WT-04-06 adversarial plan denial · WT-04-07 UIA contract · WT-04-08 evidence scrubbing.

Automated coverage: tests/Aether.Shell.UiTests (shell smoke/workflow), tests/Aether.Desktop.E2E.Tests (named-pipe GUI E2E + privacy assertions) in the Windows UI CI lane; portable privacy tests in the L1 lane. Physical-device run evidence is recorded via tools/windows-test/Run-AetherTests.ps1 (run-result.json + environment manifest), retained locally and curated manually.

Recorded R1 evidence

First physical Windows 11 reference-desktop release-gate run passed on 2026-11-16 for approved commit e7007afa86c12312919e5a893dbb64d91b696a19 (v0.4.0):

  • developer-smoke, daily-smoke, release-full — PASS (exit 0); real Windows Named Pipes GUI E2E with three sample child processes; zero inbound TCP listeners; clean worktree and no global display/firewall/environment changes.
  • Reference device (sanitized): Windows 11 Pro build 26300 x64, Intel Core Ultra 7 255H, 63.3 GB RAM, Intel Arc 140T GPU, 1 monitor, 100% DPI, .NET SDK 10.0.401/10.0.404, PowerShell 7.7.0.
  • Sanitized summary: evidence/2026-11-16-windows11-release-full. Raw logs stay local (30-day retention); the laptop is never a GitHub runner.
  • v0.4.1 fixed TRX evidence aggregation for solution runs (per-project TRX; expected totals 445 portable + 2 windows-ui + 2 desktop-e2e = 449).

WT-05 physical evidence (2026-11-16)

Dual-monitor release-full on the reference laptop (approved commit 491d4c2): PASS, 484/484 passed — portable=476, windows-ui=2, desktop-e2e=2, layout05=4. Displays: \\.\DISPLAY1 1920×1200 primary + \\.\DISPLAY2 3440×1440 (Extend mode), 100% DPI. The layout suite verified single-monitor save/restore bounds, save→arrange→restore without offscreen windows, two-monitor restore to the saved secondary display, missing-monitor primary fallback, and corrupt-layout denial. Sanitized summary: evidence/2026-11-16-windows11-wt05-layout.

v1.0.2 clean-machine desktop bundle verification (2026-11-16)

The published AetherWorkspace-v1.0.2-windows-x64-desktop.zip was verified on the physical Windows 11 reference laptop: all release assets VERIFY PASS; packaged headless self-test status=succeeded (6/6 steps); packaged GUI run produced 6/6 Succeeded steps with the three real WPF sample windows open, private summary and Inspector available. Sanitized evidence: desktop bundle verification. This closes the desktop-package usability evidence in the post-v1.0 gap assessment (G-01/G-11).

Packaged-bundle smoke gate (v1.1 AW-054)

The release workflow runs tools/windows-test/Invoke-PackagedBundleSmoke.ps1 on the freshly built Windows desktop ZIP: clean extraction, bundled reference workflow, structured result validation (status=succeeded, six steps), leaked-owned-process check and a sanitized smoke manifest uploaded as windows-desktop-smoke. Physical visual confirmation stays in the recording runbook.

v1.1 measurement tooling (AW-065/AW-066)

  • docs/testing/wt-matrix.md — per-ID WT-04/WT-05 ledger with manual DPI/focus/topology procedure; tools/windows-test/Export-WtLedger.ps1 merges TRX results and manual entries into JSON/Markdown.
  • docs/testing/ui-responsiveness.md — WPF telemetry fields and the 100-cycle tools/windows-test/Measure-UiResponsiveness.ps1 runner; CI runs a 3-cycle smoke only.
  • Physical runs on the Windows 11 reference laptop produce the authoritative ledgers/reports; no latency claim is made from the tooling or CI smoke alone.

Docs

Issues AW-039–AW-048 track the remaining physical-desktop and v0.5 work.

Clone this wiki locally