Skip to content

test: add CleanupManager integration tests for disk commit thread (#3459) - #5391

Merged
oferchen merged 1 commit into
masterfrom
test/pir-4c-cleanup-manager-integration
Jun 3, 2026
Merged

oferchen merged 1 commit into
masterfrom
test/pir-4c-cleanup-manager-integration

Conversation

@oferchen

@oferchen oferchen commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add 5 integration tests verifying the disk commit thread's interaction with CleanupManager for orphan temp file cleanup
  • Test that temp files are registered during active transfer and removed by cleanup() (simulating signal handler path)
  • Cover chunked write path, WholeFile coalesced path, commit unregistration, mixed committed/orphaned files, and inplace write bypass

Test plan

  • CI nextest passes on all platforms (Linux, macOS, Windows)
  • Tests validate the PIR-4.a/4.b wiring by exercising the actual disk commit thread, not just CleanupManager unit tests

)

Add tests verifying that the disk commit thread correctly registers temp
files with CleanupManager during transfer and that cleanup() removes
orphaned temp files from disk. Covers the chunked write path, WholeFile
coalesced path, commit unregistration, mixed committed/orphaned files,
and inplace write bypass.
@github-actions github-actions Bot added the test label Jun 3, 2026
@oferchen
oferchen merged commit a157f8d into master Jun 3, 2026
65 of 67 checks passed
@oferchen
oferchen deleted the test/pir-4c-cleanup-manager-integration branch June 3, 2026 19:10
oferchen added a commit that referenced this pull request Aug 24, 2026
) (#5391)

Add tests verifying that the disk commit thread correctly registers temp
files with CleanupManager during transfer and that cleanup() removes
orphaned temp files from disk. Covers the chunked write path, WholeFile
coalesced path, commit unregistration, mixed committed/orphaned files,
and inplace write bypass.
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