feat: migration breadth, project templates, preset export, IDE/registry polish
VoidBuildSystem CI / 1 · Requirements (push) Successful in 3s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 2m11s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m33s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 2m44s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m16s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m37s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m29s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 24s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m52s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 20s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m57s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m47s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 7m4s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped

- vbs migrate --from meson: bounded meson.build importer (project, variable
  assignments, files()/include_directories(), executable/static_library/
  shared_library/library with link_with, include_directories, dependencies,
  install/install_dir) rendering the same build.cpp scaffold; everything
  untranslated is reported as a note.
- vbs init --template app|library|header-only|shared; every template
  scaffolds a project whose own test passes.
- vbs presets --export FILE: writes VBS profiles as CMake configure presets
  (round-trips through the CMakePresets importer).
- vbs ide generate also writes JetBrains run configurations per target.
- VBS_HOST_CXX_FLAGS/VBS_HOST_LDFLAGS instrument the compiled build
  descriptor (the CI sanitizer lane sets them).
- The registry queue counts lease attempts and abandons an action after 5
  attempts into a dead-letter list instead of leasing it forever.
- CI: coverage lane (lcov report), sanitizer descriptor flags; docs ledger
  brought up to date (STATE/TASKS/superiority roadmap).

Verified: the new FullV1Tests and RegistryTests cases pass and the full
CTest suite passes 8/8.
This commit is contained in:
faumaray committed 2026-12-06 17:23:59 +03:00
1 parent 9da1387031
commit fe453bd601
17 files changed
+898 -54

No files matched your search

+17 -1
View File
@@ -1,6 +1,6 @@
# Development state
Updated: 2026-12-03
Updated: 2026-12-06
Branch: main
Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B1–B3) + Track E1 + `vbs ide` & `build.cpp` CompDB integration + Track D1/D2 + Track E2 + Track D3 SBOM (Docker GCC 16) + Track D3 Ed25519 signing primitives & trusted-key enforcement (OpenSSL-gated crypto) + Track E3 daemon core, bounded describe & build-serving + Track C1 Linux platform split complete
@@ -383,6 +383,22 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 145 (Coverage Reporting)**: `vbs test --coverage DIR` instruments every compile and link with `--coverage`, runs the tests, and converts the gcov JSON data into `DIR/coverage.info` (lcov) and `DIR/summary.txt`. System headers outside the project root are filtered out. `FullV1Tests.test_coverage_writes_lcov_and_summary` builds a library with a covered and an uncovered function and asserts `DA:1,1`, `DA:2,0` and the summary. A fresh-tree bug (a transient filesystem error aborting the .gcda walk) was found and fixed.
- **Wave 146 (Gitea CI Hardening, Explainability, Shared Caches, CLI Surface & Migration Breadth)**:
- **CI images (`Void/CI-Images`)**: the `vulkan` image gained `msitools` (wixl/msiinfo), `rpm-tools`, `dpkg`, `meson` and `lcov`; `windows-gcc` and `windows-clang` gained `msitools`, and the image workflow now verifies the tools inside every built image.
- **CI**: a `coverage` Linux variant (`--coverage`, lcov report uploaded as an artifact) joins Debug, RelWithDebInfo and Sanitizers; the MSI installer step stops being skipped once the images ship msitools.
- **Test-runner controls**: `--repeat until-fail|until-pass|after-timeout[:N]`, `--retry N`, `--shuffle [--shuffle-seed N]` and `--stop-on-failure` (which also skips the remaining profiles).
- **Explainability**: `vbs explain [--format text|json]` reports why each action would run (missing cache record, changed discovered inputs, changed/missing outputs, restorable outputs, shared-remote-cache hits) via `Execution::explain_graph` without executing anything.
- **Observability**: `vbs build|test --trace FILE` writes a Chrome trace with phase spans (config, toolchain, eval, snapshot, graph, total) and per-action spans.
- **Cold start**: compiled descriptors and toolchain probes are shared through `$XDG_CACHE_HOME/vbs` (opt out with `VBS_SHARED_CACHE=0`). Measured on the 20-source fixture: a fresh build directory fell from 3897 ms to 755 ms (config 1986->128 ms, toolchain 562->6.5 ms); warm stays ~150 ms.
- **CLI surface**: `vbs completions --shell bash|zsh|fish` and `vbs man [--output DIR]` are generated from the live parser tree (86 man pages), so they cannot drift from the CLI; the generated bash script passes `bash -n`.
- **Migration breadth**: `vbs migrate --from meson` imports `project`, variable assignments (`files`, `include_directories`), `executable`/`static_library`/`shared_library`/`library` with `link_with`, `include_directories`, `dependencies`, `install`/`install_dir`, and reports everything else.
- **Templates & presets**: `vbs init --template app|library|header-only|shared` (all four scaffold and pass their own test), and `vbs presets --export FILE` writes VBS profiles as CMake configure presets (round-trippable through the importer).
- **Packaging**: `vbs install --archive-format msi` renders the WiX source with absolute file sources and compiles it with `wixl` (msitools) or the WiX toolset (`candle`/`light`), failing explicitly when neither exists; the release step replaces same-named assets when a tag is republished.
- **Sanitizer coverage**: `VBS_HOST_CXX_FLAGS`/`VBS_HOST_LDFLAGS` instrument the compiled build descriptor too, and the CI sanitizer lane sets them (previously descriptor compilation did not inherit sanitizer flags).
- **IDE debug integration**: `vbs ide generate` now also writes JetBrains run configurations (`.idea/runConfigurations/vbs_{build,test}_<target>.xml`) beside the VS Code and Zed debug configs.
- **Worker reliability**: the registry queue counts lease attempts per action (`attempt` in the lease response, `attempts` in the queue listing) and abandons an action after 5 attempts into an `abandoned` dead-letter list instead of leasing it forever; `RegistryTests.worker_queue_abandons_actions_after_repeated_leases` covers it.
## 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.