ddidderr
0be6d23512
feat(compress): move CCtx reset tail orchestration into Rust
Move the post-workspace CCtx reset order into Rust: initialize the applied
context state, reset the previous compressed-block state, reset match state,
and publish the remaining storage in sequence with error propagation between
steps. Keep private CCtx and workspace mutations in C-owned callbacks and
preserve the C/Rust state layout assertions.
Add focused tests for successful ordering and match-state/storage failure
boundaries.
Test Plan:
- `ulimit -v 41943040 && CARGO_BUILD_JOBS=1 cargo test --manifest-path rust/Cargo.toml`
- `ulimit -v 41943040 && CARGO_BUILD_JOBS=1 cargo clippy --manifest-path rust/Cargo.toml --all-targets -- -D warnings`
- `ulimit -v 41943040 && make -j1`
- `ulimit -v 41943040 && make -j1 -C tests test-zstream ZSTREAM_TESTTIME=-T2s`
- `ulimit -v 41943040 && make -j1 -C tests test-fuzzer FUZZERTEST=-T3s FUZZER_FLAGS=--no-big-tests`
- `ulimit -v 41943040 && cargo fmt --manifest-path rust/Cargo.toml -- --check`
- `git diff --check`
2026-07-19 21:41:02 +02:00
..
2023-01-04 13:01:54 -08:00
2026-07-10 20:32:18 +02:00
2026-07-10 20:06:25 +02:00
2024-11-26 11:15:39 +01:00
2026-07-10 21:54:23 +02:00
2026-07-19 20:05:29 +02:00
2026-07-10 22:07:27 +02:00
2023-01-12 15:41:08 -08:00
2026-07-10 22:44:39 +02:00
2024-12-20 10:36:56 -08:00
2026-07-11 23:11:57 +02:00
2023-01-04 13:01:54 -08:00
2026-07-19 21:41:02 +02:00
2024-12-19 16:00:11 -08:00
2026-07-11 08:05:25 +02:00
2025-01-07 10:06:08 -08:00
2026-07-10 22:46:15 +02:00
2025-01-07 10:06:08 -08:00
2026-07-11 08:06:30 +02:00
2025-01-07 10:06:08 -08:00
2023-01-04 13:01:54 -08:00
2026-07-19 18:27:52 +02:00
2025-01-07 10:06:08 -08:00
2026-07-12 09:51:45 +02:00
2025-01-07 10:06:08 -08:00
2026-07-10 21:28:56 +02:00
2024-12-19 16:00:11 -08:00
2026-07-19 20:58:18 +02:00
2026-07-18 01:40:18 +02:00