{"id":51934535,"url":"https://github.com/pez/vscode-task-output-repro","last_synced_at":"2026-07-28T13:01:32.070Z","repository":{"id":347537280,"uuid":"1191052129","full_name":"PEZ/vscode-task-output-repro","owner":"PEZ","description":"Repro for vscode#304530: get_task_output subagent hang in multi-root workspace","archived":false,"fork":false,"pushed_at":"2026-03-24T21:52:43.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-23T08:18:40.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PEZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-24T21:52:40.000Z","updated_at":"2026-03-24T21:52:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/PEZ/vscode-task-output-repro","commit_stats":null,"previous_names":["pez/vscode-task-output-repro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PEZ/vscode-task-output-repro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fvscode-task-output-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fvscode-task-output-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fvscode-task-output-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fvscode-task-output-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PEZ","download_url":"https://codeload.github.com/PEZ/vscode-task-output-repro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fvscode-task-output-repro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35992001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-28T02:00:06.341Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-28T13:01:31.284Z","updated_at":"2026-07-28T13:01:32.060Z","avatar_url":"https://github.com/PEZ.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repro: `get_task_output` subagent hang\n\nReproduction project for [vscode#304530](https://github.com/microsoft/vscode/issues/304530) — \"When the agent uses the read task tool, things get stuck on 'Terminal is awaiting input'\".\n\n## Setup\n\n1. Clone this repo\n2. Create a sibling empty directory: `mkdir ../taskoutput2`\n3. Open `taskoutput.code-workspace` in VS Code Insiders (multi-root workspace)\n4. Run the **Dev** build task (`Cmd+Shift+B`) — starts 3 background tasks:\n   - **BB nREPL** — a fake long-running process (`tail -f /dev/null`)\n   - **Watch Unit Tests** — loops fake test output every ~7s\n   - **Watch E2E Tests** — loops fake test output every ~10s\n\n## Reproducing the bug\n\n1. Wait for all 3 tasks to be running in the terminal panel\n2. In Copilot Chat, ask the agent to delegate checking task output to a subagent, e.g.:\n   \u003e \"Ask a subagent to check the test watcher status\"\n3. The subagent calls `get_task_output` and gets stuck\n\n### Key observations\n\n- **Direct** `get_task_output` calls from the main agent work fine\n- **Subagent** calls to `get_task_output` get stuck consistently\n- When stuck, the status bar shows \"The task `Watch Unit Tests` is already running\" — suggesting the tool call may be dispatched as a task **run** rather than a task output **read** from subagent context\n- Multi-root workspace setup appears to be a factor\n- Background tasks producing ongoing output (the loops) may contribute\n\n## Project structure\n\n```\ntaskoutput/\n├── .vscode/\n│   └── tasks.json          # 3 background tasks + compound \"Dev\" task\n├── taskoutput.code-workspace  # Multi-root: this dir + empty ../taskoutput2\n└── README.md\n```\n\n## Environment\n\n- VS Code Insiders 1.113.x\n- macOS (Apple Silicon)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpez%2Fvscode-task-output-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpez%2Fvscode-task-output-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpez%2Fvscode-task-output-repro/lists"}