Commit 32be6ef
committed
ci: narrow dorny diff to current push + drop oversized peer caches
Two issues compounded into bare-rn rebuilding on a CV-only push:
1. dorny defaulted to comparing against the PR base, so each push re-evaluated
the cumulative PR diff and pulled every app whose filter ever matched into
the matrix. Setting `base: event.before || pull_request.base.sha` restricts
the diff to just the current push (with PR-base fallback for opened /
reopened / ready_for_review).
2. The Gradle (~3 GB) and CocoaPods (~500 MB × 5 iOS apps) caches saved during
a single run, plus setup-java's redundant gradle cache, pushed the repo over
GitHub's 10 GB cache quota and evicted the tiny (~250 B) build markers under
LRU. Cells appeared in the matrix on subsequent pushes (legitimately, per
PR-base diff) but missed the cache and rebuilt. Dropping these peer caches
so markers survive — markers gate entire build cells, which is worth more
than the 3-10 min those caches saved on warm-up.1 parent edf42ab commit 32be6ef
3 files changed
Lines changed: 14 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
97 | 88 | | |
98 | 89 | | |
99 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
81 | 74 | | |
82 | 75 | | |
83 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
0 commit comments