• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agronholm / anyio / 39059961158
92%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2026 06:53PM UTC
Jobs 1
Files 46
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Oct 2026 06:51PM UTC coverage: 91.751%. First build
39059961158

push

github

web-flow
Shield TemporaryDirectory.cleanup() from cancellation (#1316)

TemporaryDirectory.cleanup() ran the synchronous cleanup via to_thread.run_sync, which performs a cancellation checkpoint on entry. If the host task was already cancelled when cleanup() was called (as it normally is, from a finally block), that checkpoint aborted the cleanup before the worker thread ran, leaking the temporary directory.

#1304 fixed this same failure in __aexit__ by wrapping the call in a shielded CancelScope, but left cleanup() with the identical bug a few lines below. Apply the same fix to cleanup(), and add a regression test mirroring the one #1304 added for __aexit__.

---------

Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi>

3 of 3 new or added lines in 1 file covered. (100.0%)

6907 of 7528 relevant lines covered (91.75%)

11.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39059961158.1 17 Oct 2026 06:53PM UTC 46
91.75
GitHub Action Run
Source Files on build 39059961158
  • Tree
  • List 46
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39059961158
  • f6a15f61 on github
  • Prev Build on master (#38814238320)
  • Next Build on master (#39072754725)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc