1.0 KiB
1.0 KiB
1. Durable Batch Aggregation
- 1.1 Add bounded same-stream entry aggregation to the Run log spool while preserving contiguous sequence and checksum validation.
- 1.2 Flush partial aggregation state at lifecycle/process completion and durable-uploader shutdown.
2. Backlog Delivery
- 2.1 Update the log uploader to keep draining pending batches within its bounded log-channel work budget.
- 2.2 Preserve retry, acknowledgement, and old one-entry spool segment compatibility.
3. Verification
- 3.1 Add unit coverage for aggregation boundaries, restart/retry behavior, and multi-entry acknowledgement cleanup.
- 3.2 Add runtime coverage proving a high-volume stream catches up through bounded aggregated uploads.
- 3.3 Run
go test ./...inrun/,scripts/check-structure.sh, andopenspec validate batch-run-log-spool-upload --strict.
Evidence
- 2026-08-10:
go test ./...fromrun/passed. - 2026-08-10:
scripts/check-structure.shpassed. - 2026-08-10:
openspec validate batch-run-log-spool-upload --strictpassed.