Skip to content

A request applied, then its branch gone, has no way out of sync_failed #290

Open

Description

@ephico2real2

Part of #286. From the review of PR #288 (not proven by a test; reasoned from the code at b660758).

A request in apply mode whose apply started, and whose branch was then moved or deleted (for example by a host's "delete branch on merge", or by a person), stays in sync_failed. :retry is refused, and :revert is refused with no merge sha (routers/requests.py:223).

This is the open point of arbitration row 15 (the owner's decision): :revert before a merge. Fable proposed a restore_apply job that applies plan.prev, confirms by a read and then moves REVERT.

How to prove it: a test that reaches sync_failed after apply_started, deletes the branch, and shows the way out the owner chooses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backlogenhancementstatus:open

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions