You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip attach E2E test at discovery time on Windows PowerShell
CanAttachScriptWithPathMappings wedges during the per-test InitializeAsync
(PSES debug-adapter server startup) on in-box Windows PowerShell since the
windows-2025-vs2026 runner image refresh, riding the job timeout in CI.
The prior in-body Skip.If(IsWindowsPowerShell) never fired because xUnit runs
IAsyncLifetime.InitializeAsync before the test body, and that setup is where
the hang occurs. Add a SkippableFact subclass that sets Skip in its
constructor so xUnit skips the test at discovery time, before it instantiates
the class or runs InitializeAsync. The SkippableFact discoverer is retained so
the runtime Constrained Language Mode skip still works off-Windows.
See #2323.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Skip="Attach wedges during setup on Windows PowerShell since the 20260614 runner image; see https://github.com/PowerShell/PowerShellEditorServices/issues/2323.";
0 commit comments