mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-02 07:43:42 +08:00
The macOS lane of pull requests and pushes to main runs the darwin suite in three slices. Each slice runs differential.test.ts over a third of the corpus while the darwin contracts run beside it. vitest runs one file's cases in sequence, so a slice's corpus time is the sum of its case times: in three green main runs, 587-891 s (plain) and 800-1,731 s (sanitized), on 3-core runners whose contracts task ends after 46-180 s. ciTestPlan now runs slice i of n as case shards 2i-1 and 2i of 2n in two vitest processes: the first beside the side queue, the second in the side queue after the darwin contracts. The halves of all slices are the case shards of 2n slices, so every program still runs once. The comment above darwinFiles now says which macOS suite each CI event runs: pull requests and pushes to main run the darwin suite, and the nightly schedule and manual runs with macos_full run the full suite.