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

@slachiewicz slachiewicz commented Oct 2, 2026 •

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, each push in a concurrency group of its own. 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 beyond the shellcheck notes master already has.

  • 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

@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 thread .github/workflows/build.yml Outdated
Copilot AI balanced review requested due to automatic review settings October 11, 2026 14:06

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.

🟢 Approval recommended

The workflow expressions correctly implement the documented CI reduction without affecting the full upstream push matrix.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 14, 2026 07:52

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 was unable to review this pull request because the user who requested the review has reached their quota limit.

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. A new push to a pull
request cancels its older run. Each branch push gets a concurrency group
of its own: in a shared group, a newer queued run would replace a pending
one, and a master commit would lose its run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 17, 2026 12:26

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 was unable to review this pull request because the user who requested the review has reached their quota limit.

@Jens-G

Jens-G commented Oct 18, 2026

Copy link
Copy Markdown
Member

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

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.

3 participants