test(directory-picker): probe the folder dialog class instead of the platform

A Windows Server image can answer CoCreateInstance(CLSID_FileOpenDialog) with CLASS_E_CLASSNOTAVAILABLE, so the win32 COM smoke has no dialog to open and the PO

更新

A Windows Server image can answer CoCreateInstance(CLSID_FileOpenDialog) with CLASS_E_CLASSNOTAVAILABLE, so the win32 COM smoke has no dialog to open and the POSIX rejection expectation is the only proof that image can produce. Gate the pair on a PowerShell activation probe taken outside the code under test, so a GUID or vtable regression in src still fails the smoke instead of skipping it.

日期
2026-09-10
版本
master@ac5f851
commit
ac5f851

在 GitHub 查看该 commit

A Windows Server image can answer CoCreateInstance(CLSID_FileOpenDialog) with CLASS_E_CLASSNOTAVAILABLE, so the win32 COM smoke has no dialog to open and the POSIX rejection expectation is the only proof that image can produce. Gate the pair on a PowerShell activation probe taken outside the code under test, so a GUID or vtable regression in src still fails the smoke instead of skipping it.