opensearch-project/OpenSearch

[Feature Request] Show backport conflicts pre-merge on PRs

Open

#12.097 aberto em 30 de jan. de 2024

Ver no GitHub
 (4 comments) (2 reactions) (0 assignees)Java (1.505 forks)batch import
Buildenhancementgood first issue

Métricas do repositório

Stars
 (8.123 stars)
Métricas de merge de PR
 (Mesclagem média 5d 9h) (266 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe

The backport automation, when it works, greatly reduces the manual effort to maintain other branches. However, sometimes it fails but we don't get any indication that it will fail until after the PR on main is committed. I think it would be nice to know ahead of time if my PR will generate a conflict on backport, and to know which files will conflict. This gives me an opportunity to fix it ahead of time if possible. (The usual avoidable conflicts are due to an incorrect CHANGELOG entry, but this still strikes me as being potentially useful even if we improve the CHANGELOG process to avoid contention on a single file)

Describe the solution you'd like

If I add a backport 2.x label to my PR, then a GitHub action is run that tells me either one of the following:

  • My commit will cleanly backport to the 2.x branch
  • My commit will not cleanly backport, and which files have conflicts that must be manually resolved

Related component

Build

Guia do colaborador