Commit 81f89b3
ci: fix Idris2/Agda required-check deadlock (pass-through shim) (#256)
ci: fix required-check deadlock on Idris2/Agda workflows (pass-through
shim)
"Type-check Idris2 ABI definitions" (idris2-abi-ci.yml) and "Type-check
Agda
proofs" (agda-meta-checker.yml) are REQUIRED status checks but are
path-filtered.
A path-filtered REQUIRED check deadlocks every PR that does not touch
its paths:
branch protection waits for a run that never starts, so echidna's main
is
unmergeable via normal PR flow.
Fix (pass-through shim): drop the pull_request paths-filter so each job
ALWAYS
runs and the required check always reports. A "Detect relevant changes"
step
reads the PR's changed files via the GitHub API and gates the heavy
steps -- the
real type-check runs only when the relevant sources change, otherwise
the job
passes through in seconds. push triggers stay scoped to main
(paths-filtered),
so post-merge behaviour is unchanged and feature-branch pushes don't
double-fire
alongside the pull_request run. Job names are preserved so the existing
required-status contexts still match. agda gains pull-requests:read for
the
detector.
(The SHA-pin half of the original work merged separately as cb5e41a;
this lands
only the deadlock fix, which was stranded on the merged branch.)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e779bb0 commit 81f89b3
2 files changed
Lines changed: 69 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
15 | | - | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
36 | 62 | | |
| 63 | + | |
37 | 64 | | |
38 | 65 | | |
39 | 66 | | |
40 | 67 | | |
41 | 68 | | |
42 | 69 | | |
| 70 | + | |
43 | 71 | | |
44 | 72 | | |
45 | 73 | | |
| |||
48 | 76 | | |
49 | 77 | | |
50 | 78 | | |
| 79 | + | |
51 | 80 | | |
52 | 81 | | |
53 | 82 | | |
| |||
56 | 85 | | |
57 | 86 | | |
58 | 87 | | |
| 88 | + | |
59 | 89 | | |
60 | 90 | | |
61 | 91 | | |
| |||
65 | 95 | | |
66 | 96 | | |
67 | 97 | | |
| 98 | + | |
68 | 99 | | |
69 | 100 | | |
70 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
32 | 59 | | |
| 60 | + | |
33 | 61 | | |
34 | 62 | | |
35 | 63 | | |
| |||
54 | 82 | | |
55 | 83 | | |
56 | 84 | | |
| 85 | + | |
57 | 86 | | |
58 | 87 | | |
59 | 88 | | |
60 | 89 | | |
61 | 90 | | |
62 | 91 | | |
63 | 92 | | |
| 93 | + | |
64 | 94 | | |
65 | 95 | | |
66 | 96 | | |
| |||
71 | 101 | | |
72 | 102 | | |
73 | 103 | | |
| 104 | + | |
74 | 105 | | |
75 | 106 | | |
76 | 107 | | |
| |||
88 | 119 | | |
89 | 120 | | |
90 | 121 | | |
| 122 | + | |
91 | 123 | | |
92 | 124 | | |
93 | 125 | | |
| |||
0 commit comments