Skip to content

CI: keep one macOS job and add a job timeout - #432

Closed
NeoZorK wants to merge 1 commit into
mainfrom
ci/trim-macos-matrix
Closed

NeoZorK wants to merge 1 commit into
mainfrom
ci/trim-macos-matrix

Conversation

@NeoZorK

@NeoZorK NeoZorK commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Run 45198715860 on main failed because three macOS jobs were never given a runner by GitHub ("job was not acquired by Runner of type hosted", macOS arm64 capacity constraints) and were cancelled after 15 minutes. All other 11 jobs passed, including macOS on Python 3.15.

  • Keep one macOS job (pytest-extra (macos-latest, python 3.12)) for APFS and fcntl behaviour.
  • Drop macOS Python 3.11 and 3.15 and the macOS core coverage job. The 100% core gate stays on Linux and Windows.
  • Add timeout-minutes: 25 to the pytest matrix so a missing runner cannot hold a run.

Required status checks are unchanged (the ubuntu and windows jobs); the macOS jobs were informational.

Verification

  • Workflow YAML parses; the pytest matrix has 9 entries and core-coverage runs on ubuntu and windows.
  • No raw payloads, secrets, credentials, sensitive local paths, or private tech references are included
  • Changes respect pre-registration / comparator boundaries outlined in README and contributing guidance

Context

Failed run: https://github.com/Protocolith/protocolith/actions/runs/45198715860

@NeoZorK
NeoZorK force-pushed the ci/trim-macos-matrix branch from 459f2a7 to 24b3181 Compare November 23, 2026 19:08
GitHub macOS arm64 runners are capacity-limited; three macOS jobs were never
acquired and the run was cancelled after 15 minutes. Keep pytest on macOS with
Python 3.12 for APFS and fcntl behaviour, drop the other macOS matrix entries
and the macOS core coverage job (the core gate stays on Linux and Windows), and
add timeout-minutes so a missing runner cannot hold the run.

Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
@NeoZorK
NeoZorK force-pushed the ci/trim-macos-matrix branch from d168b87 to 155c214 Compare November 23, 2026 19:21
@NeoZorK

NeoZorK commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded: main already carries this change (#426: one macOS Python version per pull request, the other macOS versions in the weekly job, job timeouts). After rebasing, this branch only duplicated a timeout key and made the workflow invalid, so closing it.

@NeoZorK NeoZorK closed this Nov 24, 2026
@NeoZorK
NeoZorK deleted the ci/trim-macos-matrix branch November 24, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant