feat: Build Event Protocol stream and vbs new (G1, F7)
VoidBuildSystem CI / 1 · Requirements (push) Successful in 3s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m18s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 3m10s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m51s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 5m2s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m25s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m26s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m29s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 35s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 18s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 17s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Failing after 6m57s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Failing after 7m56s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped

--bep FILE on build/test/run writes a newline-delimited JSON event stream
(build_started, profile_started, action_started, action_finished,
test_finished with the exit code, build_finished), serialized with
Void::Json::Strict. vbs new is a Cargo-style alias of init with the same
project templates.

Verified: bep_stream_contains_build_action_and_test_events passes (all
event kinds present, failing test carries a non-zero exit code) and the
CLI contract suite passes; clang-format clean.
This commit is contained in:
faumaray committed 2026-12-06 19:30:25 +03:00
1 parent 55f93d5c1c
commit 11d4a3f5d7
7 files changed
+167 -18

No files matched your search

+2
View File
@@ -410,6 +410,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- `vbs install-binary NAME [--version V] [--variant ID] [--prefix DIR] [--list]` resolves the newest release when no version is given (Void::Semver ordering), picks the host os/arch variant by default, verifies signatures when trusted keys are configured, downloads with SHA-256 verification and installs into `<prefix>/bin`.
- `vbs add NAME[@RANGE]` and `vbs remove NAME` edit `vbs.deps.toml` (canonical, comment-preserving block append/removal), validate version ranges through `Void::Semver::parse_range`, and refresh `vbs.lock` through the existing resolver (`--no-lock` skips it).
- `--frozen` on `build`/`test`/`run` implies `--locked --offline`.
- `vbs new` is a Cargo-style alias of `init` with the same templates.
- `--bep FILE` on `build`/`test`/`run` writes a newline-delimited JSON Build Event Protocol stream (build/profile started, action started/finished, test finished with exit code, build finished), serialized with `Void::Json::Strict`.
- **Native compiler caching**: `--native-cache off|auto|ccache|sccache` (or `VBS_NATIVE_CACHE`) prepends ccache/sccache to compile actions only; the wrapper and real compiler are part of the action key, archives/links are untouched, and `vbs doctor` reports availability. Verified deterministically by `FullV1Tests.native_cache_wrapper_is_lowered_into_compile_commands` and end to end when the tool is installed (`native_cache_wraps_compile_actions`).
- **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.