Skip to content

feat: make windows workflow broader to pick issues#66

Merged
felipefreitag merged 10 commits intomainfrom
fix-windows-installer
Mar 12, 2026
Merged

feat: make windows workflow broader to pick issues#66
felipefreitag merged 10 commits intomainfrom
fix-windows-installer

Conversation

@felipefreitag
Copy link
Contributor

No description provided.

@felipefreitag felipefreitag marked this pull request as ready for review March 12, 2026 19:23
@felipefreitag felipefreitag requested review from mwoss and vcapretz March 12, 2026 19:23
Copy link
Contributor

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

Choose a reason for hiding this comment

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

2 issues found across 4 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="install.ps1">

<violation number="1" location="install.ps1:35">
P1: Error paths now return without a non-zero exit signal, so install failures can be reported as success to CI/scripts.</violation>
</file>

<file name=".github/workflows/test-install-windows.yml">

<violation number="1" location=".github/workflows/test-install-windows.yml:78">
P2: This assertion is ineffective: it runs in a new step/shell, so it cannot verify that the previous `Invoke-Expression` call did not terminate its host shell.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Copy link
Member

@mwoss mwoss left a comment

Choose a reason for hiding this comment

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

Looks good! :D

@felipefreitag felipefreitag merged commit 32e0374 into main Mar 12, 2026
10 checks passed
@felipefreitag felipefreitag deleted the fix-windows-installer branch March 12, 2026 19:49
Copy link
Contributor

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

Choose a reason for hiding this comment

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

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/test-install-windows.yml">

<violation number="1" location=".github/workflows/test-install-windows.yml:74">
P2: This check now passes on any installer failure, so an unrelated crash can be mistaken for the expected bogus-version error path.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.


- name: Assert installer failed
run: |
if ('${{ steps.bogus.outcome }}' -ne 'failure') {
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Mar 12, 2026

Choose a reason for hiding this comment

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

P2: This check now passes on any installer failure, so an unrelated crash can be mistaken for the expected bogus-version error path.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/test-install-windows.yml, line 74:

<comment>This check now passes on any installer failure, so an unrelated crash can be mistaken for the expected bogus-version error path.</comment>

<file context>
@@ -62,22 +62,17 @@ jobs:
+
+      - name: Assert installer failed
+        run: |
+          if ('${{ steps.bogus.outcome }}' -ne 'failure') {
+            Write-Error "Expected installer to fail on bogus version"
             exit 1
</file context>
Fix with Cubic

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.

2 participants