Skip to content
Source
Sign inSign up
pingdotgg/t3code

test(desktop): the Windows shell kill test waits for each spawn before advancing the clock #30463

Mergedmaria-rcksmerged 1 commit intomain fromrefs/pull/30463/headmerged by maria-rcks View on GitHub

maria-rckscommented

DesktopShellEnvironment > gives up on a Windows shell that survives the kill (added in #27938) times out at 15s on most main CI runs.

The test advanced the TestClock four times in a row right after forking the work. Both PowerShell probes run concurrently and each arms its 5 s timeout only when it reaches its spawn, so an adjust could land before a probe's timer existed and the remaining adjusts ran out before the second powershell.exe attempt timed out.

The test now records each spawn in a Deferred, waits for both pwsh.exe spawns, advances 5 s, waits for both powershell.exe spawns, and advances 5 s again. The production code is unchanged.

Verification on a Blacksmith testbox: the test passed 20 of 20 repeated runs, the whole file passes (22 tests), and vp fmt --check, vp lint and the desktop typecheck pass.

Done with Claude Code (claude-opus-5-5).

Reviewed with sol-loop: 1 rounds with gpt-6.1-sol at high. Verdicts: approved, approved.

    1. Approvability

      Verdict: Approved at 0f95001

      Macroscope's review found this PR approvable — The change is confined to an ignored desktop test path and is described as waiting for shell spawns before advancing the test clock. No production behavior change or material operational risk is indicated.

      Notes:

      • No code objects were reviewed. Approvability was decided on eligibility alone.
      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    2. maria-rcks merged thisece461e

    3. maria-rcks closed this

Sign in to join this conversation.