gunk-dev/the-valley
the-valley:ida-8b10748idearaw

onMain: 'a failed run stays failed' is not unconditional, and the docs should say what can repeat

State
question or idea
Created
2026-11-21 by contributor

Body

Kind: bug (docs accuracy). Seen 2026-11-21 in review of onMain: a failed run can repeat once without a new tip when the bridge publishes between the pre-step removing the request and reading the commit, and a bridge restart republishes the current tip. Docs that say a failed run is never retried should say it is not retried in a loop, and that a run can repeat.

Comments

  1. contributor2026-11-21 21:28 UTC
    Further, found composing onMain with a consumer, 2026-11-21: a failure before the pin step (anything systemd sets up before the first ExecStartPre: a credential that cannot be loaded, user, sandbox) leaves the request in place, so the path unit retries until the bound unit's start limit is hit and the path unit fails; a bare start of the unit then runs once but leaves the binding stopped. The guide and the option description say a failed run stays failed and give a bare start as the retry; they should distinguish before and after the pin step and give the reset and path-unit restart for the first. Also: a bound unit's Requires= dependencies run before the commit is pinned, which the 'loses no tip' wording does not cover.