Skip to content

Update the pr builder to avoid redundant runs#4456

Merged
Malith-19 merged 1 commit into4.10.xfrom
Malith-19-patch-1
Jan 21, 2026
Merged

Update the pr builder to avoid redundant runs#4456
Malith-19 merged 1 commit into4.10.xfrom
Malith-19-patch-1

Conversation

@Malith-19
Copy link

@Malith-19 Malith-19 commented Jan 21, 2026

Purpose

  • $subject

Summary by CodeRabbit

  • Chores
    • Optimized GitHub Actions workflow to cancel redundant in-progress runs, improving CI/CD efficiency.

Note: This release contains only internal infrastructure improvements with no end-user impact.

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

@coderabbitai
Copy link

coderabbitai bot commented Jan 21, 2026

Walkthrough

A concurrency block is added to the PR builder GitHub Actions workflow to automatically cancel previous in-progress runs when a new workflow run is triggered for the same pull request, using the workflow name and PR reference as the grouping key.

Changes

Cohort / File(s) Change Summary
GitHub Actions Concurrency Configuration
\.github/workflows/pr-builder\.yml
Added concurrency block with group based on workflow name and PR number/ref, and cancel-in-progress enabled to cancel redundant workflow runs for the same PR

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A concurrency sprint, so swift and true,
Cancels old runs when the new ones brew,
PR pipelines dancing, one step ahead,
Wasting no cycles on work that's dead! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is largely incomplete, containing only a placeholder Purpose section with '$subject' instead of actual content and missing all other required sections from the template. Complete the description by filling in the Purpose section with actual details about why the concurrency block was needed, and include relevant sections like Goals, Approach, and others as applicable from the repository template.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding a concurrency block to the PR builder workflow to prevent redundant runs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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


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.

@Malith-19
Copy link
Author

@coderabbitai review

@Malith-19 Malith-19 requested a review from Copilot January 21, 2026 07:57
@coderabbitai
Copy link

coderabbitai bot commented Jan 21, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds concurrency control to the PR builder workflow to prevent redundant workflow runs. When multiple commits are pushed to the same pull request in quick succession, only the latest workflow run will continue while earlier runs are automatically cancelled.

Changes:

  • Added concurrency configuration to cancel in-progress workflow runs for the same PR

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Malith-19 Malith-19 merged commit 61eeefe into 4.10.x Jan 21, 2026
9 checks passed
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.

3 participants