Skip to content

test(cli): allow cold PowerShell startup - #4449

Merged
yannickmonney merged 1 commit into
mainfrom
fix/cli-powershell-installer-timeouts
Oct 6, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/cli-powershell-installer-timeouts

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

A fresh PowerShell process occasionally takes longer than the installer test harness's 10-second timeout on hosted runners. Raise the process timeout to 30 seconds and explain the cold-start allowance, keeping each installer test bounded. This deflake unblocks #4437.

Evidence from the repair card:

  • Checks runs 37468007024 and 37454406371: Unit (workspaces) timed out at about 10.05 seconds.
  • CLI run 37468007241: Build (windows) reached matching checksum, then timed out at 10.37 seconds.
  • Main passed the same lane in 37457437465.

Validation reported by the source task: diff, oxlint, format, normal commit hooks and OpenGrep passed. The PowerShell suite was NOT_RUN locally because pwsh is missing. No new local checks or CI reruns were performed during publication.

Published source: 98cfcd180192fd6e16ed0eaaada764d0b226c034; parent a9d61f36bcdf0233b4963c8118ff5c83a969375d is an ancestor of current main, verified against GitHub before pushing.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

ACCEPT. The exact-head change is scoped to the PowerShell process Bun.spawnSync timeout in runPowerShell; it does not alter a global test timeout. The helper already launches with -NoProfile and -NonInteractive, so the evidence supports allowing occasional hosted-runner cold-start latency. The comment explains the 30-second bound, all PowerShell tests use this helper, Unix tests retain their separate 10-second bash bound, and no assertions or skips were changed.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Delegated merge gate PASS for head 98cfcd180192fd6e16ed0eaaada764d0b226c034 (TALE-1012, C13).

  1. Head matches; OPEN, non-draft, MERGEABLE, CLEAN. Mergeability re-read after main moved.
  2. 74 checks: 43 SUCCESS, 31 path-filtered SKIPPED, 0 failing, 0 pending. All seven CI-ready aggregators (Commitlint, SAST, Security, CLI, E2E, Build, Checks) are SUCCESS; filtered skips are accepted on that basis.
  3. C7 ACCEPT: test(cli): allow cold PowerShell startup #4449 (comment), identified by the delegated brief as acceptance at this exact head. Source and complete diff confirm the 30-second bound is scoped to runPowerShell’s Bun.spawnSync, existing -NoProfile/-NonInteractive flags remain, and no assertions or skips are weakened.
  4. CICD and CODE covered by C7. UI, LOCALE, A11Y, DATA, SECURITY: NOT_APPLICABLE; test-only, +3/-1 in tools/cli/scripts/install-cli.test.ts.

Executor is neither author C8 nor reviewer C7. Protected squash merge will match this exact head; no admin override.

@yannickmonney
yannickmonney merged commit 1e1b89d into main Oct 6, 2026
@yannickmonney
yannickmonney deleted the fix/cli-powershell-installer-timeouts branch October 6, 2026 17:05
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