• Will Chen's avatar
    self-hosted mac mini for wwwillchen* PRs (#2546) · 1547f5fb
    Will Chen 提交于
    #skip-bb
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2546"
    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 -->
    
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Route PRs from wwwillchen* to a self-hosted macOS ARM64 runner (Mac
    mini) and dynamically set the CI matrix; all other authors keep
    GitHub-hosted macOS/Windows with sharded e2e. Also simplifies formatting
    in lint-staged and bumps the package-lock version.
    
    - **New Features**
    - Detect privileged authors (wwwillchen, wwwillchen-bot) and run
    build/e2e on self-hosted macOS ARM64 with no sharding.
      - For others, run on GitHub-hosted macOS + Windows with 4 e2e shards.
    - Expose dynamic matrix outputs (build_os, e2e_os, e2e_shard,
    e2e_shard_total) and use fromJSON for runner labels.
    
    - **Refactors**
    - e2e now also depends on check-changes; E2E step name reflects dynamic
    shard total.
    - lint-staged: run oxfmt on all files with
    --no-error-on-unmatched-pattern.
      - package-lock updated to 0.36.0-beta.2.
    
    <sup>Written for commit 5d99b98267104283d9dce0dda983c6305ab37599.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    1547f5fb