Repository navigation
test(security): cover nonce expiry and log stream properties - #475
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
|
@greptileai Review exact head |
biggest-littlest
left a comment
There was a problem hiding this comment.
Reviewed the nonce retention/capacity assertions and the self-contained log-stream fuzz properties on 345c299. Four bounded mutation probes distinguish the strengthened assertions from the old tests. Full local hooks passed, and CodeRabbit completed its review on this head with no actionable comments. Hosted checks must finish before merge.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Check nonce retention at the exact wall-clock and elapsed-time expiry boundaries, including replay refusal and capacity reclamation. Strengthen the existing log-stream fuzzer to check payload bytes, stdout/stderr order, TTY passthrough and consumer-error propagation.
The previous tests passed four deliberate mutations: inclusive elapsed-time expiry, dropped payload bytes, swapped stream labels and swallowed consumer errors. The new assertions reject all four with test failures. Production source was restored after every probe.
Validation:
go test -race ./..., a 30-second log-stream fuzz run (716,541 executions), fuzz-tier and ClusterFuzzLite configuration contracts. The target stays self-contained for the ClusterFuzzLite shim. Normal pre-push checks run before publication of this branch.✨ Added
TestNonceLRU_ExpiryBoundaryto check nonce retention at the two-minute TTL boundary and eviction when both wall-clock and elapsed time exceed the TTL.FuzzDecodeContainerLogStreamto check payload integrity, stdout/stderr ordering, TTY passthrough, and consumer-error propagation.Concerns