ProjectEvergreen/greenwood

windows builds fail very intermittently on various issues

オープン

#1,585 opened on 2025/09/27

 (4 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (15 件のフォーク)auto 404
CLIbuggood first issuev0.35.0

Repository metrics

Stars
 (132 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド