fix: two seams the poll left behind #37
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/poll-seams"
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?
Checklist
Problem
A failing poll repeated itself.
M.failechoed unconditionally, and thequietflag from #34 only suppressed the progress message. Lose the networkwith a pending list open and you get an error every ten seconds forever — the
checks can never settle, so the timer never stops. The content survives via
kept, so it was pure noise.<CR>on a step saidno logs for this check. #35 put a job's steps intob:ci.checksso the existing poll would notice them, which was cheap reuse butmade
<CR>treat a step as a check. Steps have nojob_idand nourl, soyou got a message about a check that was really a step.
Solution
A failing poll speaks once and stays quiet until one succeeds, so a broken
network says so and then stops.
Ralways reports, since you asked.A job now says it is unfinished with
b:ci.pendingrather than by disguisingits steps as checks.
M.enteralready returns early when there are no checks,so
<CR>on a step does nothing at all — which is right, since there isnothing to open.
The poll's condition moves into
unsettled(), which reads better than theloop it replaces: a job says so outright, a list is asked check by check.