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
[Bug]: Mobile branch picker accepts a stale current branch without checking out #37120
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
In a disposable Git repository, create feature/a and check it out.
Open a new task in the mobile app using Current checkout. Open the branch picker while feature/a is marked CURRENT.
In a separate terminal, check out main in that repository while leaving the picker open.
Tap the cached feature/a row.
Check git branch --show-current in the repository.
Expected behavior
The selection rechecks Git and checks out feature/a before saving it as the new task branch.
Actual behavior
The picker accepts the selection and the draft says feature/a, but Git remains on main. The mobile helper returns Success without a fresh read because the cached row still has current: true.
Impact
Minor bug or occasional failure
Version or commit
pingdotgg/main at e101cae. The affected helper is unchanged on 50a2f5b.
Environment
Mobile branch picker, local/current-checkout mode. Public helper reproduced against real disposable Git repositories. Fresh independent Claude Opus 5.5 verifier confirmed on the same main commit.
Logs or stack traces
The helper returned Success, but the Git assertion failed: expected feature/a, received main. The same fixture with current=false succeeds.
Workaround
Refresh or reopen the branch list after an external checkout before selecting the branch.
Found by the Composer Improvements and Fixes hunt (GPT 6.1 Sol), independently confirmed by Claude Opus 5.5. No downstream agent execution claim.
Activity