Commit e4a1e0c
Fix InProcess test parity: respect explicit subprocess options over env var
- resolveDefaultConnection: when cliUrl, cliPath, or port are explicitly
set, fall back to subprocess transport even if COPILOT_SDK_DEFAULT_CONNECTION
is 'inprocess'. Explicit options take precedence over the env var default.
- validateEnvironmentOptions: check isEmpty() in addition to null, since
setEnvironment(null) clears the map rather than nulling the field.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d7a38160-a65e-4d0c-9087-4f28da2a51b81 parent f22b4af commit e4a1e0c
1 file changed
Lines changed: 11 additions & 1 deletion
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
262 | 272 | | |
263 | 273 | | |
264 | 274 | | |
| |||
390 | 400 | | |
391 | 401 | | |
392 | 402 | | |
393 | | - | |
| 403 | + | |
394 | 404 | | |
395 | 405 | | |
396 | 406 | | |
| |||
0 commit comments