mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
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>