Files
Build-System/docs/agent-workflow/VERIFICATION.md
T
faumaray ab64147f9d
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
Implement VoidBuildSystem v1 (Plans 01-19) with VoidLibrary integration
2026-11-26 20:45:54 +03:00

7.1 KiB

Verification record

Updated: 2026-11-26 Working directory: /home/faumaray/Projects/VoidBuildSystem

All checks below were executed after the final C++ edits and formatting pass. Planned/non-executed items are separated explicitly under Limits and Unrun Checks.

Toolchain & Dependency Integrity

  • Configure baseline (build/dev): Ninja Debug C++26 (-DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON) pointing at workspace-local fetched pin build/bootstrap-pinned/_deps/voidlibrary-src (modules=13, enabling Void::Algorithms, Void::Async, Void::Configuration, Void::Text, Void::Unicode, Void::Testing, and core dependencies).
  • Build command:
    dev cpp-gcc -c cmake --build build/dev --parallel 4
    
    • Exit status: 0 (all library targets VoidBuild_Sdk, VoidBuild_Core, VoidBuild_Registry, binaries vbs, vbs-registry, vbs_describe, vbs_benchmarks, and 5 Void::Testing executables compiled and linked with zero warnings in VBS-owned code; upstream Void::Testing headers still emit -Wmissing-field-initializers).
  • Pin checks:
    • git -C build/bootstrap-pinned/_deps/voidlibrary-src rev-parse HEAD -> 9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5 (exit 0).
    • VBS made zero writes to /home/faumaray/Projects/VoidLibrary.

Formatting Check

dev cpp-gcc -c clang-format --dry-run --Werror \
  build.cpp build.profiles.cpp build-support/Defaults.hpp build-support/Defaults.cpp \
  include/Void/Build.hpp include/Void/Build/*/*.hpp \
  src/*.cpp src/*/*.cpp \
  recipes/VoidLibrary/*.hpp recipes/VoidLibrary/*.cpp \
  recipes/SelfHost/*.hpp recipes/SelfHost/*.cpp \
  registry/include/Void/Build/Registry/*.hpp registry/service/*.cpp \
  benchmarks/*.cpp tests/*.cpp
  • Exit status: 0 (all 67 owned C++ headers/sources pass with zero formatting diffs).

CTest Suite Results (dev cpp-gcc)

dev cpp-gcc -c ctest --test-dir build/dev --verbose
  • Exit status: 0 — 8 / 8 passed (100%) in 62.92 sec:
# CTest Name Exact Runner Output / Scope Verified Result Time
1 vbs_sdk_tests 17 tests: 17 ✔ in 6.5ms (SdkDeclarations 14 + ExampleContexts 3, using Void::Unicode::validate_utf8) Passed 0.01s
2 vbs_core_tests 6 tests: 6 ✔ in 11.29s: SHA-256 NIST vectors (Void::Encoding::Hex), ProcessSupervisor exec-fail & grandchild SIGKILL, profile inheritance/cycles, snapshot mutation/symlinks/header-shadowing, CAS corruption/recovery/GC, end-to-end native frontend + deterministic build + Void::Algorithms::topological_order + Void::Concurrency::ThreadPool + deleted archive symbol removal Passed 11.30s
3 vbs_v1_tests 8 tests: 8 ✔ in 11.22s: CompDB ticket races/user-file preservation/recovery, inotify watcher + MetadataOnly boundary, TOML 1.0/PubGrub solver/CAS vbs.lock, PAX/USTAR .tar determinism/traversal/symlink rejection/binary ABI/secret redaction, real CMake & Meson providers + VbsDeps.cmake bridge + relocatable install + CLI vbs install/vbs uninstall, GCC 16 P1689 module scan/collation/execution + cycle/dup checks + unity exclusion, Clang check, AND full Graph::lower_project_graph Plan 08 integration (incompatible ASan+TSan rejection, GCC 16 module partition + primary interface + consumer, unity batching + per-file-option exclusion, explicit ActionKind::HeaderUnit build & import) Passed 11.22s
4 vbs_registry_tests 2 tests: 2 ✔ in 3.06s: (1) HTTP/1.1 loopback server, security headers (CSP, X-Frame-Options: DENY), path-traversal 403, RBAC 403/401, SHA-256 mismatch 400, tar validation 422, immutable release 409 conflict, CSRF 403 & HttpOnly SameSite=Strict session cookie, XSS-safe private UI/API, secret-free audit log, backup & restore; (2) full live CLI E2E vbs publish (1.0.0 & 1.1.0) -> vbs deps resolve -> vbs build --locked -> consumer execution against ephemeral vbs-registry with zero token leak in vbs.lock Passed 3.06s
5 vbs_selfhost_tests 3 tests: 3 ✔ in 37.26s: (1) basename-collision-safe native Void::Testing scanner (vbs gen-tests); (2) strict non-CMake native VoidLibrary + VoidBuildSdk + stage1_sdk_tests -> Stage 2 SDK consumer; (3) full Stage 0 -> Stage 1 native VbsSelfHostRecipe building the complete stage1/bin/vbs CLI binary (native VoidLibrary closure + VoidBuildSdk + VoidBuildCore + stage-isolated BootstrapConfig.hpp, zero CMake) -> Stage 2 executing stage1/bin/vbs test with trapped cmake on PATH Passed 37.27s
6 vbs_sdk_registration 17 SDK test registrations verified; named JSON case executed Passed 0.01s
7 vbs_cli_contract 23 native CLI contracts verified (all Void::Argparse::Parser-backed vbs commands including vbs publish + vbs-registry --help) Passed 0.03s
8 vbs_description_contract Four runtime profile/compiler contexts and six error contracts verified (debug/release x gcc/clang JSON + CLI errors) Passed 0.02s

Clang 23.1.3 Target Matrix (dev cpp)

dev cpp -c build/dev/bin/vbs_v1_tests --no-color --filter clang23
  • Exit status: 0 — 1 tests: 1 ✔ in 751.7ms (clang23_target_toolchain_and_p1689_module_scan).
  • Verified inside dev cpp: Toolchain::discover_and_probe discovers Clang 23.1.3 + clang-scan-deps, compiles/links/runs a #ifdef __clang__ C++20 binary, AND executes a full Graph::lower_project_graph + Execution::execute_graph build of a module partition (vbs.clangcalc:part) + primary interface (vbs.clangcalc) + consumer main.cpp using clang-scan-deps --format=p1689, two-step --precompile .pcm (ActionKind::ModuleBmi) -> .o with transitive -fmodule-file=, linking, and exit code 0!

Benchmarks (dev cpp-gcc)

dev cpp-gcc -c build/dev/bin/vbs_benchmarks --files 15
  • Exit status: 0:
    {"fixture_files":16,"compiler":"g++ (GCC) 16.2.0","snapshot_ms":18,"cold_build_ms":349,"cold_executed":17,"warm_noop_ms":11,"warm_executed":0,"warm_cached":17}
    

Limits and Unrun Checks

  1. Conan2 live installation: conan is absent in dev cpp-gcc; automated testing verified that Provider::resolve_foreign_provider fails explicitly with a missing-prerequisite error when conan is absent (FullV1Tests.cpp).
  2. External optional VoidLibrary modules: SQLite3, OpenSSL, LibArchive, and libsodium are not present in dev cpp-gcc, so VBS built and tested its pure-C++/POSIX adapters (StateStore, Sha256Hasher, TarArchive, HttpServer, RegistryClient); the optional CMake switches (VBS_HAS_VOID_SQLITE, VBS_HAS_VOID_CRYPTO, VBS_HAS_VOID_ARCHIVE) remain ready for environments providing them.
  3. CI workflow & Web UI browser: .github/workflows/ci.yml has not been executed on remote GitHub Actions runners, and registry/web/ was verified via HTTP/header/static-serving/API/XSS/CSRF tests without a headless browser runner.
  4. Plan 20 (20-future-translation-platforms.md): Native foreign graph translation and non-Linux OS ports (Windows/macOS) remain unimplemented planned scope.