This PR fixes ZStream#buffer over-prefetch behavior where upstream effects could be evaluated more than one element ahead when buffer(1) is used.
Root cause: runIntoQueueElementsScoped used queue.offerAll for each incoming chunk, which allowed chunk-level eager evaluation before per-element backpressure kicked in.
offerAll with element-by-element queue.offer in runIntoQueueElementsScopedZStreamSpec:
buffer(1) should not evaluate more than one element aheadWith per-element offer, producer must respect queue capacity at element granularity, so with buffer(1) it can only be one element ahead of the consumer.
/claim #9810
Jujubee's code
@Jujubee-LLM
ZIO
@ZIO