Skip to content

Conversation

@Czaki
Copy link
Collaborator

@Czaki Czaki commented Jan 12, 2026

Summary by Sourcery

CI:

  • Adjust the GitHub Actions make-release workflow matrix to target macos-15-intel and macos-15 runners.

Summary by CodeRabbit

  • Chores
    • Updated build infrastructure to use newer macOS runner versions for improved compatibility and reliability.

✏️ Tip: You can customize this high-level summary in your review settings.

@Czaki Czaki added this to the 0.16.5 milestone Jan 12, 2026
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jan 12, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the OS matrix in the make_release GitHub Actions workflow to run separate jobs on macOS 15 Intel and generic macOS 15 runners instead of macOS 13 and 14.

File-Level Changes

Change Details Files
Adjust CI OS matrix for the make_release workflow to target updated macOS runners.
  • Replace macOS 13 and macOS 14 entries in the matrix with macOS 15 Intel-specific and generic macOS 15 runners
  • Keep existing ubuntu-22.04 and windows-2022 runners unchanged
  • Ensure the job continues to use the matrix.os value for runs-on
.github/workflows/make_release.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 12, 2026

📝 Walkthrough

Walkthrough

GitHub Actions workflow configuration updated to replace macOS runners macos-13 and macos-14 with macos-15-intel and macos-15 in the build matrix for PyInstaller bundle creation.

Changes

Cohort / File(s) Summary
CI/CD Workflow Updates
.github/workflows/make_release.yml
Updated macOS build matrix: replaced macos-13 and macos-14 runners with macos-15-intel and macos-15 in the build_pyinstaller_bundle job

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • PR #1310: Updates GitHub Actions workflow matrix to replace macos-13/14 with macos-15-intel and macos-15 (identical runner version updates applied to a different workflow file)

Poem

🐰✨ The runners hop to newer ground,
macOS-15 will make them bound,
With intel's speed and ARM's grace,
We'll build with smiles on our face! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately describes the main change: updating CI/CD workflow runners from older macOS versions to newer ones in the make-release workflow.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@sonarqubecloud
Copy link

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/make_release.yml (1)

31-53: compile numpy on macos-14 step is now unreachable (matrix no longer includes macos-14).
If you still need the numpy source-build workaround, retarget it to the appropriate new macOS runner(s); otherwise remove the step to avoid misleading CI configuration.

Proposed fix (retarget to intel runner; adjust if you meant arm runner too)
-      - name: compile numpy on macos-14
-        if: ${{ matrix.os == 'macos-14' }}
+      - name: compile numpy (source) on macos-15-intel
+        if: ${{ matrix.os == 'macos-15-intel' }}
         run: |
           python -m pip install --no-binary numpy numpy --force-reinstall --constraint requirements/constraints_py3.12.txt
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ddf01d9 and 4316afd.

📒 Files selected for processing (1)
  • .github/workflows/make_release.yml
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: Czaki
Repo: 4DNucleome/PartSeg PR: 1261
File: .github/workflows/test_napari_widgets.yml:48-48
Timestamp: 2025-05-04T12:34:58.306Z
Learning: GitHub Actions supports ubuntu-24.04 as a runner option since May 2024 (beta) and July 2024 (GA). It can be used in workflows by specifying `ubuntu-24.04` in the `runs-on` parameter. As of May 2025, `ubuntu-latest` also points to Ubuntu 24.04.
Learnt from: Czaki
Repo: 4DNucleome/PartSeg PR: 1261
File: .github/workflows/test_napari_widgets.yml:48-48
Timestamp: 2025-05-04T12:34:58.306Z
Learning: GitHub Actions supports ubuntu-24.04 as a runner option as of April 2024 when Ubuntu 24.04 LTS (Noble Numbat) was released. This is in addition to other supported Ubuntu versions like ubuntu-22.04 and ubuntu-latest.
📚 Learning: 2025-05-04T12:34:58.306Z
Learnt from: Czaki
Repo: 4DNucleome/PartSeg PR: 1261
File: .github/workflows/test_napari_widgets.yml:48-48
Timestamp: 2025-05-04T12:34:58.306Z
Learning: GitHub Actions supports ubuntu-24.04 as a runner option since May 2024 (beta) and July 2024 (GA). It can be used in workflows by specifying `ubuntu-24.04` in the `runs-on` parameter. As of May 2025, `ubuntu-latest` also points to Ubuntu 24.04.

Applied to files:

  • .github/workflows/make_release.yml
📚 Learning: 2025-05-04T12:34:58.306Z
Learnt from: Czaki
Repo: 4DNucleome/PartSeg PR: 1261
File: .github/workflows/test_napari_widgets.yml:48-48
Timestamp: 2025-05-04T12:34:58.306Z
Learning: GitHub Actions supports ubuntu-24.04 as a runner option as of April 2024 when Ubuntu 24.04 LTS (Noble Numbat) was released. This is in addition to other supported Ubuntu versions like ubuntu-22.04 and ubuntu-latest.

Applied to files:

  • .github/workflows/make_release.yml
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (15)
  • GitHub Check: Prepare coverage
  • GitHub Check: 4DNucleome.PartSeg (Tests_other test windows)
  • GitHub Check: 4DNucleome.PartSeg (Tests_linux test_linux)
  • GitHub Check: 4DNucleome.PartSeg (Tests_other test macos)
  • GitHub Check: 4DNucleome.PartSeg (Builds pyinstaller windows)
  • GitHub Check: 4DNucleome.PartSeg (Builds sdist)
  • GitHub Check: 4DNucleome.PartSeg (Builds pyinstaller_linux)
  • GitHub Check: 4DNucleome.PartSeg (Builds pyinstaller macos)
  • GitHub Check: 4DNucleome.PartSeg (manifest_check manifest_check)
  • GitHub Check: 4DNucleome.PartSeg (GetTestData linux)
  • GitHub Check: 4DNucleome.PartSeg (Documentation_check help)
  • GitHub Check: 4DNucleome.PartSeg (Documentation_check Notebook_check)
  • GitHub Check: 4DNucleome.PartSeg (formatting_check check_formating)
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: Sourcery review
🔇 Additional comments (1)
.github/workflows/make_release.yml (1)

28-33: Ensure PyInstaller build targets match the runner architectures.

The runner labels macos-15 (Apple Silicon / arm64) and macos-15-intel (Intel / x86_64) are supported GitHub Actions runner labels. Verify that your build process correctly targets both architectures via the matrix—in particular, that the PyInstaller artifacts produced on each runner match your intended distribution targets (arm64 builds from macos-15, x86_64 builds from macos-15-intel).

@Czaki Czaki changed the title Update runners in make-release workflow chore: Update runners in make-release workflow Jan 12, 2026
@Czaki Czaki merged commit a68f0a5 into develop Jan 12, 2026
65 of 68 checks passed
@Czaki Czaki deleted the fix_release_workflow branch January 12, 2026 11:44
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.

2 participants