feat(package): authenticate private binary-variant downloads
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 5s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 23s

This commit is contained in:
faumaray committed 2026-12-03 23:03:38 +03:00
1 parent 40fef50a6f
commit 4e5bdab8cd
10 files changed
+140 -8

No files matched your search

+15
View File
@@ -687,6 +687,21 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
- Full CTest: **8 / 8 passed** in 218.84 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Authenticated Binary-Variant Downloads (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.41 s, including
`private_binary_variant_download_requires_auth`: a private package's binary artifact returns 401
anonymously, while `download_binary_artifact(..., RegistryAuth{token})` and
`materialize_binary_variant` with `BinaryFetchOptions::bearer_token` download and verify it.
- Full CTest: **8 / 8 passed** in 219.68 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## 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).