Skip to content

fix: treat only a refused shutdown request as the app being absent - #1160

Merged
rowkav09 merged 1 commit into
mainfrom
fix/1123-windows-shutdown
Oct 9, 2026
Merged

rowkav09 merged 1 commit into
mainfrom
fix/1123-windows-shutdown

Conversation

@rowkav09

@rowkav09 rowkav09 commented Oct 9, 2026

Copy link
Copy Markdown
Member

Fixes #1123. Only connection-refused counts as absent; resets and broken replies from a live app are reported as unavailable. The new test fails without the change. Fixture-only: no native Windows run.

The initial shutdown POST mapped every failure except a timeout to
"not-running", so a reset or a broken reply from a live app let setup
continue as if nothing were running. Only connection-refused proves
absence, the same rule the wait loop already follows; anything else is
"unavailable".

Fixes #1123
@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@rowkav09
rowkav09 merged commit 23a8eb5 into main Oct 9, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Windows shutdown treats any initial failure as listener absence, not just connection refused

1 participant