Skip to content

THRIFT-6402: Build pull requests on one macOS image - #3998

Open
slachiewicz wants to merge 1 commit into
apache:masterfrom
slachiewicz:THRIFT-6402
Open

slachiewicz wants to merge 1 commit into
apache:masterfrom
slachiewicz:THRIFT-6402

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Pull requests and fork pushes now build on macos-15 with Python 3.10 and 3.14, which is 3 macOS jobs instead of 24. The full matrix still runs on every push to apache/thrift. A new push to a pull request also cancels that PR's older run. Committer branches pushed to apache/thrift still build twice (push and PR); this PR doesn't change triggers.

Verified: actionlint 1.7.12 → no findings.

  • Did you create an Apache Jira ticket? (Request account here, not required for trivial changes)
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Client: build

Pull requests and fork pushes run 3 macOS jobs instead of 24; the full
matrix still runs on every push to apache/thrift.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mergeable mergeable Bot added the github_actions Pull requests that update GitHub Actions code label Oct 2, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 2, 2026 16:55
Copilot AI balanced review requested due to automatic review settings October 2, 2026 16:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Shared push concurrency groups can cancel pending upstream builds during rapid pushes.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Reduces macOS CI load for pull requests and fork pushes while retaining full upstream coverage.

Changes:

  • Adds event-aware workflow concurrency.
  • Limits non-upstream macOS builds to macos-15.
  • Tests Python 3.10 and 3.14 on reduced macOS builds.
File Description
.github/​workflows/​build.yml Adjusts concurrency and macOS/Python matrices.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +11 to +13
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants