Add async backpressure checks to review agents and skill #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "improve-async-backpressure-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivated by the Cloudflare hyper truncation bug (a dropped
Poll::Pending in poll_flush that lets shutdown race an unfinished
write, silently truncating the response). The template's static
reviewers could not catch this class; these edits raise the odds of
surfacing it and add the test pattern that actually catches it.
clippy (with the restriction lint let_underscore_must_use that
pedantic misses); discarded-result item; Rust async/concurrency
sub-section covering Pending propagation, flush-before-teardown,
partial writes, wakers, cancellation, and a slow-reader test gate.
as a data-integrity/availability defect (? is not sufficient).
standards, and a verified BackpressureSink helper plus a
bytes-delivered == Content-Length completeness oracle.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com