Commit 2e295f8
committed
ci: cap ecosystem format parallelism to fix transient walk error
the formatter ecosystem check intermittently failed with a single project
error — `ruff format --preview` emitting many pathless `No such file or
directory (os error 2)` from the parallel file walk on one large project (a
different one each run: ibis, then airflow).
root cause is load: ruff-ecosystem defaults to 50 concurrent projects, each
running a 12-thread `buff format` walk plus git clone/reset. on the fork's
small `ubuntu-latest` runner this massively oversubscribes cpu and fs and the
parallel walk transiently races; astral's 32-core depot runner absorbs it, so
upstream stays green. the walker code itself is byte-identical to upstream.
add a `--max-parallelism` flag to the vendored ruff-ecosystem cli (default
unchanged at 50) and pass `--max-parallelism 2` for the two `format` runs.
the read-only `check` runs never errored, so they keep the default.
not reproducible locally on macos (linux/load-specific); validated the flag
plumbing end-to-end. the 360-minute job budget absorbs the slower run.1 parent d7e766a commit 2e295f8
2 files changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
712 | 720 | | |
713 | 721 | | |
714 | 722 | | |
715 | 723 | | |
716 | 724 | | |
717 | 725 | | |
718 | | - | |
| 726 | + | |
719 | 727 | | |
720 | 728 | | |
721 | 729 | | |
| |||
728 | 736 | | |
729 | 737 | | |
730 | 738 | | |
731 | | - | |
| 739 | + | |
732 | 740 | | |
733 | 741 | | |
734 | 742 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
154 | 165 | | |
155 | 166 | | |
156 | 167 | | |
| |||
0 commit comments