mirror of
https://github.com/apple/swift-nio
synced 2026-11-22 04:30:41 +00:00
Add a configurable job timeout to `swift_test_matrix.yml`. ### Motivation: Matrix jobs have no timeout, so a stalled nightly toolchain build runs until the 6-hour limit. From Sep 27 to Oct 10, apple/swift-nio-quic had 139 such jobs (about 50,000 runner minutes), all on Linux nightly-main legs. ### Modifications: Add a `timeout_minutes` input (default 120) and use it as the `execute-matrix` job timeout. ### Result: Stalled jobs are cancelled after 2 hours instead of 6. The longest successful matrix job I found was 81 minutes (grpc-swift-2 Examples), so current callers fit, and they can raise the limit if needed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>