You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: obs-util: let buffered queues fit one chunk #1526
rust/obs-util/src/buffered_file_serializer.rs, original fix aa95761d2 in #1462.
Class
Logic error / blocked operation or incorrect result.
How it is reached
Writing a chunk larger than the queue capacity blocks forever, including with an empty queue.
Proposed fix and failing test
Carry the focused change and chunk_larger_than_queue_capacity from #1462 into a separate PR. Reproduce RED against current master, then verify GREEN and the related tests.
Decisions
Split from #1462 at the maintainer's request. This intentionally fixes the corresponding original C behavior: Rust completes oversized writes, wakes producers on I/O failure, or reports close failures, respectively. The differential baseline remains unchanged outside the specific failing condition.
Claiming: split this issue from #1462. 1. Reproduce the regression on current master. 2. Carry the individual fix and verify related tests. 3. Open one PR and land it through CI today.
Fixed and merged in #1527. Buffered queues accept a complete chunk plus its header even when the configured limit is smaller. The bounded regression and buffered parity tests pass. No remaining work for this issue.
Activity
zackees commentedon Oct 20, 2026
Claiming: split this issue from #1462. 1. Reproduce the regression on current master. 2. Carry the individual fix and verify related tests. 3. Open one PR and land it through CI today.
zackees commentedon Oct 20, 2026
Fixed and merged in #1527. Buffered queues accept a complete chunk plus its header even when the configured limit is smaller. The bounded regression and buffered parity tests pass. No remaining work for this issue.
obs-util: let buffered queues fit one chunk (obs-rust#1527)