Commit c2da4ea
ci(bulkhead): mark inner-race arm of _check_loop no-cover
The double-check-with-lock pattern in AsyncBulkhead._check_loop has an
inner `elif self._loop is not current` arm that fires only when two
threads simultaneously pass the cached-loop check and queue on the
lock. It's a real race in concurrent use but extremely hard to trigger
deterministically in a test. Mark it `# pragma: no cover` with a short
justification rather than carry a contrived two-thread test.
Carry-along on PR #33 to unblock CI; bulkhead.py was modified by
df729fa on main and the coverage gap propagated to every PR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7e72503 commit c2da4ea
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
0 commit comments