Test-only job reverts unrelated changes in non-rebased MRs

Created on 19 December 2023, about 1 year ago
Updated 8 February 2024, 11 months ago

Problem/Motivation

In 🐛 Test-only job shouldn't require constant rebases to detect which files were changed. Active we tried to fix a test-only job to not require constant rebases. It seems like it is working for most use-cases, but there are some where it is not:

Here #3277003-23: Harden user_pass_rehash() against attack we triggered test-only pipeline on non-rebased MR, but it still reverted other unrelated changes, see: https://git.drupalcode.org/project/drupal/-/jobs/506479

Steps to reproduce

See MR: https://git.drupalcode.org/project/drupal/-/merge_requests/5823
and job: https://git.drupalcode.org/project/drupal/-/jobs/506479

Proposed resolution

Update the git diff logic to cover also this use-case.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
PHPUnit 

Last updated about 19 hours ago

Created by

🇸🇰Slovakia poker10

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

Comments & Activities

Production build 0.71.5 2024