Skip to content

Introduce new MergeTrains::FixStuckCarService

Kai Armstrong requested to merge alternative-stuck-merge-train-service into master

What does this MR do and why?

Introduce new MergeTrains::FixStuckCarService

Use a dedicated service to attempt to fix MergeRequests that get stuck while being merged by a MergeTrain.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Summary by CodeRabbit

  • New Features

    • Introduced feature flags for enhancing pipeline execution and addressing issues with stuck merge trains in development.
    • Added new methods to manage and refresh the state of merging cars in merge trains.
  • Bug Fixes

    • Improved handling of stuck merge train cars to ensure continuous processing.
  • Tests

    • Implemented comprehensive test cases for new functionalities related to stuck merge trains, ensuring robustness and reliability.
Edited by CodeRabbit

Merge request reports