Skip to content

Detect and report when codeflowing non-child commits #4973

@premun

Description

@premun

Context

It can happen that when branching preview branches, a repo might branch before the VMR does.

This can lead to a bad situation where the VMR preview branch contains commits from main that should not be part of it. On an example, the following two commits which had no relation in the original repo (could be conflicting):

Image

but they are parent/child in the VMR.

Instead we want the VMR to branch before and have this situation:

Image

Goal

We should be able to detect that this is happening by determining if the currently synced commit is a child commit of the previously synced one (on the VMR side).

We also need a mechanism to bring this to attention somehow (TBD).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions