Update: qualify on Windows

- Install.cpp: open the staging download with _wopen in binary mode and
  use _commit instead of fsync on Windows (O_EXCL already rejects a
  pre-existing entry, so O_NOFOLLOW has no Windows equivalent to keep).
- tests: add a @requires-openssl gate for files that sign fixtures with
  OpenSSL headers (unavailable in the Windows environment), and skip the
  compressed-package fixture when the Archive backend has no LibArchive.

Verified: Windows cross build under Wine 11 (x86_64-w64-mingw32 GCC 16.2)
966 tests, 954 passed, 12 skipped, 0 failed; Linux Update+Testing 982
tests, 978 passed, 4 skipped, 0 failed. Allowlist Update for Windows.
This commit is contained in:
faumaray committed 2026-12-06 04:00:50 +03:00
1 parent 501b6813bc
commit 695c9b6be2
6 files changed
+58 -6

No files matched your search

+6 -2
View File
@@ -108,7 +108,7 @@ recognized and configured like Linux; musl-specific behaviour (subprocess
| CMake / generator | CMake 4.5.0, Ninja 1.13.2 |
| Language | C++26, reflection `yes` |
| Runtime | Wine 11.0 (`wine64`), no native Windows runner available |
| Modules | `Algorithms Archive Async Binary Configuration ConfigurationAsync Containers Core Crypto CryptoAsync Data Discovery Fsm Functional FunctionalCoreFormatting IO IPC Log LogConfig LogState MCP Math Memory Messaging MessagingStorage Observability ObservabilityHooks Plugin Resilience ResilienceAsync Runtime Scheduler SchedulerStorage Script Service ServicePlugin ShortUrl Sqlite Storage System SystemAsync Testing TestingMock Text Time Unicode` |
| Modules | `Algorithms Archive Async Binary Configuration ConfigurationAsync Containers Core Crypto CryptoAsync Data Discovery Fsm Functional FunctionalCoreFormatting IO IPC Log LogConfig LogState MCP Math Memory Messaging MessagingStorage Observability ObservabilityHooks Plugin Resilience ResilienceAsync Runtime Scheduler SchedulerStorage Script Service ServicePlugin ShortUrl Sqlite Storage System SystemAsync Testing TestingMock Text Time Unicode Update` |
| Observed | configure, compile, `cmake --install`, consume (`TargetProfile.exe` linked); each module's suite is verified under Wine before it is allowlisted. Full allowlisted set in one binary (Release) under Wine: **1851 tests, 1826 passed, 25 skipped, 0 failed** |
Notes from the runtime run:
@@ -135,8 +135,12 @@ Notes from the runtime run:
user identity from the process token; the endpoint file is restricted to the
current user. `adopt_pipe_pair` is not implemented on Windows yet, and the
AF_UNIX/fork-based test and the session close-during-cancel test are skipped.
- `Update` uses the Windows CRT for the staging download file (binary mode,
`_commit` instead of `fsync`); its OpenSSL-signed feed fixtures are gated by
`// @requires-openssl`, and the compressed-package fixture skips when the
Archive backend has no LibArchive.
- Still outside the Windows allowlist:
`Update` (POSIX file IO), `ShortUrlStorage` (needs `Security`), `Net`,
`ShortUrlStorage` (needs `Security`), `Net`,
`RPC`, `DiscoveryRpc`, `MessagingRpc`, `Security`, `SecurityAsync`,
`ShortUrlRemote`, `SqliteAsync`, `Stacktrace` (external dependencies not yet
built for Windows in the qualification environment).