Add CWI.yml: Windows CLI build and integration test workflow#37844
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
June 8, 2026 15:06
View session
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Done — renamed to |
Copilot
AI
changed the title
Add CWI.Yml: Windows CLI build and integration test workflow
Add CWI.yml: Windows CLI build and integration test workflow
Jun 8, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a GitHub Actions workflow to build the Windows gh-aw CLI and run a set of Windows integration tests using the built binary artifact.
Changes:
- Introduces a Windows build job that produces and uploads
gh-aw.exeas an artifact - Adds multiple Windows integration test jobs that download the artifact and run targeted
go testcommands - Enables
setup-gocaching and dependency verification during CI runs
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/CWI.yml | New Windows CI workflow that builds the CLI and runs integration tests against the built binary |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 6
| @@ -0,0 +1,167 @@ | |||
| name: CWI | |||
Comment on lines
+61
to
+65
| - name: Checkout code | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 |
Comment on lines
+90
to
+94
| - name: Checkout code | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 |
Comment on lines
+119
to
+123
| - name: Checkout code | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 |
Comment on lines
+148
to
+152
| - name: Checkout code | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 |
| with: | ||
| name: gh-aw-windows-amd64 | ||
| path: gh-aw.exe | ||
| retention-days: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a traditional (non-agentic) push-triggered workflow that builds the CLI for Windows and runs integration tests to verify the platform works without hanging.
Workflow structure
build-windows— buildsgh-aw.exeonwindows-latest, uploads asgh-aw-windows-amd64artifactintegration-version—TestVersionin./cmd/gh-awintegration-compile—TestCompilein./pkg/cliintegration-audit—^TestAuditin./pkg/cliintegration-logs—TestLogsin./pkg/cliAll integration jobs depend on
build-windows, download the artifact, and setGH_AW_INTEGRATION_BINARY— the hook inpkg/cli/compile_integration_test.go'sTestMainthat skipsmake buildwhen a pre-built binary is provided. Action SHAs are pinned to match versions already in use acrossci.yml/cgo.yml.