You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "HyukjinKwon (via GitHub)" <gi...@apache.org> on 2026/01/08 01:05:13 UTC
[PR] GH-48774: [CI] Only cancel in-progress builds for pull requests, not main branch [arrow]
HyukjinKwon opened a new pull request, #48775:
URL: https://github.com/apache/arrow/pull/48775
### Rationale for this change
Currently, workflows use `cancel-in-progress: true` unconditionally, which cancels builds even on the main branch when multiple commits are pushed in quick succession. This prevents proper validation of main branch commits and can cause incomplete CI runs for scheduled builds.
Here is one example:
<img width="892" height="453" alt="Screenshot 2026-01-08 at 10 04 53 AM" src="https://github.com/user-attachments/assets/cd475787-d1b0-43a0-8fa2-30e59726f489" />
### What changes are included in this PR?
Changed `cancel-in-progress` from `true` to `${{ github.event_name == 'pull_request' }}` in workflows.
Now only pull request builds are cancelled when new commits are pushed. Main branch pushes, scheduled runs, and manual runs will always complete.
### Are these changes tested?
Will be tested in CI.
### Are there any user-facing changes?
No, dev-only.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48774: [CI] Only cancel in-progress builds for pull requests, not main branch [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #48775:
URL: https://github.com/apache/arrow/pull/48775#issuecomment-3721478257
:warning: GitHub issue #48774 **has been automatically assigned in GitHub** to PR creator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48774: [CI] Only cancel in-progress builds for pull requests, not main branch [arrow]
Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon commented on PR #48775:
URL: https://github.com/apache/arrow/pull/48775#issuecomment-3721532716
Ohh ok it was my bad It is already covered by group!!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-48774: [CI] Only cancel in-progress builds for pull requests, not main branch [arrow]
Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon closed pull request #48775: GH-48774: [CI] Only cancel in-progress builds for pull requests, not main branch
URL: https://github.com/apache/arrow/pull/48775
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org