Skip to content

Add Windows CI installer connect smoke#8524

Open
atavism wants to merge 16 commits intomainfrom
atavism/windows-ci-connect
Open

Add Windows CI installer connect smoke#8524
atavism wants to merge 16 commits intomainfrom
atavism/windows-ci-connect

Conversation

@atavism
Copy link
Contributor

@atavism atavism commented Mar 12, 2026

Adds a shared connect_smoke_harness.dart for Linux and Windows tests, and adds a Windows CI smoke step that installs the build, waits for service/token readiness, runs Flutter connect/disconnect smoke (optionally checks IP change), then uninstalls for cleanup.

Copilot AI review requested due to automatic review settings March 17, 2026 21:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a shared Flutter integration-test harness for VPN connect/disconnect smoke coverage across desktop platforms, and wires up a new Windows CI smoke step that installs the Windows build, validates service/token readiness, runs the UI smoke test, then uninstalls for cleanup.

Changes:

  • Refactors the existing Linux connect/disconnect smoke test to reuse a shared connect_smoke_harness.dart.
  • Adds a new Windows connect/disconnect smoke integration test that uses the shared harness.
  • Adds a Windows GitHub Actions step plus a PowerShell script to install via the produced installer, run the Flutter smoke test (optionally with IP-change validation), and uninstall.

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
integration_test/vpn/windows_connect_smoke_test.dart Adds a Windows desktop integration test that runs the shared connect/disconnect harness.
integration_test/vpn/linux_connect_smoke_test.dart Replaces the prior inline Linux smoke logic with a call into the shared harness.
integration_test/vpn/connect_smoke_harness.dart Introduces the shared connect/disconnect smoke harness (including optional public IP-change validation).
.github/workflows/build-windows.yml Adds a Windows CI step to run the installer-based smoke script and integration test.
.github/scripts/windows_connect_smoke.ps1 Implements installer-based setup + service/token waits + flutter test invocation + cleanup uninstall.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +186 to +195
- name: Windows installer + UI connect/disconnect integration
shell: pwsh
timeout-minutes: 20
env:
FULL_INSTALLER_NAME: ${{ inputs.installer_base_name }}${{ inputs.build_type != 'production' && format('-{0}', inputs.build_type) || '' }}
run: |
./.github/scripts/windows_connect_smoke.ps1 `
-UseInstaller `
-InstallerPath "$env:FULL_INSTALLER_NAME.exe" `
-EnableIpCheck
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