Split macos-13 into a separate Build Legacy Wheels workflow#5
Merged
Conversation
Agent-Logs-Url: https://github.com/olinickalls/PyFaceWipe/sessions/23509556-f1da-4a5e-a6a3-5a626c690a10 Co-authored-by: olinickalls <47024733+olinickalls@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Split macos-13 build into separate GitHub Actions workflow
Split macos-13 into a separate Build Legacy Wheels workflow
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
macos-13GitHub-hosted runners are intermittently unavailable ("runner not found"), causing the mainBuild Wheelsworkflow to fail unpredictably. Splitting it into an independent workflow isolates that flakiness.Changes
.github/workflows/build-wheels.yml— removemacos-13from the OS matrix (nowubuntu-latest,windows-latest,macos-14only); add comment referencing the legacy workflow.github/workflows/build-legacy-wheels.yml(new) — standaloneBuild Legacy Wheels (macos-13)workflow with:pull_request,workflow_dispatchgh release download v0.1.1→cibuildwheel@v2.22.0→ verify weights → upload artifactwheels-${{ runner.os }}-legacy-macos-13(avoids collision with main workflow'swheels-${{ runner.os }})permissions: contents: readat workflow level (least-privilege, CodeQL flagged its absence)Original prompt
Create a PR in
olinickalls/PyFaceWipeto split themacos-13build out of the existing GitHub Actions workflow into a separate workflow, becausemacos-13runner allocation is intermittently unavailable ("runner not found").Repo currently has
.github/workflows/build-wheels.ymlwith matrixos: [ubuntu-latest, windows-latest, macos-13, macos-14].Requirements:
.github/workflows/build-wheels.ymlto removemacos-13from the matrix so the main workflow remains stable..github/workflows/build-legacy-wheels.ymlnamed Build Legacy Wheels (or similar) that runs the same steps as the wheel build for macos-13 only.pull_request,workflow_dispatch).wheels-${{ runner.os }}-legacy-macos-13.build_sdistjob in the main workflow unchanged.gh release download, build withpypa/cibuildwheel@v2.22.0, verify wheels include model weights, upload artifact) functionally equivalent.Acceptance criteria:
Build Wheelsworkflow no longer attemptsmacos-13.Build Legacy Wheels (macos-13)workflow exists and builds macos-13 wheels independently.The following is the prior conversation context from the user's chat exploration (may be truncated):
User: My 'Build Wheels' flow is OK, but building for macos13 usually fails as a runner is not found.
Please split this off into a separate 'Build Legacy Wheels' workflow
Assistant: I’m waiting for your confirmation in the GitHub dialog to proceed with creating the separate “Build Legacy Wheels” workflow and updating “Build Wheels” to remove
macos-13.User: @copilot Accepted Confirmation: Are you sure?
Assistant: You’ll need to make this change in the repo (I don’t have permission to update
.github/workflows/build-wheels.ymlinolinickalls/PyFaceWipefrom here).What to do
.github/workflows/build-wheels.ymland removemacos-13from the matrix..github/workflows/build-legacy-wheels.ymlthat runs the same steps but only onmacos-13.Here are the exact files.