Commit 70ac6f8
fix(ci): real root cause — drop
`timeout` is a GNU coreutils binary and does NOT exist on macOS by default.
Every notarytool info poll therefore failed instantly with command-not-found,
which was swallowed by `2>/dev/null` and replaced with the synthetic
{"status":"poll_error"} sentinel. Result: 40 consecutive poll_errors,
zero diagnostics, and the loop always exhausted its cap.
Fix:
• Remove the `timeout 90` wrapper. `notarytool info` is a short HTTPS call.
• Capture notarytool stderr to a temp file instead of /dev/null, and print
it whenever a poll fails so future hangs are debuggable.
• Keep the 60-minute poll cap.
This is the actual reason every v2.2.0 Release run has failed, regardless
of the cap size or other tweaks.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>timeout wrapper around notarytool info1 parent 0f08fe1 commit 70ac6f8
1 file changed
Lines changed: 23 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
231 | | - | |
| 233 | + | |
| 234 | + | |
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
235 | | - | |
236 | | - | |
| 238 | + | |
237 | 239 | | |
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
244 | 259 | | |
245 | 260 | | |
246 | 261 | | |
| |||
0 commit comments