Repository navigation
Commit b10f77d
fix(coil): compute the build-counter offset in bash, not in an expression (#71)
GitHub's expression syntax has NO arithmetic operators — the documented list stops at comparison
and logic — so `${{ github.run_number + 100 }}` did not evaluate to 101, it failed to parse and
took the whole workflow file down with it. The symptom is deliberately unhelpful: a run appears
against the push, contains no jobs, and reports only "this run likely failed because of a workflow
file issue". YAML parsers accept it, so nothing local catches it.
The offset moves into the run block, where the step already has a shell. The step now also asserts
the resolved counter is above 26, the last pre-rename published build, because the failure this
offset exists to prevent — every installed client skipping forever — is silent, and an offset that
silently resolved to 0 or empty would reproduce it exactly.
Caught by CI on the first push of this branch.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent af7d90b commit b10f77d
2 files changed
Lines changed: 33 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
105 | 122 | | |
106 | 123 | | |
107 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
72 | 83 | | |
73 | 84 | | |
74 | | - | |
| 85 | + | |
| 86 | + | |
75 | 87 | | |
76 | 88 | | |
77 | 89 | | |
| |||
0 commit comments