MS-1288 Change tracking PR-checks#1531
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements smart change tracking for the CI/CD pipeline to optimize test execution by only running tests for modules that have changed. The workflow now detects which module groups have been modified and conditionally executes corresponding test suites.
Changes:
- Added change detection using path filters to identify modified module groups
- Refactored test execution to batch all Gradle tasks and run them in a single command
- Added conditional execution logic to skip test jobs when their modules haven't changed
- Configured concurrency control to cancel in-progress runs when new commits are pushed
Reviewed changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated 11 comments.
| File | Description |
|---|---|
.github/workflows/pr-checks.yml |
Added changes detection job with path filters for different module groups, conditional execution for all test jobs, concurrency control, and updated Sonar scan trigger conditions |
.github/workflows/reusable-run-unit-tests.yml |
Refactored test execution to build a single Gradle command string from all modules instead of running tests in a loop |
Comments suppressed due to low confidence (1)
.github/workflows/pr-checks.yml:16
- There's a grammatical error in the comment: 'Ensures that Sonar check are run' should be 'Ensures that Sonar checks are run'.
# Ensures that Sonar check are run once PR is ready
- ready_for_review
4511b8a to
f0a11fc
Compare
8f2309a to
5db4741
Compare
b6378aa to
f9fa76b
Compare
5db4741 to
c140d48
Compare
f9fa76b to
d786432
Compare
alexandr-simprints
approved these changes
Jan 14, 2026
Base automatically changed from
feature/MS-1288-pr-check-optimisation
to
main
January 14, 2026 11:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA ticket
Notable changes
Additional work checklist