•  
      request #35133 User should be able to abandon broken pull-requests
    Infos
    #35133
    Thomas Gorka (tgorka)
    2023-12-01 16:16
    2023-11-20 09:39
    36742
    Details
    User should be able to abandon broken pull-requests

    Issue:

    The git reference associated to a pull-request can be broken for a few reasons.

    When it happens, it is not possible to access the pull-request anymore.

    The user gets X 410 Gone: The pull-request is not accessible anymore errors on the homepage view and the overview page.


    Proposition:

    We would like to:

    1. Stop being spammed with X error modals on the homepage, and have a way to flag the broken pull-requests instead.
    2. Access the broken pull-requests, and be able to abandon them.

    For the first point, the broken pull-requests will be identifiable with [Error] badges on the homepage view.

    In addition, a warning notification bubble will be displayed next to the number of open pull-requests in the repository, located in the tab label.

    For the second point, read actions (GET routes) will not throw a 410 error anymore in order to allow the user to access the pull-request.

    The PATCH pull_requests:id won't throw a 410 error ONLY if the PATCH action is made on the pull-request status with the abandon status.

    Pull Request
    All
    Empty
    • [x] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gorka (tgorka)
    Closed
    2023-12-01
    Attachments
    Empty
    References
    Referencing request #35133

    Follow-ups