Skip to content

Add crash-safe transport-window rotation - #138

Merged
CodingInAVan merged 5 commits into
mainfrom
transport-window-rotation
Jul 29, 2026
Merged

Add crash-safe transport-window rotation#138
CodingInAVan merged 5 commits into
mainfrom
transport-window-rotation

Conversation

@CodingInAVan

Copy link
Copy Markdown
Contributor

Summary

  • rotate low-volume transport windows on a deadline without blocking capture
  • add immutable window identity, crash-safe salvage, and ACK-based retention
  • stop capture with a durable loss marker before spool or filesystem exhaustion

Verification

  • CUDA Windows suite: 472 run, 465 passed, 7 skipped
  • RTX 3090: bounded-filesystem, SIGKILL recovery, and publish-order E2E passed

Publish low-volume log windows from the collector beat without blocking it on compression. Retired windows are exported asynchronously with monotonic per-channel sequence numbers, bounded backlog telemetry, and deterministic shutdown draining.

Make the spool transaction crash-safe through .part promotion, validated gzip recovery, atomic no-replace moves, payload-aware collision handling, and durable transport-loss markers. Upload and launcher completion now refuse sessions with known loss while isolating unrelated old sessions.

Add mutation-checked rotation, salvage, collision, deadline, failure, pruning, and upload recovery coverage.
@CodingInAVan
CodingInAVan merged commit 5dcf9fe into main Jul 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant