mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-09 19:34:34 +01:00
* Revert "Disable Kerberos proxy smoke test on GitHub Actions (#332064)" Re-enables the test while the recurring post-test cancellations are investigated. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: keep Actions runner outside Kerberos proxy The system PAC also applies to the GitHub Actions runner. Route its control-plane hosts directly so reconnects are not rejected with 407 while the smoke-test process remains network-isolated by PF. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
19 lines
791 B
JavaScript
19 lines
791 B
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
function FindProxyForURL(url, host) {
|
|
// Keep the Actions runner control plane off the test proxy. The smoke-test process
|
|
// cannot use this DIRECT route because PF blocks its non-loopback traffic.
|
|
if (
|
|
dnsDomainIs(host, '.actions.githubusercontent.com') ||
|
|
shExpMatch(host, 'cloudtest*.queue.core.windows.net') ||
|
|
dnsDomainIs(host, '.prod.cloudtest.microsoft.com')
|
|
) {
|
|
return 'DIRECT';
|
|
}
|
|
|
|
return 'PROXY 127.0.0.1:43144';
|
|
}
|