ci: add sanitizer and Wine jobs; defer the RPM generator with evidence
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 5s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 5s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 48s

This commit is contained in:
faumaray committed 2026-12-05 08:33:48 +03:00
1 parent 52ccd3e001
commit 2b80718f98
5 files changed
+61 -5

No files matched your search

+2
View File
@@ -306,6 +306,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 106 (Deterministic Parser Fuzzing)**: `CoreEngineTests.fuzz_mutated_inputs_never_crash_parsers` mutates TOML, JSON, lockfile and tar seeds (bit flips, truncation, overwrite runs, junk insertion; fixed xorshift seed, 200 iterations) and feeds them to `load_dependencies_toml`, `Void::Json::Strict::parse`, `parse_lockfile` and `extract_safe_tar`, with seed sanity checks guarding against a vacuous fuzz. Clean in the normal build and under ASan+UBSan with leak detection.
- **Wave 107 (CI Workflow Groundwork & RPM Prototype Finding)**: `.github/workflows/ci.yml` gained a sanitizer job (ASan+UBSan configure/build, core-safe suites) and a MinGW+Wine job running the Windows-target regression test, and the formatting job now covers `sdk/`, nested platform dirs, `registry/cli/` and all recipes. The workflow remains a template that has never run on real runners. An RPM prototype (validated with `rpm` 6.1 from `dev cpp-gcc -p rpm`) showed that RPM 6.1 rejects hand-built headers unless the signature-region conventions are exact, so the native RPM generator is deferred rather than shipped unverified.
## Remaining future scope
- **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order.
+1
View File
@@ -110,4 +110,5 @@ Base HEAD: `fe0d1a6`
| Wave 104 (Competitor benchmark harness) | `benchmarks/compare.sh` timing VBS vs CMake/Ninja vs Meson; baseline recorded | COMPLETE & VERIFIED (baseline observed; VBS 2578/209 ms vs CMake 98/9 ms on a 20-source fixture) | `benchmarks/compare.sh`, `docs/roadmap/22-superiority-and-gaps.md`, docs |
| Wave 105 (Sanitizer groundwork) | ASan+UBSan build runs core tests clean; found and filed Void/Library#62 (Argparse aliasing UAF) with a de-aliasing workaround | COMPLETE & VERIFIED (core 7/7 under ASan; normal CTest 8/8) | `src/Main.cpp`, `docs/agent-workflow/VERIFICATION.md`, Void/Library#62 |
| Wave 106 (Parser fuzzing) | Deterministic mutation fuzz test over TOML/JSON/lockfile/tar parsers with seed sanity checks; ASan-clean | COMPLETE & VERIFIED (normal build and ASan+UBSan) | `tests/CoreEngineTests.cpp`, docs |
| Wave 107 (CI groundwork + RPM finding) | Sanitizer and MinGW/Wine CI jobs added to the template; RPM prototype investigated with real rpm tooling and deferred | PARTIAL: CI template updated (unverified on runners), RPM generator deferred with recorded evidence | `.github/workflows/ci.yml`, `docs/agent-workflow/STATE.md` |
| Future (Plan 20 Slice 3 / Tracks C, E3 editor extensions) |"}] Live `conan` CLI verification; macOS/Windows/cross-compile; binary-variant signing and key distribution; daemon-side dependency materialization and editor plugins; `Void::Net`/`Void::Sqlite` alignment | PLANNED (unimplemented) | [21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md), [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) |
+14
View File
@@ -1512,6 +1512,20 @@ ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=print_stacktrace=1 \
reports.
- Seed sanity assertions ensure the unmutated inputs still parse.
## RPM Prototype Investigation (GCC 16.2, pin `0002e74`)
With `dev cpp-gcc -p rpm` (rpm 6.1.0, `rpm2cpio`, `rpmbuild`) a hand-built RPM prototype was
validated iteratively against `rpm -qip`:
- A bare lead + signature header is rejected (`signature tag: BAD`).
- Using a raw 32-byte SHA-256 signature tag removed that error.
- rpm then rejected the signature region tag (`tag 62 type 7 offset -48 count 3: BAD`), showing
that RPM 6.1 enforces exact region/offset conventions beyond what was implemented here.
Conclusion: the native RPM generator is deferred with this evidence recorded; the tooling needed
to finish and validate it exists in this environment. CI workflow changes are template-only and
have not run on real runners.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
+1 -1
View File
@@ -52,7 +52,7 @@ Concrete work this implies:
| Languages | C, C++, CUDA, Fortran, ObjC, ASM, HIP… | C, C++, Rust, D, Fortran, Java… | C/C++ focused | C, C++ | ASM/CUDA/ObjC or a documented extension API |
| Toolchains | MSVC, clang-cl, GCC, Clang, Apple, many | GCC, Clang, MSVC, many | GCC, Clang, MSVC | GCC, Clang (Linux) | MinGW target; MSVC deferred |
| Package/registry | External (vcpkg, Conan, FetchContent) | wrapdb, subprojects | cppget.org / brep | **Built-in registry + solver + lock + binary variants + signatures + SBOM** | federation, mirrors, key distribution |
| Install/package | `install()`, `install(EXPORT)`, CPack (TGZ/ZIP/DEB/RPM/WIX/DMG/NuGet/APK…) | `install_data`, `install_headers`, dist scripts | install module | prefix staging, components, relocatable CMake + native exports, tar, self-extracting `sh`, **stored ZIP**, **DEB (dpkg-validated)**, SBOM, **Ed25519-signed archives with checksums** | RPM, MSI/DMG-style |
| Install/package | `install()`, `install(EXPORT)`, CPack (TGZ/ZIP/DEB/RPM/WIX/DMG/NuGet/APK…) | `install_data`, `install_headers`, dist scripts | install module | prefix staging, components, relocatable CMake + native exports, tar, self-extracting `sh`, **stored ZIP**, **DEB (dpkg-validated)**, SBOM, **Ed25519-signed archives with checksums** | RPM (deferred: rpm 6.1 rejects hand-built headers without exact signature-region semantics; tooling is available via `dev cpp-gcc -p rpm`), MSI/DMG-style |
| IDE integration | File API, presets, every IDE | `meson-info` introspection | limited | `vbs ide generate/query`, CompDB, daemon protocol | File API shim, `CMakePresets.json` import, plugins |
| Test runner | CTest: fixtures, labels, resource locks, timeouts, JUnit/CDash | `meson test`: suites, timeouts, JUnit | test module | `VOID_TEST` runner; `vbs test --junit --test-timeout` | fixtures, labels, resource locks, CDash |
| Incremental / cache | compiler depfiles, ccache external | depfiles, ccache | internal caching model | **content-addressed state, immutable snapshots, remote action cache** | scale benchmarks |