• Will Chen's avatar
    fix: add retry logic to npm ci for Windows CI flakiness (#2657) · 3109c842
    Will Chen 提交于
    ## Summary
    - Windows CI builds intermittently fail during `npm ci` with
    `EBUSY`/`EPERM` errors caused by file locking (antivirus, indexing
    services)
    - Added a 3-attempt retry loop with 10s delay and `node_modules` cleanup
    between attempts
    - Applied to both the `build` and `e2e-tests` jobs in the CI workflow
    
    ## Test plan
    - [x] Lint passes
    - [x] Type checks pass
    - [x] Unit tests pass (810/810)
    - Verify the next Windows CI run completes the `npm ci` step
    successfully
    
    #skip-bugbot
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Add retry logic to npm ci on Windows runners to handle intermittent
    EBUSY/EPERM file locks. This stabilizes the build and e2e-tests jobs.
    
    - **Bug Fixes**
      - Retry npm ci up to 3 times with a 10s delay.
      - Clean node_modules between attempts.
    - Implemented via scripts/npm-ci-retry.sh and applied to both build and
    e2e-tests jobs.
    
    <sup>Written for commit 79bc6ede3b90db4068369e59853144170547aaf0.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2657"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    ---------
    Co-authored-by: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    3109c842
名称
最后提交
最后更新
..
README.md 正在载入提交数据...
ci-cleanup-macos.sh 正在载入提交数据...
clear_console_logs.py 正在载入提交数据...
generate-playwright-summary.js 正在载入提交数据...
npm-ci-retry.sh 正在载入提交数据...
pr-status-labeler.js 正在载入提交数据...
tsconfig.json 正在载入提交数据...
verify-release-assets.js 正在载入提交数据...