Add async backpressure checks to review agents and skill #1

Merged
tux merged 1 commit from improve-async-backpressure-review into main 2026-06-26 09:09:11 +02:00
Owner

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.

  • code-reviewer: scope note to read whole I/O/protocol modules; run
    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.
  • security-auditor: dropped-readiness item framing silent truncation
    as a data-integrity/availability defect (? is not sufficient).
  • code-quality skill: restriction lint in the clippy command, async
    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

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. - code-reviewer: scope note to read whole I/O/protocol modules; run 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. - security-auditor: dropped-readiness item framing silent truncation as a data-integrity/availability defect (? is not sufficient). - code-quality skill: restriction lint in the clippy command, async 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>
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.

- code-reviewer: scope note to read whole I/O/protocol modules; run
  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.
- security-auditor: dropped-readiness item framing silent truncation
  as a data-integrity/availability defect (? is not sufficient).
- code-quality skill: restriction lint in the clippy command, async
  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>
tux merged commit 3b27d9904c into main 2026-06-26 09:09:11 +02:00
tux deleted branch improve-async-backpressure-review 2026-06-26 09:09:11 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tux/claude-code!1
No description provided.