Add Windows quick-start build and run tooling - #585
Merged
Merged
Conversation
coneilen
force-pushed
the
coneilen-microsoft-windows-quick-start
branch
from
October 2, 2026 05:08
3f3000c to
e5c2772
Compare
This was referenced Oct 2, 2026
Closed
coneilen
added this pull request to stack #595
October 2, 2026 05:37
Signed-off-by: Colin Neilens <coneilen@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Colin Neilens <coneilen@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
coneilen
force-pushed
the
coneilen-microsoft-windows-quick-start
branch
from
October 2, 2026 05:52
834827e to
7d30ee2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a checkout-scoped Windows contributor entrypoint that builds a runnable
.buildlayout, launches the production daemon before the shell with owned sandbox roots, and stops only captured processes whose executable path and creation identity still match. Full validation remains a separate explicit task.Fixes #557.
Changes
Tools\windows\dev.ps1with composable-Build,-Run, and-Stopactions plus explicit-RealProfileopt-out.build\windows\dev\binGRAPHCODE_SUPPORT_DIR,LOCALAPPDATA,TEMP, andTMProots without pre-seeding rendezvous stateBUILD_STATUS,LAUNCH_STATUS, andVALIDATION_STATUSTest plan
RED: pwsh -NoProfile -File Tools\windows\Tests\Dev.Tests.ps1 -> failed because nested build output contaminated the helper success pipeline
GREEN: pwsh -NoProfile -File Tools\windows\Tests\Dev.Tests.ps1 -> PASS with 4 behavioral cases executed
REGRESSION: pwsh ProviderPins.Tests.ps1 then TerminalGate.Tests.ps1 -List -> provider contracts passed and 4 gate cases were listed
Additional checks:
pwsh -NoProfile -File Tools\windows\dev.ps1 -Stop-> parser/interface passed and reported no checkout-owned run without touching processesgit diff --cached --check-> passed before commit6010b280c21dd56c72916e248e7bf534e241851a-> passedInvoke-Pester Tools\windows\Tests\ValidationIsolation.Tests.ps1-> not usable in this host because installed Pester 3.4.0 rejects the repository'sShould -Besyntax; all 4 cases failed before exercising assertionsTools\windows\bootstrap.ps1-> completed in 2064.1s with owned roots and exact Zig 0.15.2/0.16.0, Winghostty6286560d0aa3103e068b2b7afa81eac373d870c9, and zmx785b3fd15dcafd1882b495c831a10f98c201b908pwsh -NoProfile -File Tools\windows\dev.ps1 -Build-> passed in 141.2s withBUILD_STATUS=BUILT,LAUNCH_STATUS=NOT_REQUESTED,VALIDATION_STATUS=NOT_RUN, and all four.build\windows\dev\binexecutables reportedpwsh -NoProfile -File Tools\windows\dev.ps1 -Run-> passed in 1.7s with runc0502662a7324b7cacbca91b0e991491; daemon PID 14228 started before shell PID 42384, both exact checkout-owned identities were alive, and support/LOCALAPPDATA/TEMP used the reported run sandboxpwsh -NoProfile -File Tools\windows\dev.ps1 -Stop-> passed in 0.8s;run.jsonwas absent, captured identities were gone, zero checkout-owned daemon/shell/zmx processes remained, and the default%USERPROFILE%\.graphcodehash and metadata snapshot was identicalvalidate.ps1run is claimedChecklist
git commit -s) per the DCOmake test) — not run because this Windows-only contributor tooling does not change the macOS product; focused Windows behavioral and provider contract checks passedmake check) — not run because this changes PowerShell only; parser checks andgit diff --checkpassed