ci: lint all targets, run interop suites for real, compile benches
- clippy --all-targets plus a clawhdf5-format feature matrix (parallel, lz4, zstd, pcodec, fast-checksum); fix the accumulated lint backlog in test, bench and feature-gated code (no behaviour changes). - Install python3 + h5py/numpy/netCDF4/xarray in the CI container and set CLAWHDF5_REQUIRE_INTEROP=1, which makes a missing interop dependency a test failure. Every h5py/netCDF4 interop test used to skip silently in CI. Run the #[ignore]d writer_h5py_tests suite explicitly. - cargo bench --no-run so benches can't rot; fix bench.rs and memory_bench.rs, which no longer compiled against the current strategy/consolidation APIs. - Optional fuzz smoke run via CLAWHDF5_FUZZ_SECONDS. - CHANGELOG and docs/known-issues.md updated. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
706189c3ef
commit
bbe1baa208
@@ -1048,7 +1048,7 @@ fn test_gpu_l2_fallback_works() {
|
||||
let tombstones = vec![0u8; 3];
|
||||
|
||||
let gpu = clawhdf5_agent::gpu_search::GpuSearchBackend::try_init(&vectors, &norms, 2, 1);
|
||||
let results = gpu.search_l2(&vec![0.0, 0.0], &vectors, &tombstones, 3);
|
||||
let results = gpu.search_l2(&[0.0, 0.0], &vectors, &tombstones, 3);
|
||||
|
||||
assert_eq!(results.len(), 3);
|
||||
assert_eq!(results[0].0, 0);
|
||||
@@ -1099,7 +1099,7 @@ fn test_mmap_reader_direct_access() {
|
||||
|
||||
// Open via MmapReader directly
|
||||
let mmap = clawhdf5_io::MmapReader::open(&path).unwrap();
|
||||
assert!(mmap.len() > 0);
|
||||
assert!(!mmap.is_empty());
|
||||
// Verify we can read bytes at specific offsets
|
||||
let bytes = mmap.read_at(0, 8);
|
||||
assert!(bytes.is_some());
|
||||
|
||||
Reference in New Issue
Block a user