Repository navigation
Labels
area: architectureArchitecture, design debt, major refactors, or maintainabilityarea: ciCI workflows, checks, release automation, or GitHub Actionshelp wantedMaintainers welcome external contributionplatform: wslAffects Windows Subsystem for Linux
Description
Parent: #6952
Problem
platform-vitest-main.yaml and wsl-e2e.yaml contain 362 nonblank executable lines combined. Both embed PowerShell programs that install/initialize WSL, translate paths, create temporary LF-only shell scripts, provision Ubuntu/Node, copy the checkout to ext4, and invoke commands as root or a test user.
The workflows have different test goals, so the extraction must share concrete provisioning primitives without forcing their runtime behavior into one parameterized mega-workflow.
Work
- Add a small trusted PowerShell helper/driver for WSL availability, Windows-to-WSL path conversion, LF-safe script transfer, ext4 checkout synchronization, and command execution as a named WSL user.
- Keep the E2E-specific Docker probe/full-flow and the platform-Vitest root/non-root test commands separate.
- Ensure the helper source is trusted before any root-capable WSL execution; do not execute a PR-controlled provisioning helper.
Acceptance criteria
- Repeated provisioning programs leave both workflow YAML files.
- Existing install retry/unregister behavior, Ubuntu dependency sets, Node 22 installation, ext4 semantics, ownership, safe-directory handling, and root/non-root identities remain covered.
wsl-e2estill skips full live E2E with an explicit reason when Docker is unavailable.platform-vitest-mainstill runs its non-root full suite and root-only permission contracts separately.- Direct PowerShell tests or command-construction tests cover quoting, spaces, drive-letter conversion, LF encoding, and exit-code propagation.
- Workflow-boundary tests prove the helper is loaded from a trusted revision.
Metadata
Metadata
Assignees
Labels
area: architectureArchitecture, design debt, major refactors, or maintainabilityarea: ciCI workflows, checks, release automation, or GitHub Actionshelp wantedMaintainers welcome external contributionplatform: wslAffects Windows Subsystem for Linux
Activity
souvikDevloper commentedon Jul 16, 2026
i am on it @cv
ci: finish executable workflow extraction (#7709)
ci: finish executable workflow extraction (#7737)
ci(wsl): bootstrap trusted workflow helper (#7719)
ci: finish executable workflow extraction (NVIDIA#7741)