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
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:
1 parent
9da1387031
commit
fe453bd601
17 files changed
+898
-54
No files matched your search
@@ -122,36 +122,40 @@ first, then what makes VBS *better* rather than merely equal.
|
||||
3. **Platform breadth - deferred.** Native MSVC and Apple Clang/macOS stay deferred by
|
||||
decision; MinGW cross + Wine is the current Windows story.
|
||||
4. **Package-generator parity.** CPack also ships NuGet, PKG/productbuild, APK and IFW
|
||||
installers; VBS has tar, `sh`, ZIP, DEB, RPM, WiX, UDIF and NuGet (Wave 144). PKG is
|
||||
the next useful one.
|
||||
installers; VBS has tar, `sh`, ZIP, DEB, RPM, WiX, MSI (compiled with wixl/candle), UDIF and
|
||||
NuGet (Wave 144). PKG is the next useful one.
|
||||
|
||||
### 8.2 Developer experience and IDE integration
|
||||
|
||||
6. **Coverage reporting - done (Wave 145).** `vbs test --coverage` produces lcov (gcov for GCC,
|
||||
llvm-cov for Clang) alongside JUnit. CMake has `CTestCoverageCollectGCOV`; Meson has the
|
||||
`b_coverage` option.
|
||||
7. **Test repetition controls.** CTest offers `--repeat until-fail|after-timeout|until-pass`,
|
||||
`--shuffle`, `--stop-on-failure` and per-test retries; VBS has labels, resources, fixtures,
|
||||
timeouts, JUnit and CDash but none of these. Flaky-test retries are valuable for CI.
|
||||
8. **IDE debug integration.** `vbs ide generate` writes editor configs, but not debug
|
||||
configurations: add `.vscode/launch.json`/`tasks.json` (gdb/lldb) and JetBrains run
|
||||
configurations per target. Also export `CMakePresets.json` so CMake-only tools can read a
|
||||
VBS project.
|
||||
9. **Shell completions and man pages** for `vbs` (bash/zsh/fish), generated from the argparse
|
||||
tree.
|
||||
10. **Migration breadth.** `vbs migrate` handles a bounded CMake subset; add `--from meson`
|
||||
and cover more CMake commands. `vbs init` could grow templates (header-only, shared
|
||||
library, GUI).
|
||||
7. **Test repetition controls - done (Wave 146).** `vbs test` now has `--repeat
|
||||
until-fail|until-pass|after-timeout[:N]`, `--retry N`, `--shuffle [--shuffle-seed N]`
|
||||
and `--stop-on-failure`, alongside labels, resources, fixtures, timeouts, JUnit and CDash.
|
||||
8. **IDE debug integration.** `vbs ide generate` writes `.vscode/launch.json` and
|
||||
`.zed/debug.json` debug configurations; JetBrains run configurations per target remain
|
||||
open. `vbs presets --export FILE` (**done**) writes VBS profiles as CMake presets so
|
||||
CMake-only tools can read a VBS project.
|
||||
9. **Shell completions and man pages - done (Wave 146).** `vbs completions --shell
|
||||
bash|zsh|fish` and `vbs man [--output DIR]` are generated from the argparse tree.
|
||||
10. **Migration breadth.** `vbs migrate` handles a bounded CMake subset and now also
|
||||
`--from meson` (`meson.build`: project, variables, targets, link_with,
|
||||
include_directories, install). `vbs init --template app|library|header-only|shared`
|
||||
provides project templates.
|
||||
|
||||
### 8.3 Differentiators worth building (incumbents lack these)
|
||||
|
||||
11. **`vbs explain`.** Why did an action re-run? VBS already stores cached action digests and
|
||||
inputs; the explain report (changed input, command, environment, cache miss) is a cheap,
|
||||
high-value debugging feature that Ninja/CMake/Meson do not offer.
|
||||
11. **`vbs explain` - done (Wave 146).** Why did an action re-run? `vbs explain` compares
|
||||
every selected action against the CAS record and reports the changed inputs/outputs,
|
||||
missing records, restorable outputs and remote-cache hits, as text or JSON. Ninja/CMake/Meson
|
||||
do not offer this.
|
||||
12. **Enforced hermetic sandboxing.** Snapshots already define exact inputs; enforcing that
|
||||
actions see *only* them (mount/user namespaces) would make incrementality and
|
||||
reproducibility a guarantee rather than a convention (Bazel-style).
|
||||
13. **Build Event Protocol / Chrome trace output** for CI dashboards and IDE timelines.
|
||||
13. **Build Event Protocol / Chrome trace output - Chrome trace done (Wave 146).**
|
||||
`vbs build|test --trace FILE` writes a Chrome trace with phase and action spans for CI
|
||||
dashboards and IDE timelines; a full BEP stream remains open.
|
||||
14. **Multi-machine orchestration.** The registry, queue, leases, remote execution and
|
||||
parallel workers exist; coordinating several machines (capacity, retries, affinity) is the
|
||||
remaining step.
|
||||
@@ -160,9 +164,10 @@ first, then what makes VBS *better* rather than merely equal.
|
||||
|
||||
### 8.4 Performance note
|
||||
|
||||
The 92 ms warm no-op was measured with a **Debug** `vbs` binary. Before optimizing further,
|
||||
re-run `benchmarks/compare.sh` against a Release build, then attack the cold-start cost
|
||||
(descriptor compilation dominates: 2.6 s cold vs CMake's 97 ms on 20 sources).
|
||||
The 92 ms warm no-op was measured with a **Debug** `vbs` binary. The shared per-user caches
|
||||
(Wave 146) removed most of the cold-start cost in a fresh build directory (3897 -> 755 ms on
|
||||
the 20-source fixture); warm no-ops stay around 150 ms. Next: re-run `benchmarks/compare.sh`
|
||||
against a Release build and keep snapshot work proportional to changed files.
|
||||
|
||||
## 7. Acceptance gates
|
||||
|
||||
|
||||
Reference in new issue
Block a user