Skip to content

Let Windows CI accept its signal and bind errors - #21

Merged
Baker merged 1 commit into
mainfrom
fix/windows-ci
Nov 7, 2026
Merged

Baker merged 1 commit into
mainfrom
fix/windows-ci

Conversation

@Baker

@Baker Baker commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Summary

Main failed after the slim-runner merge because the push matrix runs Windows, and the pull request checks do not. Two tests assume Unix behavior.

  • TestApp_Run_WithSignalHandling and TestApp_Run_GoRoutinesCoverage send SIGTERM and SIGINT to a child process. Windows returns signal: not supported. Those tests skip on Windows. The shutdown path is still covered on Linux and macOS.
  • TestSMTPServer_Start_PlainBindFailureReturns expected address already in use. Windows reports Only one usage of each socket address. The test now accepts both, and still checks that the TLS port is released.

Test plan

  • go test ./internal/app -run 'TestApp_Run_WithSignalHandling|TestApp_Run_GoRoutinesCoverage'
  • go test ./internal/smtp -run TestSMTPServer_Start_PlainBindFailureReturns
  • Windows stable and oldstable jobs on this pull request pass

Made with Cursor

Windows cannot deliver SIGINT or SIGTERM to a child, and a taken port is reported as a socket already in use rather than the Unix wording.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Baker Baker added the release-run Run the full OS and Go matrix label Nov 7, 2026
@Baker
Baker merged commit e576edd into main Nov 7, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-run Run the full OS and Go matrix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant