Skip to content

feat(agent): bundle multi-pwsh with Windows installer - #1904

Merged
Adam Driscoll (adamdriscoll) merged 2 commits into
masterfrom
adamdriscoll-bundle-multi-pwsh
Aug 3, 2026
Merged

feat(agent): bundle multi-pwsh with Windows installer#1904
Adam Driscoll (adamdriscoll) merged 2 commits into
masterfrom
adamdriscoll-bundle-multi-pwsh

Conversation

@adamdriscoll

@adamdriscoll Adam Driscoll (adamdriscoll) commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This pull request adds support for downloading and integrating the multi-pwsh executable into the Windows agent build and packaging process. The changes automate fetching the correct multi-pwsh binary for the target architecture, ensure the executable is available as a build artifact, and update the MSI packaging to include it.

Integration of multi-pwsh into build and packaging:

  • Added a new script ci/download-multi-pwsh.ps1 to download and extract the appropriate multi-pwsh binary for the specified architecture and destination.
  • Updated .github/workflows/ci.yml and .github/workflows/package.yml to run the new script, set the DAGENT_MULTI_PWSH_EXECUTABLE environment variable, and ensure the executable is available during packaging. [1] [2] [3] [4] [5]

Documentation updates:

  • Updated .agents/skills/build-agent-msi/SKILL.md to include the new step for downloading multi-pwsh and to document the new environment variable. [1] [2]

MSI packaging changes:

  • Modified package/AgentWindowsManaged/Program.cs to resolve and include the multi-pwsh.exe binary as part of the agent MSI package. [1] [2]
image

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 3, 2026 17:26
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Let maintainers know that an action is required on their side

  • Add the label release-required Please cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module) when you request a maintainer to cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module)

  • Add the label release-blocker Follow-up is required before cutting a new release if a follow-up is required before cutting a new release

  • Add the label publish-required Please publish libraries (`Devolutions.Gateway.Utils`, OpenAPI clients, etc) when you request a maintainer to publish libraries (Devolutions.Gateway.Utils, OpenAPI clients, etc.)

  • Add the label publish-blocker Follow-up is required before publishing libraries if a follow-up is required before publishing libraries

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bundles multi-pwsh with Windows Agent MSI packages.

Changes:

  • Adds architecture-specific multi-pwsh downloading.
  • Integrates the executable into CI and release packaging.
  • Documents local MSI build setup.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.agents/skills/build-agent-msi/SKILL.md Documents download and environment setup.
.github/workflows/ci.yml Downloads multi-pwsh for Windows builds.
.github/workflows/package.yml Supplies it during release packaging.
ci/download-multi-pwsh.ps1 Downloads and extracts release assets.
package/AgentWindowsManaged/Program.cs Includes the executable in the MSI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ci/download-multi-pwsh.ps1
Pass GITHUB_TOKEN to multi-pwsh download steps, stop on script errors, and add a DEBUG default path for local MSI builds.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@adamdriscoll
Adam Driscoll (adamdriscoll) merged commit d204d8e into master Aug 3, 2026
82 of 84 checks passed
@adamdriscoll
Adam Driscoll (adamdriscoll) deleted the adamdriscoll-bundle-multi-pwsh branch August 3, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants