feat(registry): paginate package search results
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 8s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 39s

This commit is contained in:
faumaray committed 2026-12-03 23:49:07 +03:00
1 parent 41a74bc925
commit 7bd04718df
6 files changed
+73 -8

No files matched your search

+13
View File
@@ -773,6 +773,19 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
- Full CTest: **8 / 8 passed** in 227.61 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Registry Package Search Pagination (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.57 s; `GET /api/v1/packages?limit=1`
returns exactly one package with `total`/`limit`/`offset`, and `limit=501` returns 400.
- Full CTest: **8 / 8 passed** in 225.74 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).