Skip to content

chore: added concurrency on develop action#6921

Merged
Rohit3523 merged 1 commit intodevelopfrom
develop-concurrency
Jan 16, 2026
Merged

chore: added concurrency on develop action#6921
Rohit3523 merged 1 commit intodevelopfrom
develop-concurrency

Conversation

@Rohit3523
Copy link
Contributor

@Rohit3523 Rohit3523 commented Jan 16, 2026

Proposed changes

Currently, our CI runs for every PR merged into the develop branch. When multiple PRs are merged within a short period, all workflows run simultaneously, which can result in multiple beta releases on the Play Store and App Store. To prevent this, it would be better to cancel any previous runs and allow only the latest workflow to proceed.

Issue(s)

https://rocketchat.atlassian.net/browse/CORE-1719

How to test or reproduce

Screenshots

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

Summary by CodeRabbit

  • Chores
    • Optimized CI/CD workflow configuration to prevent concurrent execution conflicts.

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 16, 2026

Walkthrough

A concurrency block was added to the GitHub Actions workflow configuration to automatically cancel in-progress runs when a new run is triggered for the same workflow and git reference, preventing overlapping executions.

Changes

Cohort / File(s) Summary
GitHub Actions Configuration
\.github/workflows/build-develop\.yml
Added concurrency settings with grouping by workflow and ref, enabled cancellation of in-progress runs to prevent execution overlap

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A workflow runs without delay,
Old tasks swept out of the way—
Concurrency keeps things neat,
No races, no messy repeat,
Progress flows clean, hip hooray! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore: added concurrency on develop action' accurately describes the main change: adding a concurrency block to the GitHub Actions workflow file to prevent overlapping executions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

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

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop-concurrency

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.

@Rohit3523 Rohit3523 had a problem deploying to experimental_android_build January 16, 2026 08:37 — with GitHub Actions Failure
@Rohit3523 Rohit3523 had a problem deploying to experimental_ios_build January 16, 2026 08:37 — with GitHub Actions Failure
@Rohit3523 Rohit3523 had a problem deploying to official_android_build January 16, 2026 08:37 — with GitHub Actions Failure
@Rohit3523 Rohit3523 merged commit ad2f552 into develop Jan 16, 2026
5 of 10 checks passed
@Rohit3523 Rohit3523 deleted the develop-concurrency branch January 16, 2026 12:59
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