Files
wekan/.github/workflows
copilot-swe-agent[bot]andxet7 f0ecb14341 ci: stop MongoDB service before Windows EXE smoke test to free ports 27017/8088
The GitHub Actions windows-latest runner ships MongoDB Server 7.0 as a
running Windows service. The bundled FerretDB inside the packaged WeKan EXE
tries to bind to 127.0.0.1:27017 and 127.0.0.1:8088 (debug handler). When
those ports are already occupied, FerretDB exits immediately, WeKan restarts
in a tight loop, and the smoke test times out with:

  The packaged EXE did not answer on port 8080.

Failing run: https://github.com/wekan/wekan/actions/runs/33253053694

Fix: add a "Free ports used by the packaged EXE before smoke test" step in
.github/workflows/windows.yml that stops the MongoDB (and mongod) Windows
service and kills any remaining process on ports 27017 and 8088 before the
smoke EXE is launched. This is CI-only and has no effect on end-user behavior.

Thanks to xet7 !

Co-authored-by: xet7 <15545+xet7@users.noreply.github.com>
2026-08-29 13:09:13 +00:00
..
2026-06-20 20:32:10 +00:00