Repository navigation
Commit 13012b3
fix(setup): add Windows-side gateway health check to pair-operator step
PairNodeStep already verifies the gateway is reachable from the Windows
host (HTTP GET to localhost:{port}/) before attempting a WebSocket
connection, but PairOperatorStep was missing this check. This caused
pair-operator to fail with connection errors when WSL port forwarding
hadn't propagated to the Windows host yet.
Add the same Windows-side HTTP health check to PairOperatorStep.ExecuteAsync()
immediately before the WebSocket connect attempt. The step's existing
RetryPolicy (MaxAttempts: 3, InitialDelay: 3s) provides automatic retry
if the port isn't ready on the first attempt.
Fixes #662
Co-authored-by: Copilot <[email protected]>1 parent 3fdfbfa commit 13012b3
2 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1692 | 1692 | | |
1693 | 1693 | | |
1694 | 1694 | | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
1695 | 1707 | | |
1696 | 1708 | | |
1697 | 1709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1230 | 1230 | | |
1231 | 1231 | | |
1232 | 1232 | | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
1233 | 1252 | | |
1234 | 1253 | | |
1235 | 1254 | | |
| |||
0 commit comments