Commit 3beda24
committed
ci(deploy-runner,deploy-api): never skip build+deploy on push (force-push edge)
Both workflows previously fell through to a 'workflow only — SKIP
build + deploy' branch when dorny/paths-filter saw an empty diff
against github.event.before. That assumption — empty diff → safe
to skip — breaks on a force-push rebase, where event.before is the
previous force-push head (also has the fix) but the actually-deployed
binary on Tokyo is from an older state without it. Result: validate's
head commit advertises 'fix(runner): ...' but the Tokyo runner serves
the old binary, and test_exec_on_stopped_box_is_typed_error keeps
returning 500 'Handle invalidated after stop()' even though apps/
runner/pkg/api/controllers/boxlite_exec.go on the head clearly has
the IsStopped / IsInvalidState classification.
Always build + deploy on every push (or non-push event). The
libboxlite_changed signal in deploy-runner stays narrowed because it
controls whether build_c_sdk rebuilds .a from source vs fetches the
tagged-release tarball — that optimization is still safe to gate.
The redeploy_current and prev_run_id short-circuits also still apply.1 parent 510f487 commit 3beda24
2 files changed
Lines changed: 21 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
138 | 145 | | |
139 | 146 | | |
140 | | - | |
141 | | - | |
142 | 147 | | |
143 | 148 | | |
144 | | - | |
145 | | - | |
146 | 149 | | |
147 | | - | |
148 | | - | |
149 | | - | |
| 150 | + | |
150 | 151 | | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
181 | 189 | | |
182 | 190 | | |
183 | 191 | | |
184 | 192 | | |
185 | 193 | | |
186 | | - | |
187 | | - | |
| 194 | + | |
| 195 | + | |
188 | 196 | | |
189 | 197 | | |
190 | 198 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| |||
0 commit comments