You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A request applied, then its branch gone, has no way out of sync_failed #290
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.
Activity