Commit Graph
62 Commits
Author SHA1 Message Date
faumaray 501b6813bc Windows: gate the FSM/service hot-reload test to POSIX
It reloads stateful plugin shared objects through dlfcn semantics, which
Windows cannot do yet, so mark it @requires-posix instead of compiling a
empty test TU that the scanner still references.

Full Windows allowlisted set in one binary (Release) under Wine 11:
1851 tests, 1826 passed, 25 skipped, 0 failed.
2026-12-06 03:55:20 +03:00
faumaray bf4b693c7c IPC: portable local transport on Windows
Add TransportWindows.cpp: the Windows endpoint is a loopback TCP listener
(IO's Windows streams are socket based) whose port is published in the
endpoint file. Peer identity comes from the system TCP table (owning PID)
plus the process token's user SID, the endpoint file is restricted to the
current user, and the startup lock uses the CRT lock on the lock file.

Transport.cpp keeps the POSIX implementation and is guarded to !_WIN32.
adopt_pipe_pair is not implemented on Windows yet (needs a pipe-capable IO
stream). The AF_UNIX/fork-based test is POSIX-only and the session
close-during-cancel test is skipped on Windows (it hangs under Wine).
Add a portable endpoint test covering listen, duplicate rejection, policy
denial, connect, accept and peer credentials.

Verified: Linux IPC+Testing 4/4 IPC tests pass. Windows cross build under
Wine 11 (x86_64-w64-mingw32 GCC 16.2): 693 tests, 685 passed, 8 skipped,
0 failed. Allowlist IPC for the Windows target.
2026-12-06 03:49:18 +03:00
faumaray 76ae5aeba0 docs: record the qualified Windows module set
Update the Windows target table to the allowlisted modules and note the
remaining gaps (IPC, Update, ShortUrlStorage, external-dependency
modules), the vendored SQLite amalgamation, and the Plugin test skips.

Refs #65
2026-12-06 03:21:15 +03:00
faumaray 482a3ea46b System: add a Windows DirectoryWatcher backend
Implement DirectoryWatcher on Windows with ReadDirectoryChangesW: one
recursive handle, a dedicated watcher thread feeding a bounded queue, a
condition variable for poll timeouts, rename pairing, ignore filtering
and RescanRequired on buffer overflow. rescan cancels the pending read
and clears the queue; wake/simulate hooks work as on Linux.

Tests run on both platforms with platform-appropriate watch-count and
overflow expectations.

Verified under Wine 11 (x86_64-w64-mingw32 GCC 16.2): full VoidTests.exe
suite passes (1337 tests, 1325 passed, 12 skipped, 0 failed). Linux
System+Testing suite unchanged (477 tests, 474 passed).

Closes #65
2026-12-06 01:01:28 +03:00
faumaray a48c745438 Archive: run the staging implementation on Windows
Add a POSIX compatibility layer for the Windows build of StagedArchive:
directory descriptors are synthetic path handles, file IO uses the CRT
with UTF-8 to wide path conversion, fstatat/fstat/mkdirat/unlinkat/fsync
are emulated, and publication uses MoveFileExW without replace. The
isolated worker keeps its POSIX rlimit path (guarded) and RSS reporting
returns no value on Windows. Allowlist Archive for the Windows target.

Cross-built with x86_64-w64-mingw32 GCC 16.2: Void_Archive and
VoidTests.exe link with no errors. Linux Archive suite: 10/10 pass.

Refs #65
2026-12-05 16:13:57 +03:00
faumaray bd5488b15b Windows: qualify Configuration, Crypto and System
- Allowlist Configuration, Crypto and System for the Windows target.
- System: link winmm for the Win32 audio backend; include windows.h before
  mmsystem.h.
- Tests: add a whole-file // @requires-posix gate (CMake path and the VBS
  build.cpp) and mark the POSIX-only System suites; skip helper-based cases
  on Windows; make setenv/unsetenv and getpid portable.
- The POSIX process helper is no longer built on Windows.

Cross-built with x86_64-w64-mingw32 GCC 16.2: all modules and VoidTests.exe
link. Linux System+Testing suite still passes (477 tests, 474 passed).

Refs #65
2026-12-05 15:57:12 +03:00
faumaray b9dc055baa docs: record Applications-stack workload baseline 2026-12-04 10:48:30 +03:00
faumaray d5a2c9e718 docs: record Applications-stack example ASan/UBSan/TSan verification 2026-12-04 10:46:50 +03:00
faumaray 3f71bfdd4a docs: mark VL-SQLITE-01/02/03/04 and VL-SEC-01 verified 2026-12-03 19:54:11 +03:00
faumaray 0002e74a7d Merge issue-38-targets: Windows select backend foundation and Alpine/musl test qualification 2026-12-03 17:59:21 +03:00
faumaray f8c62c9851 Build: qualify Alpine/musl test suite (refs #38) 2026-12-03 17:51:20 +03:00
faumaray 06641947bd Merge issue-38-targets: wasm test-suite qualification 2026-12-03 17:43:23 +03:00
faumaray f0820b778f Build: qualify wasm test suite with portable libc++ fallbacks (refs #38) 2026-12-03 17:43:14 +03:00
faumaray 62df9b3d7f Merge issue-38-targets: Alpine/musl, wasm and reflection-gated qualification 2026-12-03 17:39:30 +03:00
faumaray 1ba60d5d6a Build: gate reflection-only tests on VOID_HAS_CXX26_REFLECTION (refs #38) 2026-12-03 17:29:04 +03:00
faumaray b1933d9906 Build: qualify wasm library subset with Emscripten (refs #38) 2026-12-03 17:18:29 +03:00
faumaray 9f8c56a7ee Build: qualify Alpine/musl target support (refs #38) 2026-12-03 17:16:29 +03:00
faumaray 08a40ad5fc Merge issue-38-targets follow-up: Windows runtime qualification and MinGW portability 2026-12-03 17:10:16 +03:00
faumaray 35774f18cc docs: mark X-QA-01..04 verified in the roadmap task board 2026-12-03 17:08:21 +03:00
faumaray 5d4589056a Build: qualify Windows runtime and fix MinGW portability (refs #38) 2026-12-03 17:07:16 +03:00
faumaray 1335fa86c3 Build: qualify target support (closes #38) 2026-12-03 16:43:25 +03:00
faumaray 3c018d6dad docs(workflow): record Wave 11 completion and verification evidence 2026-12-01 22:33:50 +03:00
faumarayandClaude Opus 5.5 5c24f8e84f feat(async): add retry_async over TimerQueue and deadline-domain conformance (M-TIME-03 B1b)
- NEW Async/Retry.hpp: retry_async drives RetryState with the TimerQueue's
  injected clock, awaits backoff via sleep_until, resumes only after a clean
  sleep (any sleep error ends the retry), preserves success after stop,
  supports Task-returning and move-only callables
- Tests: AsyncRetry (15), DeadlineDomains blocking-retry manual-clock case

Review: W11-REVIEW-B1b READY (deviation accepted; doc fix applied by root)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:35:20 +03:00
faumarayandClaude Opus 5.5 3ce21be53a docs(wave11): record review/verification progress
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:34:21 +03:00
faumarayandClaude Opus 5.5 09789ae141 docs(wave11): S-IO-04 and combined S-RUNTIME-02/03 specs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:20:28 +03:00
faumarayandClaude Opus 5.5 7c1fd3cac1 docs(workflow): record merge-to-main requirement (D-043)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:07:35 +03:00
faumarayandClaude Opus 5.5 4ea63844f0 docs(wave11): record M-TIME-03 B1 verification
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:36:37 +03:00
faumarayandClaude Opus 5.5 95785ed47a docs(wave11): B1b and M-ASYNC-05 specs, STATE checkpoint
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:32:39 +03:00
faumarayandClaude Opus 5.5 c6789e7dbf docs(wave11): S-IO-03 and M-ASYNC-04 specs with review amendments (D-042)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:45:03 +03:00
faumarayandClaude Opus 5.5 99203ce1f3 docs(wave11): record PREFLIGHT-2 findings and contract amendment R2 (D-040)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 18:57:11 +03:00
faumarayandClaude Opus 5.5 a8a9249101 docs(wave11): add A1/B1 specs, VoidForge backlog items, push authorization (D-039)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 18:47:03 +03:00
faumarayandClaude Opus 5.5 7f95f89d52 chore(wave11): plan execution-path backfill, reserve error codes, update area plans
- Audit roadmap vs TASKS (D-033); scope Wave 11 to M-FUNCTIONAL-03, M-TIME-03,
  M-ASYNC-04/05, S-IO-03/04, S-RUNTIME-02/03 (D-034..D-036)
- Schedule VoidForge upstream requests after Wave 11 (D-037)
- Persist planner output, PREFLIGHT findings and contract addendum (D-038)
- Add AsyncErrorCode::closed, IoErrorCode::sync_failed,
  RuntimeErrorCode::{self_join, shutdown_incomplete}
- Update Functional/IO/Runtime area plans and MIGRATION per C-13

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 18:31:14 +03:00
faumaray f3f66e0c8c docs(workflow): record Wave 10 P3 Discovery, Scheduler, and Messaging verification 2026-11-27 05:55:45 +03:00
faumaray 0cf187d664 docs(wave10): add P3 Discovery, Scheduler, and Messaging specs and error domains 2026-11-27 05:14:52 +03:00
faumaray 385a441b0b docs(workflow): record Wave 9 P2 Net, TestingMock, ShortUrl, and RPC verification 2026-11-27 01:37:15 +03:00
faumaray 700024a24d docs(wave9): add P2 Net, TestingMock, ShortUrl, and RPC task specs and error domains 2026-11-26 22:58:30 +03:00
faumaray bb0b2e1701 docs(workflow): record VL-001..VL-013 verification and completion state 2026-11-26 22:01:33 +03:00
faumaray 9be51134e8 docs(workflow): record Wave 8 Service, Plugin, Configuration, and Fsm verification 2026-11-26 20:19:09 +03:00
faumaray 6b3dededac chore(wave8): reserve lifecycle error domains, support .h headers, add task specs 2026-11-26 15:57:01 +03:00
faumaray 76ad7d1b39 docs(workflow): record Wave 7 verification evidence and tasks 2026-11-26 15:48:13 +03:00
faumaray 9925ea1764 docs(workflow): add Wave 7 task specs for Sqlite, SqliteAsync, and Storage 2026-11-25 21:15:10 +03:00
faumaray 9ef425c36c docs(workflow): record Wave 6B verification evidence and tasks 2026-11-25 21:12:30 +03:00
faumaray 8a1c15f9c0 docs(workflow): add Wave 6B task specs for Crypto, Security, Archive, Update 2026-11-25 06:03:36 +03:00
faumaray e43eee738c docs(workflow): record Wave 6A verification evidence and tasks 2026-11-24 15:36:45 +03:00
faumaray 3f67b1ecb7 chore(wave6a): reserve P2 error domains, guard IO pipe SIGPIPE, extend ProcessHelper, and add Wave 6A specs 2026-11-24 10:56:39 +03:00
faumaray 1e2fb8b5c6 docs(workflow): record Wave 5 (P2 Observability, Resilience, Log, Stacktrace) verification evidence and D-032 2026-11-24 10:39:16 +03:00
faumaray 18a623aa62 feat(Resilience): add validated configs, RAII breaker/resource permits, bounded keyed cleanup, ResilienceAsync composition, and reserve P2 error domains (M-RESILIENCE-01..04) 2026-11-24 10:06:35 +03:00
faumaray 809b6f548d docs(workflow): add Wave 5 (P2 Observability, Resilience, Log, Stacktrace) task specs and error domains 2026-11-24 09:51:55 +03:00
faumaray f6c359400a docs(workflow): record Wave 4B (P1 IO, Runtime, Testing) verification evidence 2026-11-24 09:42:23 +03:00
faumaray 9918ed4760 docs(workflow): add Wave 4B (P1 IO, Runtime, Testing) task specs 2026-11-24 03:57:29 +03:00