fj pr merge: report the SPECIFIC non-mergeable reason for all cases (not a bare 405) #160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
fj pr mergereturns an undifferentiatedHTTP 405 Method Not Allowedfor EVERY reason a PR cannot be merged. During the 2026-06-15 incident drain this single opaque error masked at least four distinct causes and cost ~30min of misdiagnosis. fj#159 covers the merge-conflict case specifically; this is the umbrella ask to handle ALL cases.Cases that all currently return the same bare 405 (each should give a clear, distinct, actionable message)
--style merge/rebaserejected). -> 'merge style "merge" is not enabled for this repo; allowed: squash.'Ask
fj pr view/fj pr checks(a 'Mergeable: yes/no ()' line) so it is visible without attempting a merge.Evidence (2026-06-15, rasterstate/paragon)
#449 405 = merge conflicts (web UI revealed it; fj silent). Earlier 405s in the same session were block_on_outdated and (suspected) required-check-context mismatches - all indistinguishable. Related: fj#103 (run logs need browser), fj#158 (assignee-edit), fj#159 (conflict message).