Skip to content

test: add DeleteStats write/read roundtrip tests#2565

Merged
oferchen merged 1 commit into
masterfrom
test/del-stats-roundtrip
Mar 7, 2026
Merged

test: add DeleteStats write/read roundtrip tests#2565
oferchen merged 1 commit into
masterfrom
test/del-stats-roundtrip

Conversation

@oferchen
Copy link
Copy Markdown
Owner

@oferchen oferchen commented Mar 7, 2026

Summary

  • Add wire format roundtrip tests for DeleteStats::write_to()/read_from()
  • Test zero values, realistic values, and large values
  • Verify total() computation correctness

Test plan

  • CI passes (fmt, clippy, nextest, all platforms)

Add wire format roundtrip tests for DeleteStats:
- Zero values roundtrip
- Realistic values roundtrip
- Large values roundtrip
- total() computation correctness
@github-actions github-actions Bot added the test label Mar 7, 2026
@oferchen oferchen merged commit ce0df12 into master Mar 7, 2026
32 checks passed
@oferchen oferchen deleted the test/del-stats-roundtrip branch March 7, 2026 09:21
oferchen added a commit that referenced this pull request May 1, 2026
Add wire format roundtrip tests for DeleteStats:
- Zero values roundtrip
- Realistic values roundtrip
- Large values roundtrip
- total() computation correctness
oferchen added a commit that referenced this pull request May 5, 2026
Add wire format roundtrip tests for DeleteStats:
- Zero values roundtrip
- Realistic values roundtrip
- Large values roundtrip
- total() computation correctness
oferchen added a commit that referenced this pull request May 21, 2026
…PIP-3+5 wire-up (#4677)

Combined closure note covering three trackers whose deliverables have
already shipped or were absorbed into existing design surface:

- PIP-2 (#2565): the design doc was supposed to describe the
  token_loop -> ParallelDeltaApplier migration. That document already
  exists as docs/design/parallel-receive-delta-default-on.md
  (shipped in PR #4319 scaffold, extended by PR #4666 default-on
  flip). Marked completed retroactively.
- FFB-3 (#2576): conditional task that only activated if FFB-1 chose
  Option A or B. FFB-1 (PR #4659) chose Option D - barrier baked into
  finish_file - so every existing caller already gets the barrier
  without callsite migration. Marked deferred N-A.
- FFB-4 (#2577): explicit flush_workers call at the PIP-3 wire-up
  site. PIP-3 + PIP-5 (PR #4666 merged) routes through finish_file,
  which already barriers via Option D. No explicit call needed.
  Marked satisfied-by-design.

Note: FFB-2 implementation (PR #4665, in CI) needed a spin-then-yield
fix around finish_file's try_unwrap to close a Windows release-race;
future work to restructure DecrementGuard would be FFB-5+ if filed.

No source changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant