Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Android
Body
On the GitHub Android mobile app, selecting Update branch (Rebase) in
the Update branch options sheet and confirming the action produces a
merge commit on the PR branch — identical to what plain Update
branch (merge) does. No rebase or force-push occurs.
The same action performed from the web UI on the same PR works
correctly (rebases the head commit onto
mainand force-pushes).Repro repo (public, minimal)
The PR is deliberately the simplest possible case for an Update branch
(Rebase) action:
feature/examplehas one commit (addsfeature-B.md)mainis exactly one commit ahead (addsfeature-A.md, untouchedby the feature branch)
allow_rebase_merge=true,allow_update_branch=true,allow_merge_commit=true,allow_squash_merge=trueRepro steps
Expected
A single new commit on
feature/examplewhose parent is the currentmaintip. AHeadRefForcePushedEventrecorded on the PR timeline(since rebase rewrites history).
Observed
A merge commit with two parents and message
Merge branch 'main' into feature/exampleis added on top of theexisting head. No
HeadRefForcePushedEventis recorded — confirmingthat no rebase + force-push pipeline ran.
Evidence from this PR (left in the broken post-action state)
feature/examplehead106e378e5e9534ca6a66cc286c7ee99410a936f6(single commit, parent =87d27a56)maintipad47f80f11ad4d7c5eea06222e18570a189bcb09df0bd7777b903c9d19333cff31444217c2147dae[106e378e…, ad47f80f…](two parents — merge commit)Merge branch 'main' into feature/exampleCross-check via API:
shows the merge-commit head and an empty
timelineItemslist.Web UI comparison (works correctly)
Performing Update with rebase from the web UI on a separate PR
(same repo settings, same shape of one-commit-ahead/one-behind PR)
correctly replays the head commit onto
main, leaves a single commiton the branch, and emits a
HeadRefForcePushedEvent. So this isspecifically a mobile-path bug, not a per-repo configuration issue.
Environment
1.264.1 (933)(installed from Google Play Store)CP1A.260505.005, security patch 2026-05-05)ricog(PR author and actor of the action)Related
the rebase update option was originally absent on mobile and is
evidently being rolled out; this report describes the implementation
on Android once the option is exposed.
UI; not the same path as this report.
Additional notes
allow_update_branch=true; with it disabled, the mobileapp does not surface the Update branch widget at all on this PR
(regardless of the underlying
behind_by=1state). That may be arelated UX issue but is not the focus of this report.
state can be inspected directly. The PR #1 has reset instructions
for re-reproducing.
Beta Was this translation helpful? Give feedback.
All reactions