Skip to content

fix(harness-ops,miro): scope $ErrorActionPreference in the Windows repair command #5896

Closed

Description

@kyle-sexton

Summary

The Windows PowerShell 5.1 repair line printed by install_command in plugins/harness-ops/skills/inventory/scripts/parser_reader.py and installCommand in plugins/miro/server/src/launcher.ts starts with a top-level $ErrorActionPreference = 'Stop'. Pasted into an interactive session, it leaves the session on Stop after the repair finishes, so later unrelated commands terminate on non-terminating errors.

Fix

Wrap the sequence in a child script block, & { $ErrorActionPreference = 'Stop'; ... }, so the preference is scoped to it; update both tests. Pair with #5880 (miro npm.cmd).

Related

Codex finding past the two-round cap on #5877: #5877 (comment)
#5826, #5880

Activity

  1. added
    needs-triage
    on Oct 2, 2026
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

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions