ProjectEvergreen/greenwood

windows builds fail very intermittently on various issues

Offen

#1.585 geöffnet am 27.09.2025

 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (15 Forks)auto 404
CLIbuggood first issuev0.35.0

Repository-Metriken

Stars
 (132 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 25T 20h) (29 gemergte PRs in 30 T)

Beschreibung

What happened?

The Greenwood monorepo CI for Windows fails intermittently every once in a while on this error

node:internal/fs/promises:623
  return await PromisePrototypeThen(
         ^

Error: EBUSY: resource busy or locked, copyfile 'D:\a\greenwood\greenwood\www\assets\link.png' -> 'D:\a\greenwood\greenwood\public\assets\link.1200825667.png'
    at async Object.copyFile (node:internal/fs/promises:623:10) {
  errno: -4082,
  code: 'EBUSY',
  syscall: 'copyfile',
  path: 'D:\\a\\greenwood\\greenwood\\www\\assets\\link.png',
  dest: 'D:\\a\\greenwood\\greenwood\\public\\assets\\link.1200825667.png'
}

Node.js v22.19.0

Was reported in Discord a while ago too

Steps to reproduce

Environment

  • NodeJS
  • (only?) Windows

Additional Context

Would be good to at least know what causes the error, as it seems something exclusive to Windows. maybe it's just flaky CI? (though I think I have seen this once or twice when running in Parallels)?

Couple other issues being tracked here

  1. https://github.com/ProjectEvergreen/greenwood/pull/1573#issuecomment-3393334134
  2. https://github.com/ProjectEvergreen/greenwood/pull/1776
  3. https://github.com/ProjectEvergreen/greenwood/actions/runs/31270673751/job/93138010596
  4. https://github.com/ProjectEvergreen/greenwood/actions/runs/31927907196/job/95118216412

Contributor Guide