UploadTracker - #13579
Conversation
| await first_chunk_sent.wait() | ||
| task.cancel() | ||
| with pytest.raises(asyncio.CancelledError): | ||
| await task |
Co-authored-by: Sam Bull <aa6bs0@sambull.org>
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains. No blocking failure remains. Reviews (3): Last reviewed commit: "Rename 13427.feature.rst to 13579.featur..." | Re-trigger Greptile |
| max_field_size: int | None = None, | ||
| max_headers: int | None = None, | ||
| middlewares: Sequence[ClientMiddlewareType] | None = None, | ||
| upload_tracker: UploadTracker | None = None, |
There was a problem hiding this comment.
Threat model omits UploadTracker
This adds a public client request option without updating THREAT_MODEL.md, leaving the security model's public API inventory and required audit trail out of sync with the newly exposed upload-observation surface.
Context Used: AGENTS.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #13579 +/- ##
==========================================
+ Coverage 99.02% 99.03% +0.01%
==========================================
Files 135 135
Lines 50500 50940 +440
Branches 2652 2678 +26
==========================================
+ Hits 50007 50448 +441
Misses 370 370
+ Partials 123 122 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Merging this PR will not alter performance
Comparing Footnotes
|
| assert not fut.done() | ||
|
|
||
| body_unblocked.set() | ||
| await fut |
Co-authored-by: Sam Bull <aa6bs0@sambull.org>
|
@aiolibsbot review |
No description provided.