Fix _Once.ensure() to propagate handshake failure to concurrent waiters #3397
+12
−2
Codecov / codecov/project
failed
Feb 20, 2026 in 0s
99.97942% (target 100.00000%)
View this Pull Request on Codecov
99.97942% (target 100.00000%)
Details
Codecov Report
❌ Patch coverage is 66.66667% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.97942%. Comparing base (2fd138e) to head (aa3256a).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/trio/_ssl.py | 66.66667% | 2 Missing and 2 partials |
❌ Your project check has failed because the head coverage (99.97942%) is below the target coverage (100.00000%). You can increase the head coverage or adjust the target coverage.
Additional details and impacted files
@@ Coverage Diff @@
## main #3397 +/- ##
====================================================
- Coverage 100.00000% 99.97942% -0.02058%
====================================================
Files 128 128
Lines 19424 19434 +10
Branches 1318 1320 +2
====================================================
+ Hits 19424 19430 +6
- Misses 0 2 +2
- Partials 0 2 +2 | Files with missing lines | Coverage Δ | |
|---|---|---|
| src/trio/_ssl.py | 98.14815% <66.66667%> (-1.85185%) |
⬇️ |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading