Skip to content

Session Handoff [windows]: #2578 Landed for #694, Closing Through Promotion #2580, #1171 Next #2581

Closed

Description

@ptr727

Next steps

Work this lane from the maintainer's Windows host, one issue per branch through drive-pr. Run each fix natively before claiming it fixed. Run the suite from Git Bash. Every hub pull request also runs it on the hosted windows-latest runner through the required Windows unit test job.

  1. install-tools.ps1: dotnet status doesn't see pre-release SDKs Visual Studio installs outside winget #694 closes through promotion PR Promote develop to main: Read Copilot's Emoji-Prefixed Review Effort Line #2580, not through this lane. Name a Newer dotnet SDK From Outside the Managed Package in the Windows Report #2578 merged to develop with Closes on promotion: #694. The maintainer chose to leave Promote develop to main: Read Copilot's Emoji-Prefixed Review Effort Line #2580 to the auto-2487 lane that opened it. A comment on Promote develop to main: Read Copilot's Emoji-Prefixed Review Effort Line #2580 asks that session to add Fixes #694. Done means install-tools.ps1: dotnet status doesn't see pre-release SDKs Visual Studio installs outside winget #694 is closed after Promote develop to main: Read Copilot's Emoji-Prefixed Review Effort Line #2580 merges. If it merged without the keyword, close install-tools.ps1: dotnet status doesn't see pre-release SDKs Visual Studio installs outside winget #694 by hand and cite Name a Newer dotnet SDK From Outside the Managed Package in the Windows Report #2578.
  2. The rest of the lane, oldest first: Give the Windows python Tool a Family So an Off-Line Host Reads Correctly #1171, Validate the Interpreter the Agent-Safety Installer Writes Into settings.json #1172, checkout_provenance Passes an Absolute Path as a Git Pathspec, Unverified on Windows, Where a Failure Reports a Tracked Clean Copy as unknown #1419, A Parent Pinned to UTF-8 Spawning a Python Child Leaves the Child's Encoder on the Locale #1577, Requirement 8 reaches Linux and WSL only, with no measured answer for macOS or Windows #1625, skills_install.py runs a bare claude argv, which may miss a Windows .cmd shim #1754, Python devcontainer snippet: mount path join and mktemp -t portability #1763. Roll out global ~/.claude/CLAUDE.md safety rules to all machines #365 rewrites this host's hooks, settings.json and CLAUDE.md, so ask before running it.

External blockers

Internal dependencies

  • Use tests/host_capability.py before writing any new Windows-sensitive test. Use bash_or_skip for the shell. This host cannot create a symlink without admin, but the hosted runner runs as admin, so a symlink case that skips here runs in CI.
  • Pass a path into a PowerShell test body as environment or argv, never quoted into the script. A temp path can carry an apostrophe, which ends a single-quoted string.
  • To test an install-tools.ps1 branch that runs a native command, put a stub on PATH alone. TestWindowsUntrackedDotnetNote in tests/test_install_tools.py writes dotnet.cmd on Windows and a /bin/sh script elsewhere, sets $env:PATH to the stub's directory per case, and drives the real function. Make the stub answer only the argument the code should pass, so a call asking for the wrong thing fails.

State

The parked decision queue

The queue holds 0 open decision issues. The round asked one question in session, who drives #2580, and the answer was to leave it to its lane.

What the last round did

What not to repeat

  • A git push anywhere in a compound command run from the primary checkout. gh-write-guard refuses the whole command, so none of its other steps run either. Run the verified remote delete from a worktree, and the git worktree remove calls from the base clone, as separate commands.
  • Redirecting PowerShell streams as 2>&1 1>$null to read stderr alone. It merges stderr into stdout and then discards both. Use Start-Process with -RedirectStandardOutput and -RedirectStandardError to two files.
  • Asserting a version selection with each tie listed in one order only. A mutation that lets the later entry win passed the tests until the release-and-preview case was listed in both orders.

New learnings

  • None beyond the entries above, which are specific to this round's attempts.

Activity

  1. added
    handoff
    on Oct 8, 2026
  2. ptr727 commented on Oct 14, 2026

    @ptr727
    OwnerAuthor

    Added to this lane: #3014, native Windows verification of install-agents.ps1 from #2997. Its tests skip on the hosted Windows runner, because that runner is elevated and the script refuses elevation, so only a non-elevated run on the Windows host can verify it. Take it after the issues already listed in step 2.

  3. ptr727 commented on Oct 15, 2026

    @ptr727
    OwnerAuthor

    Added to this lane by the engineering lane: #3024, running the write guard's real-repository push self-tests on native Windows. They skip on the hosted Windows runner for the same reason as #3014, so only the Windows host can run them. Take it after #3014.

  4. ptr727 commented on Oct 15, 2026

    @ptr727
    OwnerAuthor

    Correction to the comment above: #3024's reason is not #3014's. The two real-repository push self-tests skip where os.name == "nt", and the Windows job runs only tests/, not the guard's --selftest, so nothing exercises them under native Windows. Part of the fix, running --selftest in the Windows job, can be proven by the hosted Windows job rather than the Windows host.

  5. ptr727 commented on Oct 23, 2026

    @ptr727
    OwnerAuthor

    Folded into the standing default handoff #2361.
    Under the maintainer decision on #3391 item 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions