feat(retry): also retry a step the runner's resolver failed #17
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/retry-transient-network-failures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed on whiskerless run 35055059591:
brew testbootstrapped Homebrew's Ruby harness and the macOS runner could not resolve rubygems.org. The failure landed in one of our named steps, so the step-name rule refused the retry and the run stayed red until Renovate pushed again.The discriminator now also reads each failed job's log. A step of ours is retryable only when its closing lines, bounded to its own timestamps with boundary seconds excluded, carry an exact resolver-failure spelling AND name a host CI is known to reach. Tests pin the refusals: a log printed by another step, a resolver error the step survived, a typo'd hostname, timeouts and refusals, a missing log, and a genuine failure elsewhere in the run.
Consumers need
gh api --allow-escape-sequences .../jobs/<id>/logsper failed job and to pass the logs directory; that lands with the pin bump in each.