Recognize Azure DevOps remotes when resuming Copilot sessions after worktree moves
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 56/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- git, powershell
- Domain
- cli, devtools, documentation, testing-qa
Research direction
Start by tracing the existing repository-and-branch resume behavior from #326 through Get-CopilotSession, Get-CopilotLaunchPlan, -ResumeLatest, -ResumeSession completion, and -ChangeDir. Add deterministic synthetic-metadata and temporary-worktree tests for the listed Azure DevOps remote forms, matching and fallback cases, then verify help, README, and changelog coverage without launching the real CLI or modifying real sessions.
Written by the indexing model from the issue text.
Description
Problem
The repository-and-branch resume behavior from #326 recognizes GitHub origin URLs, but an Azure DevOps worktree still falls back to its recorded cwd. After moving that worktree, automatic resume, the scoped session listing, and -ResumeSession completion cannot find its previous session, even when workspace.yaml records the same repository and branch.
Requested behavior
Recognize unambiguous Azure DevOps Git origins and derive the repository identity in the same organization/project/repository form as the session metadata. Apply the existing repository-plus-branch scope to moved ADO worktrees without changing the host-native picker or requiring session-file edits.
Acceptance criteria
- Accept supported
dev.azure.comHTTPS andssh.dev.azure.comSSH remote forms, plus legacy{organization}.visualstudio.comHTTPS forms. Normalize optional.git, URL-encoded project/repository segments, and applicableDefaultCollectionprefixes; do not infer identity from the local directory name. - Preserve the existing requirement for a single unambiguous
origin, both known identity fields for cross-directory matching, exact branch matching, and same-directory fallback only for incomplete legacy metadata without conflicts. Unknown, malformed, or ambiguous remotes must not widen the scope. - Cover default
Get-CopilotSession,Get-CopilotLaunchPlanautomatic resume/selector and-ResumeLatest,-ResumeSessioncompletion, and-ChangeDirfor moved ADO worktrees. Keep explicit IDs,-All, and explicit-Cwdsemantics unchanged. - Add deterministic tests using synthetic session metadata and temporary Git worktrees: HTTPS/SSH identity equivalence, encoded project names, optional
.gitandDefaultCollection, moved paths, wrong repo or branch, ambiguous origins, and legacy same-path fallback. Do not launch the real Copilot CLI or modify real sessions. - Update command help, README, and changelog to describe which remote formats are recognized.
- Dominant language
- PowerShell
- Stars
- 0
- Forks
- 0
- Avg merge
- 2h 24m
- Merged PRs (30d)
- 18
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shmuelie/powershell-modules
-
blocked enhancement module:windows theme:native-interop
Difficulty 4/5 3-5 days Newbie friendliness 45/100
shmuelie/powershell-modules#240 · 1 comment ·
Maintainers usually reply within 1 day
-
blocked enhancement module:windows theme:native-interop
Difficulty 5/5 Over a week Newbie friendliness 35/100
shmuelie/powershell-modules#241 ·
Maintainers usually reply within 1 day
-
blocked enhancement module:windows theme:native-interop
Difficulty 5/5 Over a week Newbie friendliness 25/100
shmuelie/powershell-modules#242 ·
Maintainers usually reply within 1 day
-
blocked enhancement module:windows theme:native-interop
Difficulty 4/5 3-5 days Newbie friendliness 35/100
shmuelie/powershell-modules#243 ·
Maintainers usually reply within 1 day
-
blocked enhancement module:windows theme:native-interop
Difficulty 5/5 Over a week Newbie friendliness 32/100
shmuelie/powershell-modules#244 · 2 comments ·
Maintainers usually reply within 1 day
All issues in shmuelie/powershell-modules
Similar issues
-
command: start distro: Debian engine: null game: Teamspeak 3 reproducible: always severity: low type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GameServerManagers/LinuxGSM#5193 ·
Maintainers usually reply within 1 day
-
area/docs area/stack good first issue help wanted kind/docs priority/p2 triage/accepted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
[BUG] mo clean deletes Cypress test runner binaries in ~/Library/Caches/CypressPossibly taken @viniciusdsandrade claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
b-ber/tasks bug
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
triplecanopy/b-ber#736 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
streamlink/streamlink#7192 · 4 comments ·
Maintainers usually reply within 1 day