Skip to content

[Process Improvement] Feature branch support for more efficient development #15118

@jainankitk

Description

@jainankitk

Is your feature request related to a problem? Please describe

When multiple people are working on a feature, there can be dependency between multiple PRs and can slow down the development. Some of the options considered:

  1. Having common private fork and raise draft PRs against that. We tend to lose the comments/feedback when new PR created against the main repo. Also, difficult to get maintainer feedback on private fork PR.
  2. Keep merging the changes in private fork and raise big PR on main repo. BIG NO

Describe the solution you'd like

I believe something like below should address this:

  1. Allow creation of feature branch on main repo tracking the main branch. Developer can create github issue and one of the maintainers can evaluate and help with that. There can be few months expiration for each branch to prevent proliferation
  2. Developers can create the dependent PRs on main repo using feature branch as base branch.
  3. Once the dependent-on PR gets merged, base branch in above PR can be updated from feature branch to main branch
  4. Delete the feature branch once dependent PRs are merged

Related component

Other

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    OtherenhancementEnhancement or improvement to existing feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions