Repository navigation
Closed
Labels
vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
Description
Before submitting
- 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
- On an Android phone emulator, open a thread on a checked-out branch that is one commit behind its upstream.
- Open Git controls in the thread header.
- Tap Pull.
- Once the pull starts, return to the thread list.
- Open an idle thread in a different Git project before the pull result disappears. If the pull finishes quickly, switch while its success banner is still visible.
- Look at the banner above the second thread's chat.
Expected behavior
The second thread shows its own Git activity.
Actual behavior
The second thread shows “Pulled latest on” with the branch name from the first project.
Impact
Minor bug or occasional failure. Anyone switching projects during a Git action or within five seconds of its completion can see the result in the wrong chat.
Version or commit
main at 6972026121. The cause is at apps/mobile/src/state/use-vcs-action-state.ts:156.
Environment
Pixel_9_API_37, Android 17.0, Android Emulator on Linux x64.
Logs or stack traces
Commands that reproduce it on the device
"$agent_device" "${agent_target[@]}" record start --scope device "$PWD/captures/git-result-across-projects.mp4"
"$agent_device" "${agent_target[@]}" press @e10
"$agent_device" "${agent_target[@]}" wait 'label="Git controls"' 4000
"$agent_device" "${agent_target[@]}" press 'label="Git controls"'
"$agent_device" "${agent_target[@]}" wait 'label="Pull"' 4000
"$agent_device" "${agent_target[@]}" screenshot "$PWD/captures/orchard-before-pull.png" --no-stabilize
"$agent_device" "${agent_target[@]}" press 'label="Pull"'
"$agent_device" "${agent_target[@]}" wait 'label="Navigate up"' 3000
"$agent_device" "${agent_target[@]}" press 'label="Navigate up"'
"$agent_device" "${agent_target[@]}" wait text "Harbor checklist" 3000
"$agent_device" "${agent_target[@]}" press 'text="Harbor checklist"'
"$agent_device" "${agent_target[@]}" wait 'label="Git controls"' 3000
"$agent_device" "${agent_target[@]}" screenshot "$PWD/captures/harbor-after-pull.png" --no-stabilize
"$agent_device" "${agent_target[@]}" snapshot
"$agent_device" "${agent_target[@]}" record stopWorkaround
No response
Metadata
Metadata
Assignees
Labels
vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.


Activity