Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
"Re-run test in a folder whose name contains unusual chars" test is flaky | GoodFirstPicks

"Re-run test in a folder whose name contains unusual chars" test is flaky

nodejs/node 6 comments 1mo ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeTest focusedNode.jsJavaScript

Why this is a good first issue

Flaky test involving debugger synchronization with unusual directory names.

AI Summary

The test fails intermittently due to a timing race in debugger synchronization, particularly with unusual directory names. The issue requires investigating and fixing the synchronization logic in `test/common/debugger.js`. There's an existing PR (#61773) attempting a mitigation, but root cause isn't confirmed.

Issue Description

Test

Re-run test in a folder whose name contains unusual chars

Platform

macOS ARM64

Console output

/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/common/debugger.js:92
        const timeoutErr = new Error(`Timeout (${TIMEOUT}) while waiting for ${pattern}`);
                           ^

Error: Timeout (15000) while waiting for /(?:assert|break|break on start|debugCommand|exception|other|promiseRejection|step) in/i

Build links

  • https://github.com/nodejs/node/actions/runs/21828756273/job/62980757504
  • https://github.com/nodejs/node/actions/runs/21785139333/job/62855280668
  • https://github.com/nodejs/node/actions/runs/21772762644/job/62823422649
  • https://github.com/nodejs/node/actions/runs/21760776466/job/62783508438
  • https://github.com/nodejs/node/actions/runs/21753799897/job/62758397337

Additional information

I saw https://github.com/nodejs/node/pull/61708/commits sporadically failing in CI for "Test macOS / test-macOS (pull_request)"

GitHub Labels

macosflaky-test

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • timing race
  • debugger synchronization
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedyes