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

agronholm / anyio / 33453712302
91%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2026 12:12AM 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

01 Sep 2026 12:10AM UTC coverage: 91.376% (-0.2%) from 91.594%
33453712302

push

github

web-flow
Shield TemporaryDirectory cleanup from cancellation (#1304)

TemporaryDirectory.__aexit__ ran the synchronous cleanup via to_thread.run_sync, which performs a cancellation checkpoint on entry. If the host task was already cancelled when exiting the context manager, that checkpoint aborted the cleanup before the worker thread was even dispatched, leaking the temporary directory.

Wrap the call in a shielded CancelScope so that a pending cancellation does not prevent the cleanup from running, and add a regression test verifying that the directory is removed when cancellation is requested while exiting the context manager.

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

6781 of 7421 relevant lines covered (91.38%)

11.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33453712302.1 01 Sep 2026 12:12AM UTC 46
91.38
GitHub Action Run
Source Files on build 33453712302
  • Tree
  • List 46
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33453712302
  • 033fc52b on github
  • Prev Build on master (#33308786702)
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