Skip to content

chore: use literal shells for the Windows installer CI matrix [skip changelog] - #136

Merged
AshGodfrey merged 4 commits into
mainfrom
ash/ci-windows-installer-literal-shell
Oct 22, 2026
Merged

AshGodfrey merged 4 commits into
mainfrom
ash/ci-windows-installer-literal-shell

Conversation

@AshGodfrey

@AshGodfrey AshGodfrey commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

The Windows installer smoke-test job set shell from a matrix expression, which GitHub Actions rejects as an invalid workflow file, so the Test workflow no longer parses on main. The job now has one conditional step per matrix entry with a literal shell, so both powershell and pwsh still run as separate matrix jobs.


Summary by cubic

Fixes the Windows installer smoke-test job so the Test workflow parses on main. GitHub Actions rejects shell values from matrix expressions, so the job now uses one conditional step per matrix entry with a literal shell, keeping powershell and pwsh as separate matrix jobs. The test script also loads the Archive module before replacing Expand-Archive and captures installer output as it streams, initializing it before the test body, so test failures print the output.

Written for commit 3dc630b. Summary will update on new commits.

View guided diff Turn on auto-fix

@AshGodfrey
AshGodfrey requested a review from a team as a code owner October 22, 2026 19:34
@AshGodfrey
AshGodfrey requested a review from mfbx9da4 October 22, 2026 19:34

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Shadow auto-approve: would auto-approve. Fixes an invalid GitHub Actions workflow by replacing a matrix-expanded shell: expression with literal shells in conditional steps, restoring workflow parsing while preserving both powershell and pwsh matrix coverage. Bounded CI-only fix with no external behavior change.

View guided diff | Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file (changes from recent commits).

Shadow auto-approve: would not auto-approve because issues were found.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/test-windows-installer.ps1 Outdated
@AshGodfrey AshGodfrey changed the title ci: use literal shells for the Windows installer matrix [skip changelog] chore: use literal shells for the Windows installer CI matrix [skip changelog] Oct 22, 2026
@AshGodfrey

Copy link
Copy Markdown
Contributor Author

Going to bypass rules on this one because I hastily merged #135. This is all testing, so low risk to merge without approval.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file (changes from recent commits).

Shadow auto-approve: would not auto-approve because issues were found.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/test-windows-installer.ps1

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Shadow auto-approve: would auto-approve. Fixes GitHub Actions workflow parsing while preserving PowerShell coverage, and prints installer output on smoke-test failures. CI-only change with no runtime impact.

View guided diff | Turn on auto-fix | Re-trigger cubic

@AshGodfrey
AshGodfrey merged commit 77ec7f4 into main Oct 22, 2026
26 checks passed
@AshGodfrey
AshGodfrey deleted the ash/ci-windows-installer-literal-shell branch October 22, 2026 19:57
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant