Test-only job shouldn't require constant rebases to detect which files were changed.

Created on 15 November 2023, about 1 year ago
Updated 27 November 2023, about 1 year ago

Problem/Motivation

Currently, the test-only job relies on a rebased MR to detect the changes and then do the rest of the logic. If the MR is not rebased, it will pick up other files not changed at all in the current MR.

Steps to reproduce

Create an MR against 11.x, wait until the next commit in 11.x, then run the "Test-only" job, you'll see that the list of files changed shown in the job contains more files than the ones that were changed in the MR.

Proposed resolution

Use a different "git diff" logic to detect the exact changes of the MR.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.2

Component
PHPUnit 

Last updated about 19 hours ago

Created by

🇪🇸Spain fjgarlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024