.qwen/e2e-tests/2026-08-28-webshell-branch-picker-action-hints.md
Open a trusted git workspace in the Web Shell (qwen serve + the sidebar).
Click the branch chip on the workspace folder header (or the composer chip /
Environment panel row) to open the branch picker. Exercise the repo through
these states between opens:
origin/main, in sync, clean tree.git reset --hard HEAD~3 (behind 3, clean).git checkout -b feat/no-upstream with one local commit (no upstream).git rebase and leave it in progress.git checkout --detach.git merge on a branch with one commit ahead.-u, delete it on the remote, git fetch --prune.git branch --unset-upstream in a terminal and
refocus the window: once the chip's status updates, Update Project flips to
disabled "No upstream" without reopening.Unit coverage lives in
packages/web-shell/client/components/BranchPickerPopover.test.tsx
(deriveActionHints decision table + rendered disabled/tone assertions) and the
open-time status refresh in
packages/web-shell/client/components/sidebar/WorkspaceSection.test.tsx.
cd packages/web-shell && npx vitest run \
client/components/BranchPickerPopover.test.tsx \
client/components/sidebar/WorkspaceSection.test.tsx \
client/components/panels/EnvironmentPanel.test.tsx