Repository navigation
Done
Labels
Description
Summary
- The only meaningful code change in the window reworks how Windows-runner jobs are rendered: steps now execute inside a WSL2 Ubuntu distro instead of using bash on the Windows host.
- The compiler now bootstraps WSL, Docker, and a pinned Node.js inside the runner, so more runtime setup is now emitted into lock files.
- Graft had no graph (
graft_checkreported NO GRAPH;graft_mapfound none), so blast-radius analysis used grep and the commit diff instead. Treat the findings below as lower-confidence than graph-backed ones. - The activity file lists every repository file as added. This looks like a shallow-history artifact: it has one commit, and the GitHub API shows that commit touched only 8 files. The 24-hour changed-files list is therefore not reliable.
Changed Areas
pkg/workflow/windows_runner.go(about +552/-89): the core rewrite.renderStepForRunnernow takes a job name and a newrenderStepForRunnerWithEnvironmentvariant. WSL and Node bootstrap steps are generated. Job environment variable names are forwarded into WSL, with theWSLENVlist compressed or encoded.pkg/workflow/compiler_safe_outputs_steps.go: the shared PR checkout lint block is now rendered with the safe_outputs job name and the sorted job-level environment variable names, so the lint sees the same wrapped form that is emitted.pkg/workflow/jobs.go: passesjob.Nameinto rendering forwindows-latestjobs, and moves fromsorttoslices..github/workflows/windows.lock.yml(about +924/-354): regenerated output showing the new bootstrap and wrapper steps.- Tests:
jobs_test.go(+227),awf_installer_integration_test.go, and the two compiler lint tests were updated for the new signature.
Blast Radius and Hotspots
- Grep shows
renderStepForRunnerandrenderStepForRunnerWithEnvironmenthave only a few production callers:jobs.go(WriteJobsYAML) andcompiler_safe_outputs_steps.go. The signature change is contained, but everywindows-latestjob passes through this path. - Ubuntu jobs and non-
windows-latestrunners take an early exit and are unchanged in the tests (ubuntuStepand thereleasejob cases). - The bootstrap runs
apt-get installinside the WSL distro and symlinks/tmp/gh-awto$RUNNER_TEMP/gh-aw. It downloads Node.js from nodejs.org and verifies it with a SHA256 file fetched from the same host, and it startsdockerd. These add network, supply-chain, and runner-image assumptions to every Windows job. - The lint path now depends on the job environment set, so changes to
buildJobLevelSafeOutputEnvVarsorruntimeFeaturesEnvVarNamecan alter Windows output and lint results.
Details and uncertainty
- No graph-based callers, skeletons, or hotspot rankings were available.
- The commit patch was only partly reviewed (first ~150 lines of the three Go files), so the env-forwarding and encoding internals in
windows_runner.gowere not inspected. - The 8-file list came from the GitHub commit API. The local activity file could not be parsed per file because it is oversized (about 546 KB) and appears to represent a full-tree add.
Recommendations
- Build the Graft graph in the workflow (
graft build --deep) so callers and hotspots can be reported, and so a shallow checkout does not mark the whole tree as added. - Pin or independently verify the Node.js download in the WSL bootstrap (for example a pinned checksum). Also verify the Ubuntu distro and
docker.iopackages the bootstrap installs, since the unpinnedapt-get installmakes Windows runs non-reproducible. - Add an integration or smoke test that exercises the WSL path on a real
windows-latestrunner, not only golden-string unit tests, and a regression test forWSLENVand environment-variable forwarding limits.
References
- Window: last 24 full hours ending 2026-11-10 (UTC); the one commit was merged at 2026-11-10T11:09:23-08:00.
- Workflow run ID: 42885142450
Generated by 🧠 Daily Graft Intelligence · copilot · routed: sonnet55 high · ~19 AIC · ⌖ ~1 AIC · ⊞ 3.6K · ◷
- expires on Nov 12, 2026, 11:36 AM UTC-08:00
Reacted by Copilot
Activity
github-actions commentedon Nov 11, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, Copilot will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪