Skip to content

Add a launcher that runs the Sandbox suite from any clone - #76

Merged
BiosSystem merged 1 commit into
masterfrom
feature/sandbox-launcher
Sep 24, 2026
Merged

BiosSystem merged 1 commit into
masterfrom
feature/sandbox-launcher

Conversation

@BiosSystem

Copy link
Copy Markdown
Owner

Winnow-Tests.wsb needs absolute HostFolder paths, so it only works where the repository sits at exactly that path (it did not on the maintainer's machine). Tests/Integration/Sandbox/Invoke-SandboxRun.ps1 writes the same configuration for the actual clone path, starts Windows Sandbox, waits for the harness, prints the summary, and exits 0 passed / 1 failed / 2 did not run.

It refuses to start while a sandbox window is open and waits for a closing VM to exit, because a sandbox started during the previous one's shutdown can boot without its mapped folders (seen in practice: the harness never ran).

README and the .wsb comment now point at the launcher.

Testing: static validation clean (133 files). Ran the launcher end to end: 30 passed, 0 failed, 1 skipped by design, exit 0; with -CloseWhenDone the sandbox closed and the temporary .wsb was removed. No product code changed.

Winnow-Tests.wsb has to carry absolute HostFolder paths, so it only works where
the repository sits at exactly that path; on the maintainer's machine it did not.
Invoke-SandboxRun.ps1 writes the same configuration for wherever the clone lives,
starts Windows Sandbox, waits for the harness inside it, prints the summary, and
exits 0/1/2 for passed/failed/did not run.

It refuses to start while a sandbox window is open and waits for a closing VM to
exit first: a sandbox started during the previous one's shutdown can boot without
its mapped folders, and the harness then never runs.

Verified end to end: 30 passed, 0 failed, 1 skipped by design; with
-CloseWhenDone the sandbox is closed and the temporary .wsb removed.
@BiosSystem
BiosSystem merged commit cffdbc2 into master Sep 24, 2026
1 check passed
@BiosSystem
BiosSystem deleted the feature/sandbox-launcher branch September 24, 2026 04:51
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