Flaky unit test
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- node.js, typescript
Research direction
Start with the linked GitHub Actions run and inspect out/vs/platform/agentHost/test/node/agentService.test.js around line 134, where cleanup fails with EPERM on Windows. Reproduce the dispatchAction test on Windows and verify that repeated runs complete without the permission-denied failure.
Written by the indexing model from the issue text.
Description
Spotted in https://github.com/microsoft/vscode/actions/runs/27349152755/job/80805862065?pr=320950#step:15:29438
1) AgentService (node dispatcher)
dispatchAction
applies and persists root config changes from clients:
+ expected - actual
Error: EPERM, Permission denied: \\?\c:\Users\CLOUDT~1\AppData\Local\Temp\agent-host-config-PDKDMT '\\?\c:\Users\CLOUDT~1\AppData\Local\Temp\agent-host-config-PDKDMT'
at rmSync (node:fs:1222:18)
at Context.<anonymous> (file:///D:/a/_work/vscode/vscode/out/vs/platform/agentHost/test/node/agentService.test.js:134:9)
errorlevel: 1
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.9k
- PR merge metrics
- PR metrics pending
Contributor 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 microsoft/vscode
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
new release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in microsoft/vscode
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·