fix(package): never include the archive in itself; extend release-detail tests
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s

This commit is contained in:
faumaray committed 2026-12-04 05:04:44 +03:00
1 parent 691560a369
commit 2c4eeba945
7 files changed
+258 -1

No files matched your search

+2
View File
@@ -239,6 +239,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 73 (Actions Kind Filter & `vbs releases show`)**: the daemon `actions` request gained a `kind` filter (`--kind`), asserted in `Daemon.actions_lists_lowered_actions`. A swarm worker (7/7 tasks) added `Package::fetch_release_detail` (`ReleaseInfo`) and `vbs releases show --registry --name --version`, covered by CLI contracts and the live registry E2E.
- **Wave 74 (Self-Excluding Source Archives & Release-Detail Tests)**: `create_source_package` now skips its own output archive (and any stale copy at that path), so packing into a non-`build`-named directory no longer embeds the previous archive; asserted in `archive_security_determinism_binary_abi_and_redaction`. A swarm worker added a dedicated release-detail test (fields, signature metadata, 404, private auth) to `RegistryTests` (5/5 substantive tasks; its build task was stopped and re-run by the orchestrator).
## Remaining future scope
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Track C (macOS/Windows ports + dual-profile cross-compilation) and dedicated external editor plugins remain planned; Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement/distribution, binary-variant signing/distribution) and Track E3 daemon capabilities are implemented, and Track E4 now uses `Void::Net` for the registry client/server and remote cache plus `Void::Sqlite` for the StateStore when available.
+1
View File
@@ -77,4 +77,5 @@ Base HEAD: `fe0d1a6`
| Wave 71 (Member-filtered describe + test path cleanup) | `describe` `member` filter in the daemon; swarm replaced `/proc/self/exe` in three test files | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon suite and full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `tests/{DaemonTests,RegistryTests,FullV1Tests,SelfHostTests}.cpp`, docs |
| Wave 72 (Daemon target flags + registry search tests) | `target_flags` daemon request + `vbs daemon target flags`; swarm deepened RegistryTests search/pagination coverage | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon and Registry suites pass, full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `tests/{DaemonTests,RegistryTests}.cpp`, `tests/CliContracts.cmake`, docs |
| Wave 73 (Actions kind filter + releases show) | daemon `actions --kind` filter; swarm added `fetch_release_detail` and `vbs releases show` with tests | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Daemon and Registry suites pass, full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `include/Void/Build/Package/RegistryClient.hpp`, `src/Package/RegistryClient.cpp`, `tests/{DaemonTests,RegistryTests}.cpp`, `tests/CliContracts.cmake`, docs |
| Wave 74 (Self-excluding archives + release-detail tests) | `create_source_package` excludes its own output; swarm added release-detail RegistryTests coverage | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, full CTest 8/8) | `src/Package/Archive.cpp`, `tests/{FullV1Tests,RegistryTests}.cpp`, docs |
| 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) |
+10
View File
@@ -1161,6 +1161,16 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
- `cli_publish_deps_resolve_and_locked_build_against_live_registry` passes (3.66 s); full CTest:
**8 / 8 passed** in 244.47 s.
## Self-Excluding Source Archives & Release-Detail Tests (GCC 16.2, pin `0002e74`)
- `create_source_package` skips its own output path: packing twice into
`proj/dist/pkg.tar` and extracting shows no `dist/pkg.tar` entry
(`archive_security_determinism_binary_abi_and_redaction` passes in 127 ms).
- Swarm `swarm_mx8bv64x_hhks` (one worker) added a dedicated release-detail test to
`RegistryTests` (fields, signature metadata, 404, private auth; 5/5 substantive tasks; the
build task was stopped and re-run by the orchestrator).
- Registry suite: **8 / 8 passed** (10.91 s); full CTest: **8 / 8 passed** in 246.26 s.
## 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).