go-judge/cmd
criyle bf22d6f479
Some checks are pending
Build / Goreleaser (push) Waiting to run
Build / Upload artifacts-${{ matrix.os }}-${{ matrix.arch }} (amd64_v3, darwin) (push) Blocked by required conditions
Build / Upload artifacts-${{ matrix.os }}-${{ matrix.arch }} (amd64_v3, linux) (push) Blocked by required conditions
Build / Upload artifacts-${{ matrix.os }}-${{ matrix.arch }} (amd64_v3, windows) (push) Blocked by required conditions
Build / Upload artifacts-${{ matrix.os }}-${{ matrix.arch }} (arm64_v8.0, darwin) (push) Blocked by required conditions
Build / Upload artifacts-${{ matrix.os }}-${{ matrix.arch }} (arm64_v8.0, linux) (push) Blocked by required conditions
Build / Upload artifacts-${{ matrix.os }}-${{ matrix.arch }} (arm64_v8.0, windows) (push) Blocked by required conditions
feat(main): ignoring SIGTERM when managed by PM2
- there is a race condition during shutting down when go-judge receives SIGTERM from systemd and PM2 dumps a STOPPED status, resulting go-judge not auto-restart after a reboot
- PM2 uses SIGINT for stop signal so that we can distinguish different stop signal sent by different process manager
- So when detected that we are manged by PM2, we ignore the SIGTERM signal from the systemd and wait for PM2's SIGINT to avoid race condition

Unitech/pm2#6036
2025-10-28 16:27:13 +00:00
..
go-judge feat(main): ignoring SIGTERM when managed by PM2 2025-10-28 16:27:13 +00:00
go-judge-ffi refactor(ffi): remove unused code 2025-08-05 21:56:13 -04:00
go-judge-grpc-proxy chore(pb): migrate step 1 with hybrid API 2025-08-14 03:06:33 +00:00
go-judge-init *: rename executorserver to go-judge 2023-11-10 01:20:28 +00:00
go-judge-shell chore(pb): migrate step 1 with hybrid API 2025-08-14 03:06:33 +00:00