Skip to content

Fix the app's cleanup being cancelled when stopping with Ctrl+C - #792

Merged
Dreamsorcerer merged 3 commits into
masterfrom
bot-ctrl-c-shutdown
Nov 22, 2026
Merged

Dreamsorcerer merged 3 commits into
masterfrom
bot-ctrl-c-shutdown

Conversation

@Dreamsorcerer

@Dreamsorcerer Dreamsorcerer commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.91837% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.24%. Comparing base (e1eebcc) to head (a7bda33).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
aiohttp_devtools/runserver/serve.py 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #792      +/-   ##
==========================================
+ Coverage   94.19%   94.24%   +0.04%     
==========================================
  Files          23       23              
  Lines        1931     1980      +49     
  Branches      112      115       +3     
==========================================
+ Hits         1819     1866      +47     
- Misses         92       94       +2     
  Partials       20       20              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Dreamsorcerer Dreamsorcerer changed the title [bot] Fix the app's cleanup being cancelled when stopping with Ctrl+C Fix the app's cleanup being cancelled when stopping with Ctrl+C Nov 22, 2026
@Dreamsorcerer
Dreamsorcerer marked this pull request as ready for review November 22, 2026 02:26
@greptile-apps

greptile-apps Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5 Tier: apex

[Medium impact] The change reaches the app-process shutdown path for development servers.

Protect cleanup after interrupted startup before merging.

Reviews (1) · Last reviewed commit: "Update serve.py" · Reviewed by Greptile

Comment thread aiohttp_devtools/runserver/serve.py Resolved
@Dreamsorcerer
Dreamsorcerer merged commit 1e4251c into master Nov 22, 2026
25 checks passed
@Dreamsorcerer
Dreamsorcerer deleted the bot-ctrl-c-shutdown branch November 22, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant